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 TypeMethodDescriptionlonglongCGEvent()longdoubledeltaX()doubledeltaY()static NSEvententerExitEventWithType(long type, NSPoint location, long flags, double time, long wNum, NSGraphicsContext context, long eNum, long tNum, long data) shortkeyCode()doublelongstatic NSPointstatic NSEventotherEventWithType(long type, NSPoint location, long flags, double time, long wNum, NSGraphicsContext context, short subtype, long d1, long d2) floatrotation()doubletouchesMatchingPhase(long phase, NSView view) longtype()window()Methods inherited from class 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, writeSelectionToPasteboardMethods inherited from class 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
-