NSEvent
Authors
- Scott Christley(
scottc@net-community.com
)
-
- Ovidiu Predescu(
ovidiu@net-community.com
)
-
- Felipe A. Rodriguez(
far@ix.netcom.com
)
-
The event class
Copyright: (C) 1996 Free Software Foundation, Inc.
Software documentation for the NSEvent class
Declared: AppKit/NSEvent.h
Conform: NSCoding
Conform: NSCopying
enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:
+ (NSEvent*) enterExitEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context eventNumber: (int)eventNum trackingNumber: (int)trackingNum userData: (void*)userData;
keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:
+ (NSEvent*) keyEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context characters: (NSString*)keys charactersIgnoringModifiers: (NSString*)ukeys isARepeat: (BOOL)repeatKey keyCode: (unsigned short)code;
mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:
+ (NSEvent*) mouseEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context eventNumber: (int)eventNum clickCount: (int)clickNum pressure: (float)pressureValue;
mouseLocation
+ (NSPoint) mouseLocation;
otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:
+ (NSEvent*) otherEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context subtype: (short)subType data1: (int)data1 data2: (int)data2;
startPeriodicEventsAfterDelay:withPeriod:
+ (void) startPeriodicEventsAfterDelay: (NSTimeInterval)delaySeconds withPeriod: (NSTimeInterval)periodSeconds;
stopPeriodicEvents
+ (void) stopPeriodicEvents;
characters
- (NSString*) characters;
charactersIgnoringModifiers
- (NSString*) charactersIgnoringModifiers;
clickCount
- (int) clickCount;
context
- (NSGraphicsContext*) context;
data1
- (int) data1;
data2
- (int) data2;
deltaX
- (float) deltaX;
deltaY
- (float) deltaY;
deltaZ
- (float) deltaZ;
eventNumber
- (int) eventNumber;
isARepeat
- (BOOL) isARepeat;
keyCode
- (unsigned short) keyCode;
locationInWindow
- (NSPoint) locationInWindow;
modifierFlags
- (unsigned int) modifierFlags;
pressure
- (float) pressure;
subtype
- (short) subtype;
timestamp
- (NSTimeInterval) timestamp;
trackingNumber
- (int) trackingNumber;
type
- (NSEventType) type;
userData
- (void*) userData;
window
- (NSWindow*) window;
windowNumber
- (int) windowNumber;