org.rococoa.cocoa.iokit
Class NXEvent

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<NXEvent,NXEvent.ByValue,NXEvent.ByReference>
          extended by org.rococoa.cocoa.iokit.NXEvent
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<NXEvent,NXEvent.ByValue,NXEvent.ByReference>>
Direct Known Subclasses:
NXEvent.ByReference, NXEvent.ByValue

public class NXEvent
extends Structure<NXEvent,NXEvent.ByValue,NXEvent.ByReference>

native declaration : /System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h
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 NXEvent.ByReference
           
static class NXEvent.ByValue
           
static class NXEvent.location_struct
           
 
Field Summary
 NXEventData data
          type-dependent data
C type : NXEventData
 int ext_pid
           
 int flags
           
 NXEvent.location_struct location
           
 long service_id
           
 long time
           
 int type
           
 int window
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
NXEvent()
           
NXEvent(int type, NXEvent.location_struct location, long time, int flags, int window, long service_id, int ext_pid, NXEventData data)
           
 
Method Summary
static NXEvent[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

type

public int type

location

public NXEvent.location_struct location

time

public long time

flags

public int flags

window

public int window

service_id

public long service_id

ext_pid

public int ext_pid

data

public NXEventData data
type-dependent data
C type : NXEventData

Constructor Detail

NXEvent

public NXEvent()

NXEvent

public NXEvent(int type,
               NXEvent.location_struct location,
               long time,
               int flags,
               int window,
               long service_id,
               int ext_pid,
               NXEventData data)
Parameters:
type - An event type from above
location - C type : location_struct
time - time since launch
flags - key state flags
window - window number of assigned window
service_id - service id
ext_pid - external pid
data - type-dependent data
C type : NXEventData
Method Detail

newArray

public static NXEvent[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.