Class NSEvent


public class NSEvent extends NSObject
  • Constructor Details

    • NSEvent

      public NSEvent()
    • NSEvent

      public NSEvent(long id)
    • NSEvent

      public NSEvent(id id)
  • Method Details

    • CGEvent

      public long CGEvent()
    • buttonNumber

      public long buttonNumber()
    • characters

      public NSString characters()
    • charactersIgnoringModifiers

      public NSString 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

      public NSPoint locationInWindow()
    • magnification

      public double magnification()
    • modifierFlags

      public long modifierFlags()
    • mouseLocation

      public static NSPoint 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

      public NSSet touchesMatchingPhase(long phase, NSView view)
    • type

      public long type()
    • window

      public NSWindow window()