org.rococoa.cocoa.iokit
Class _NXEvent

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by 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.


Nested Class Summary
static class _NXEvent.ByReference
           
static class _NXEvent.ByValue
           
static class _NXEvent.location_struct
           
 
Field Summary
 NXEventData data
           
 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, CALCULATE_SIZE
 
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
 _NXEvent.ByReference byReference()
           
 _NXEvent.ByValue byValue()
           
 _NXEvent 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

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
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
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
Method Detail

byReference

public _NXEvent.ByReference byReference()

byValue

public _NXEvent.ByValue byValue()

clone

public _NXEvent clone()
Overrides:
clone in class Object