org.rococoa.cocoa.iokit
Class _NXEvent
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.iokit._NXEvent
- Direct Known Subclasses:
- _NXEvent.ByReference, _NXEvent.ByValue
public class _NXEvent
- 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.
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 |
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
_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
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
byReference
public _NXEvent.ByReference byReference()
byValue
public _NXEvent.ByValue byValue()
clone
public _NXEvent clone()
- Overrides:
clone
in class Object