|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Pointer.Void
com.jniwrapper.macosx.cocoa.Id
com.jniwrapper.macosx.cocoa.CObject
com.jniwrapper.macosx.cocoa.nsobject.NSObject
com.jniwrapper.macosx.cocoa.nsevent.NSEvent
This class represents NSEvent class.
See the class documentation at the Apple's site: NSEvent
| Field Summary |
| Fields inherited from class com.jniwrapper.macosx.cocoa.CObject |
_fields |
| Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
| Constructor Summary | |
NSEvent()
|
|
NSEvent(boolean autorelease)
Contructs the NSEvent class with the autorelease option on. |
|
NSEvent(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSEvent class from pointer. |
|
NSEvent(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the NSEvent class with static constructor. |
|
| Method Summary | |
com.jniwrapper.Int |
buttonNumber()
|
com.jniwrapper.Pointer.Void |
characters()
|
com.jniwrapper.Pointer.Void |
charactersIgnoringModifiers()
|
com.jniwrapper.Int |
clickCount()
|
com.jniwrapper.Pointer.Void |
context()
|
Id |
copyWithZone(NSZone zone)
|
com.jniwrapper.Int |
data1()
|
com.jniwrapper.Int |
data2()
|
com.jniwrapper.SingleFloat |
deltaX()
|
com.jniwrapper.SingleFloat |
deltaY()
|
com.jniwrapper.SingleFloat |
deltaZ()
|
void |
encodeWithCoder(NSCoder aCoder)
|
com.jniwrapper.Int |
eventNumber()
|
protected void |
init(com.jniwrapper.Parameter[] fields)
|
Id |
initWithCoder(NSCoder aDecoder)
|
com.jniwrapper.Bool |
isARepeat()
|
com.jniwrapper.UInt16 |
keyCode()
|
NSPoint |
locationInWindow()
|
com.jniwrapper.UInt |
modifierFlags()
|
com.jniwrapper.SingleFloat |
pressure()
|
static com.jniwrapper.Pointer.Void |
static_enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
com.jniwrapper.Int eNum,
com.jniwrapper.Int tNum,
com.jniwrapper.Pointer.Void data)
This method represents the enterExitEventWithType() method of the NSEvent Objective-C class. |
static com.jniwrapper.Pointer.Void |
static_keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
java.lang.String keys,
java.lang.String ukeys,
boolean flag,
com.jniwrapper.UInt16 code)
This method represents the keyEventWithType() method of the NSEvent Objective-C class. |
static com.jniwrapper.Pointer.Void |
static_mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
com.jniwrapper.Int eNum,
com.jniwrapper.Int cNum,
com.jniwrapper.SingleFloat pressure)
This method represents the mouseEventWithType() method of the NSEvent Objective-C class. |
static NSPoint |
static_mouseLocation()
|
static com.jniwrapper.Pointer.Void |
static_otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
com.jniwrapper.ShortInt subtype,
com.jniwrapper.Int d1,
com.jniwrapper.Int d2)
This method represents the otherEventWithType() method of the NSEvent Objective-C class. |
static void |
static_startPeriodicEventsAfterDelay_withPeriod(NSTimeInterval delay,
NSTimeInterval period)
This method represents the startPeriodicEventsAfterDelay() method of the NSEvent Objective-C class. |
static void |
static_stopPeriodicEvents()
|
com.jniwrapper.ShortInt |
subtype()
|
NSTimeInterval |
timestamp()
|
com.jniwrapper.Int |
trackingNumber()
|
NSEventType |
type()
|
com.jniwrapper.Pointer.Void |
userData()
|
com.jniwrapper.Pointer.Void |
window()
|
com.jniwrapper.Int |
windowNumber()
|
| Methods inherited from class com.jniwrapper.macosx.cocoa.CObject |
getClassName |
| Methods inherited from class com.jniwrapper.macosx.cocoa.Id |
clone |
| Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
| Methods inherited from class com.jniwrapper.Parameter |
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NSEvent()
public NSEvent(boolean autorelease)
NSEvent class with the autorelease option on.
autorelease - public NSEvent(com.jniwrapper.Pointer.Void instancePtr)
NSEvent class from pointer.
instancePtr -
public NSEvent(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
NSEvent class with static constructor.
methodName - parameters - | Method Detail |
protected void init(com.jniwrapper.Parameter[] fields)
init in class NSObjectpublic com.jniwrapper.SingleFloat deltaX()
public com.jniwrapper.SingleFloat deltaZ()
public com.jniwrapper.Int windowNumber()
public com.jniwrapper.Int clickCount()
public com.jniwrapper.Int trackingNumber()
public static com.jniwrapper.Pointer.Void static_enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
com.jniwrapper.Int eNum,
com.jniwrapper.Int tNum,
com.jniwrapper.Pointer.Void data)
enterExitEventWithType() method of the NSEvent Objective-C class.
type - location - flags - time - wNum - context - eNum - tNum - data -
public static com.jniwrapper.Pointer.Void static_mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
com.jniwrapper.Int eNum,
com.jniwrapper.Int cNum,
com.jniwrapper.SingleFloat pressure)
mouseEventWithType() method of the NSEvent Objective-C class.
type - location - flags - time - wNum - context - eNum - cNum - pressure -
public com.jniwrapper.Bool isARepeat()
public void encodeWithCoder(NSCoder aCoder)
encodeWithCoder in interface NSCodingProtocolpublic Id initWithCoder(NSCoder aDecoder)
initWithCoder in interface NSCodingProtocolpublic Id copyWithZone(NSZone zone)
copyWithZone in interface NSCopyingProtocolpublic NSPoint locationInWindow()
public com.jniwrapper.SingleFloat deltaY()
public com.jniwrapper.Pointer.Void context()
public com.jniwrapper.Int data1()
public NSTimeInterval timestamp()
public com.jniwrapper.SingleFloat pressure()
public com.jniwrapper.Pointer.Void window()
public static void static_startPeriodicEventsAfterDelay_withPeriod(NSTimeInterval delay,
NSTimeInterval period)
startPeriodicEventsAfterDelay() method of the NSEvent Objective-C class.
delay - period -
public static com.jniwrapper.Pointer.Void static_otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
com.jniwrapper.ShortInt subtype,
com.jniwrapper.Int d1,
com.jniwrapper.Int d2)
otherEventWithType() method of the NSEvent Objective-C class.
type - location - flags - time - wNum - context - subtype - d1 - d2 -
public NSEventType type()
public com.jniwrapper.UInt modifierFlags()
public com.jniwrapper.UInt16 keyCode()
public static NSPoint static_mouseLocation()
public com.jniwrapper.Int data2()
public com.jniwrapper.Pointer.Void characters()
public com.jniwrapper.Int buttonNumber()
public com.jniwrapper.Pointer.Void userData()
public com.jniwrapper.ShortInt subtype()
public com.jniwrapper.Pointer.Void charactersIgnoringModifiers()
public static void static_stopPeriodicEvents()
public static com.jniwrapper.Pointer.Void static_keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode(NSEventType type,
NSPoint location,
com.jniwrapper.UInt flags,
NSTimeInterval time,
com.jniwrapper.Int wNum,
NSGraphicsContext context,
java.lang.String keys,
java.lang.String ukeys,
boolean flag,
com.jniwrapper.UInt16 code)
keyEventWithType() method of the NSEvent Objective-C class.
type - location - flags - time - wNum - context - keys - ukeys - flag - code -
public com.jniwrapper.Int eventNumber()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||