org.rococoa.cocoa.iokit
Class NXEvent
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<NXEvent,NXEvent.ByValue,NXEvent.ByReference>
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.
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 |
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
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
newArray
public static NXEvent[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.