org.rococoa.cocoa.iokit
Class NXParsedKeyMapping

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.iokit.NXParsedKeyMapping
Direct Known Subclasses:
NXParsedKeyMapping.ByReference, NXParsedKeyMapping.ByValue

public class NXParsedKeyMapping
extends com.ochafik.lang.jnaerator.runtime.Structure

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NXParsedKeyMapping.ByReference
           
static class NXParsedKeyMapping.ByValue
           
 
Field Summary
 byte[] keyBits
          For each keycode, low order bit says if the key
generates characters.
 ByteByReference[] keyDefs
           
 ByteByReference mapping
           
 int mappingLen
           
 int maxMod
           
 ByteByReference[] modDefs
          Pointers to where the list of keys for each modifiers bit begins,
or NULL.
 int numDefs
           
 int numSeqs
           
 int numSpecialKeys
           
 ByteByReference[] seqDefs
           
 short shorts
           
 short[] specialKeys
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
NXParsedKeyMapping()
           
 
Method Summary
 NXParsedKeyMapping.ByReference byReference()
           
 NXParsedKeyMapping.ByValue byValue()
           
 NXParsedKeyMapping clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

shorts

public short shorts

keyBits

public byte[] keyBits
For each keycode, low order bit says if the key
generates characters.
High order bit says if the key is assigned to a modifier bit.
The second to low order bit gives the current state of the key.


maxMod

public int maxMod

modDefs

public ByteByReference[] modDefs
Pointers to where the list of keys for each modifiers bit begins,
or NULL.


numDefs

public int numDefs

keyDefs

public ByteByReference[] keyDefs

numSeqs

public int numSeqs

seqDefs

public ByteByReference[] seqDefs

numSpecialKeys

public int numSpecialKeys

specialKeys

public short[] specialKeys

mapping

public ByteByReference mapping

mappingLen

public int mappingLen
Constructor Detail

NXParsedKeyMapping

public NXParsedKeyMapping()
Method Detail

byReference

public NXParsedKeyMapping.ByReference byReference()

byValue

public NXParsedKeyMapping.ByValue byValue()

clone

public NXParsedKeyMapping clone()
Overrides:
clone in class Object