Package org.eclipse.swt.internal.cocoa
Class NSEvent
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSEvent
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
CGEvent()
long
double
deltaX()
double
deltaY()
static NSEvent
enterExitEventWithType
(long type, NSPoint location, long flags, double time, long wNum, NSGraphicsContext context, long eNum, long tNum, long data) short
keyCode()
double
long
static NSPoint
static NSEvent
otherEventWithType
(long type, NSPoint location, long flags, double time, long wNum, NSGraphicsContext context, short subtype, long d1, long d2) float
rotation()
double
touchesMatchingPhase
(long phase, NSView view) long
type()
window()
Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSEvent
public NSEvent() -
NSEvent
public NSEvent(long id) -
NSEvent
-
-
Method Details
-
CGEvent
public long CGEvent() -
buttonNumber
public long buttonNumber() -
characters
-
charactersIgnoringModifiers
-
clickCount
public long clickCount() -
deltaX
public double deltaX() -
deltaY
public double deltaY() -
enterExitEventWithType
public static NSEvent enterExitEventWithType(long type, NSPoint location, long flags, double time, long wNum, NSGraphicsContext context, long eNum, long tNum, long data) -
keyCode
public short keyCode() -
locationInWindow
-
magnification
public double magnification() -
modifierFlags
public long modifierFlags() -
mouseLocation
-
otherEventWithType
public static NSEvent otherEventWithType(long type, NSPoint location, long flags, double time, long wNum, NSGraphicsContext context, short subtype, long d1, long d2) -
rotation
public float rotation() -
timestamp
public double timestamp() -
touchesMatchingPhase
-
type
public long type() -
window
-