|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSClass
org.rococoa.cocoa.foundation.NSObject._class_
org.rococoa.cocoa.appkit.NSEvent._class_
public abstract static class NSEvent._class_
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.rococoa.cocoa.foundation.NSObject |
---|
NSObject._class_ |
Nested classes/interfaces inherited from interface org.rococoa.ObjCClass |
---|
ObjCClass._Class |
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Field Summary |
---|
Fields inherited from interface org.rococoa.ObjCClass |
---|
CLASS |
Constructor Summary | |
---|---|
NSEvent._class_()
|
Method Summary | |
---|---|
abstract NSEvent |
alloc()
Original signature : +(id)alloc native declaration : NSObject.h:77 |
abstract double |
doubleClickInterval()
the time in which a second click must occur in order to be considered a doubleClick. |
abstract NSEvent |
enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData(int type,
NSPoint.ByValue location,
NSUInteger flags,
double time,
NSInteger wNum,
NSGraphicsContext context,
NSInteger eNum,
NSInteger tNum,
Pointer data)
Original signature : +(NSEvent*)enterExitEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) trackingNumber:(NSInteger) userData:(void*) native declaration : NSEvent.h:359 |
abstract NSEvent |
eventWithEventRef(Pointer eventRef)
+eventWithEventRef: returns an autoreleased NSEvent corresponding to the EventRef. |
abstract boolean |
isMouseCoalescingEnabled()
Original signature : +(BOOL)isMouseCoalescingEnabled native declaration : NSEvent.h:296 |
abstract NSEvent |
keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode(int type,
NSPoint.ByValue location,
NSUInteger flags,
double time,
NSInteger wNum,
NSGraphicsContext context,
NSString keys,
NSString ukeys,
boolean flag,
short code)
Original signature : +(NSEvent*)keyEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) characters:(NSString*) charactersIgnoringModifiers:(NSString*) isARepeat:(BOOL) keyCode:(unsigned short) native declaration : NSEvent.h:358 |
abstract double |
keyRepeatDelay()
the time for which a key must be held down in order to generate the first key repeat event. |
abstract double |
keyRepeatInterval()
the time between subsequent key repeat events. |
abstract NSEvent |
mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure(int type,
NSPoint.ByValue location,
NSUInteger flags,
double time,
NSInteger wNum,
NSGraphicsContext context,
NSInteger eNum,
NSInteger cNum,
float pressure)
apps will rarely create these objects Original signature : +(NSEvent*)mouseEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) clickCount:(NSInteger) pressure:(float) native declaration : NSEvent.h:357 |
abstract NSPoint.ByValue |
mouseLocation()
global mouse coordinates Original signature : +(NSPoint)mouseLocation native declaration : NSEvent.h:363 |
abstract NSEvent |
new_()
Original signature : +(id)new native declaration : NSObject.h:75 |
abstract NSEvent |
otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2(int type,
NSPoint.ByValue location,
NSUInteger flags,
double time,
NSInteger wNum,
NSGraphicsContext context,
short subtype,
NSInteger d1,
NSInteger d2)
Original signature : +(NSEvent*)otherEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) subtype:(short) data1:(NSInteger) data2:(NSInteger) native declaration : NSEvent.h:360 |
abstract NSUInteger |
pressedMouseButtons()
mouse buttons currently down. |
abstract void |
setMouseCoalescingEnabled(boolean flag)
Enable or disable coalescing of mouse movement events, including mouse moved, mouse dragged, and tablet events. |
abstract void |
startPeriodicEventsAfterDelay_withPeriod(double delay,
double period)
used for initial delay and periodic behavior in tracking loops Original signature : +(void)startPeriodicEventsAfterDelay:(NSTimeInterval) withPeriod:(NSTimeInterval) native declaration : NSEvent.h:353 |
abstract void |
stopPeriodicEvents()
Original signature : +(void)stopPeriodicEvents native declaration : NSEvent.h:354 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rococoa.ObjCObject |
---|
id |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
autorelease, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, zone |
Constructor Detail |
---|
public NSEvent._class_()
Method Detail |
---|
public abstract NSEvent eventWithEventRef(Pointer eventRef)
+(NSEvent*)eventWithEventRef:(const void*)
public abstract void setMouseCoalescingEnabled(boolean flag)
+(void)setMouseCoalescingEnabled:(BOOL)
public abstract boolean isMouseCoalescingEnabled()
+(BOOL)isMouseCoalescingEnabled
public abstract void startPeriodicEventsAfterDelay_withPeriod(double delay, double period)
+(void)startPeriodicEventsAfterDelay:(NSTimeInterval) withPeriod:(NSTimeInterval)
public abstract void stopPeriodicEvents()
+(void)stopPeriodicEvents
public abstract NSEvent mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure(int type, NSPoint.ByValue location, NSUInteger flags, double time, NSInteger wNum, NSGraphicsContext context, NSInteger eNum, NSInteger cNum, float pressure)
+(NSEvent*)mouseEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) clickCount:(NSInteger) pressure:(float)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic abstract NSEvent keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode(int type, NSPoint.ByValue location, NSUInteger flags, double time, NSInteger wNum, NSGraphicsContext context, NSString keys, NSString ukeys, boolean flag, short code)
+(NSEvent*)keyEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) characters:(NSString*) charactersIgnoringModifiers:(NSString*) isARepeat:(BOOL) keyCode:(unsigned short)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic abstract NSEvent enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData(int type, NSPoint.ByValue location, NSUInteger flags, double time, NSInteger wNum, NSGraphicsContext context, NSInteger eNum, NSInteger tNum, Pointer data)
+(NSEvent*)enterExitEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) trackingNumber:(NSInteger) userData:(void*)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic abstract NSEvent otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2(int type, NSPoint.ByValue location, NSUInteger flags, double time, NSInteger wNum, NSGraphicsContext context, short subtype, NSInteger d1, NSInteger d2)
+(NSEvent*)otherEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) subtype:(short) data1:(NSInteger) data2:(NSInteger)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic abstract NSPoint.ByValue mouseLocation()
+(NSPoint)mouseLocation
public abstract NSUInteger pressedMouseButtons()
+(NSUInteger)pressedMouseButtons
public abstract double doubleClickInterval()
+(NSTimeInterval)doubleClickInterval
public abstract double keyRepeatDelay()
+(NSTimeInterval)keyRepeatDelay
public abstract double keyRepeatInterval()
+(NSTimeInterval)keyRepeatInterval
public abstract NSEvent alloc()
NSObject._class_
+(id)alloc
alloc
in class NSObject._class_
public abstract NSEvent new_()
NSObject._class_
+(id)new
new_
in class NSObject._class_
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |