All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Event

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Event

public class Event
extends NativeObject
implements Coding
This class wraps the Objective-C class NSEvent.


Variable Index

 o AlphaShiftKeyMask
 o AlternateKeyMask
 o AnyEventmask
 o AppKitDefined
 o AppKitDefinedMask
 o ApplicationDefined
 o ApplicationDefinedMask
 o BeginFunctionKey
 o BreakFunctionKey
 o ClearDisplayFunctionKey
 o ClearLineFunctionKey
 o CommandKeyMask
 o ControlKeyMask
 o CursorUpdate
 o CursorUpdateMask
 o DeleteCharFunctionKey
 o DeleteFunctionKey
 o DeleteLineFunctionKey
 o DownArrowFunctionKey
 o EndFunctionKey
 o ExecuteFunctionKey
 o F10FunctionKey
 o F11FunctionKey
 o F12FunctionKey
 o F13FunctionKey
 o F14FunctionKey
 o F15FunctionKey
 o F16FunctionKey
 o F17FunctionKey
 o F18FunctionKey
 o F19FunctionKey
 o F1FunctionKey
 o F20FunctionKey
 o F21FunctionKey
 o F22FunctionKey
 o F23FunctionKey
 o F24FunctionKey
 o F25FunctionKey
 o F26FunctionKey
 o F27FunctionKey
 o F28FunctionKey
 o F29FunctionKey
 o F2FunctionKey
 o F30FunctionKey
 o F31FunctionKey
 o F32FunctionKey
 o F33FunctionKey
 o F34FunctionKey
 o F35FunctionKey
 o F3FunctionKey
 o F4FunctionKey
 o F5FunctionKey
 o F6FunctionKey
 o F7FunctionKey
 o F8FunctionKey
 o F9FunctionKey
 o FindFunctionKey
 o FlagsChanged
 o FlagsChangedMask
 o FunctionKeyMask
 o HelpFunctionKey
 o HelpKeyMask
 o HomeFunctionKey
 o InsertCharFunctionKey
 o InsertFunctionKey
 o InsertLineFunctionKey
 o KeyDown
 o KeyDownMask
 o KeyUp
 o KeyUpMask
 o LeftArrowFunctionKey
 o LeftMouseDown
 o LeftMouseDownMask
 o LeftMouseDragged
 o LeftMouseDraggedMask
 o LeftMouseUp
 o LeftMouseUpMask
 o MenuFunctionKey
 o ModeSwitchFunctionKey
 o MouseEntered
 o MouseEnteredMask
 o MouseExited
 o MouseExitedMask
 o MouseMoved
 o MouseMovedMask
 o NextFunctionKey
 o NumericPadKeyMask
 o PageDownFunctionKey
 o PageUpFunctionKey
 o PauseFunctionKey
 o Periodic
 o PeriodicMask
 o PrevFunctionKey
 o PrintFunctionKey
 o PrintScreenFunctionKey
 o RedoFunctionKey
 o ResetFunctionKey
 o RightArrowFunctionKey
 o RightMouseDown
 o RightMouseDownMask
 o RightMouseDragged
 o RightMouseDraggedMask
 o RightMouseUp
 o RightMouseUpMask
 o ScrollLockFunctionKey
 o SelectFunctionKey
 o ShiftKeyMask
 o StopFunctionKey
 o SysReqFunctionKey
 o SystemDefined
 o SystemDefinedMask
 o SystemFunctionKey
 o UndoFunctionKey
 o UpArrowFunctionKey
 o UserFunctionKey

Constructor Index

 o Event()
This default constructor is equivalent to Objective-C's [[NSEvent alloc] init].
 o Event(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Event(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o characters()
A wrapper for the - characters Objective-C instance method.
 o charactersIgnoringModifiers()
A wrapper for the - charactersIgnoringModifiers Objective-C instance method.
 o clickCount()
A wrapper for the - clickCount Objective-C instance method.
 o context()
A wrapper for the - context Objective-C instance method.
 o data1()
A wrapper for the - data1 Objective-C instance method.
 o data2()
A wrapper for the - data2 Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o EventMaskFromType(int)
 o eventNumber()
A wrapper for the - eventNumber Objective-C instance method.
 o isARepeat()
A wrapper for the - isARepeat Objective-C instance method.
 o keyCode()
A wrapper for the - keyCode Objective-C instance method.
 o locationInWindow()
A wrapper for the - locationInWindow Objective-C instance method.
 o modifierFlags()
A wrapper for the - modifierFlags Objective-C instance method.
 o pressure()
A wrapper for the - pressure Objective-C instance method.
 o startPeriodicEvents(double, double)
A wrapper for the + startPeriodicEventsAfterDelay:withPeriod: Objective-C class method.
 o stopPeriodicEvents()
A wrapper for the + stopPeriodicEvents Objective-C class method.
 o subtype()
A wrapper for the - subtype Objective-C instance method.
 o timestamp()
A wrapper for the - timestamp Objective-C instance method.
 o trackingNumber()
A wrapper for the - trackingNumber Objective-C instance method.
 o type()
A wrapper for the - type Objective-C instance method.
 o window()
A wrapper for the - window Objective-C instance method.
 o windowNumber()
A wrapper for the - windowNumber Objective-C instance method.

Variables

 o LeftMouseDown
 public static final int LeftMouseDown
 o LeftMouseUp
 public static final int LeftMouseUp
 o RightMouseDown
 public static final int RightMouseDown
 o RightMouseUp
 public static final int RightMouseUp
 o MouseMoved
 public static final int MouseMoved
 o LeftMouseDragged
 public static final int LeftMouseDragged
 o RightMouseDragged
 public static final int RightMouseDragged
 o MouseEntered
 public static final int MouseEntered
 o MouseExited
 public static final int MouseExited
 o KeyDown
 public static final int KeyDown
 o KeyUp
 public static final int KeyUp
 o FlagsChanged
 public static final int FlagsChanged
 o AppKitDefined
 public static final int AppKitDefined
 o SystemDefined
 public static final int SystemDefined
 o ApplicationDefined
 public static final int ApplicationDefined
 o Periodic
 public static final int Periodic
 o CursorUpdate
 public static final int CursorUpdate
 o LeftMouseDownMask
 public static final int LeftMouseDownMask
 o LeftMouseUpMask
 public static final int LeftMouseUpMask
 o RightMouseDownMask
 public static final int RightMouseDownMask
 o RightMouseUpMask
 public static final int RightMouseUpMask
 o MouseMovedMask
 public static final int MouseMovedMask
 o LeftMouseDraggedMask
 public static final int LeftMouseDraggedMask
 o RightMouseDraggedMask
 public static final int RightMouseDraggedMask
 o MouseEnteredMask
 public static final int MouseEnteredMask
 o MouseExitedMask
 public static final int MouseExitedMask
 o KeyDownMask
 public static final int KeyDownMask
 o KeyUpMask
 public static final int KeyUpMask
 o FlagsChangedMask
 public static final int FlagsChangedMask
 o AppKitDefinedMask
 public static final int AppKitDefinedMask
 o SystemDefinedMask
 public static final int SystemDefinedMask
 o ApplicationDefinedMask
 public static final int ApplicationDefinedMask
 o PeriodicMask
 public static final int PeriodicMask
 o CursorUpdateMask
 public static final int CursorUpdateMask
 o AnyEventmask
 public static final int AnyEventmask
 o AlphaShiftKeyMask
 public static final int AlphaShiftKeyMask
 o ShiftKeyMask
 public static final int ShiftKeyMask
 o ControlKeyMask
 public static final int ControlKeyMask
 o AlternateKeyMask
 public static final int AlternateKeyMask
 o CommandKeyMask
 public static final int CommandKeyMask
 o NumericPadKeyMask
 public static final int NumericPadKeyMask
 o HelpKeyMask
 public static final int HelpKeyMask
 o FunctionKeyMask
 public static final int FunctionKeyMask
 o UpArrowFunctionKey
 public static final int UpArrowFunctionKey
 o DownArrowFunctionKey
 public static final int DownArrowFunctionKey
 o LeftArrowFunctionKey
 public static final int LeftArrowFunctionKey
 o RightArrowFunctionKey
 public static final int RightArrowFunctionKey
 o F1FunctionKey
 public static final int F1FunctionKey
 o F2FunctionKey
 public static final int F2FunctionKey
 o F3FunctionKey
 public static final int F3FunctionKey
 o F4FunctionKey
 public static final int F4FunctionKey
 o F5FunctionKey
 public static final int F5FunctionKey
 o F6FunctionKey
 public static final int F6FunctionKey
 o F7FunctionKey
 public static final int F7FunctionKey
 o F8FunctionKey
 public static final int F8FunctionKey
 o F9FunctionKey
 public static final int F9FunctionKey
 o F10FunctionKey
 public static final int F10FunctionKey
 o F11FunctionKey
 public static final int F11FunctionKey
 o F12FunctionKey
 public static final int F12FunctionKey
 o F13FunctionKey
 public static final int F13FunctionKey
 o F14FunctionKey
 public static final int F14FunctionKey
 o F15FunctionKey
 public static final int F15FunctionKey
 o F16FunctionKey
 public static final int F16FunctionKey
 o F17FunctionKey
 public static final int F17FunctionKey
 o F18FunctionKey
 public static final int F18FunctionKey
 o F19FunctionKey
 public static final int F19FunctionKey
 o F20FunctionKey
 public static final int F20FunctionKey
 o F21FunctionKey
 public static final int F21FunctionKey
 o F22FunctionKey
 public static final int F22FunctionKey
 o F23FunctionKey
 public static final int F23FunctionKey
 o F24FunctionKey
 public static final int F24FunctionKey
 o F25FunctionKey
 public static final int F25FunctionKey
 o F26FunctionKey
 public static final int F26FunctionKey
 o F27FunctionKey
 public static final int F27FunctionKey
 o F28FunctionKey
 public static final int F28FunctionKey
 o F29FunctionKey
 public static final int F29FunctionKey
 o F30FunctionKey
 public static final int F30FunctionKey
 o F31FunctionKey
 public static final int F31FunctionKey
 o F32FunctionKey
 public static final int F32FunctionKey
 o F33FunctionKey
 public static final int F33FunctionKey
 o F34FunctionKey
 public static final int F34FunctionKey
 o F35FunctionKey
 public static final int F35FunctionKey
 o InsertFunctionKey
 public static final int InsertFunctionKey
 o DeleteFunctionKey
 public static final int DeleteFunctionKey
 o HomeFunctionKey
 public static final int HomeFunctionKey
 o BeginFunctionKey
 public static final int BeginFunctionKey
 o EndFunctionKey
 public static final int EndFunctionKey
 o PageUpFunctionKey
 public static final int PageUpFunctionKey
 o PageDownFunctionKey
 public static final int PageDownFunctionKey
 o PrintScreenFunctionKey
 public static final int PrintScreenFunctionKey
 o ScrollLockFunctionKey
 public static final int ScrollLockFunctionKey
 o PauseFunctionKey
 public static final int PauseFunctionKey
 o SysReqFunctionKey
 public static final int SysReqFunctionKey
 o BreakFunctionKey
 public static final int BreakFunctionKey
 o ResetFunctionKey
 public static final int ResetFunctionKey
 o StopFunctionKey
 public static final int StopFunctionKey
 o MenuFunctionKey
 public static final int MenuFunctionKey
 o UserFunctionKey
 public static final int UserFunctionKey
 o SystemFunctionKey
 public static final int SystemFunctionKey
 o PrintFunctionKey
 public static final int PrintFunctionKey
 o ClearLineFunctionKey
 public static final int ClearLineFunctionKey
 o ClearDisplayFunctionKey
 public static final int ClearDisplayFunctionKey
 o InsertLineFunctionKey
 public static final int InsertLineFunctionKey
 o DeleteLineFunctionKey
 public static final int DeleteLineFunctionKey
 o InsertCharFunctionKey
 public static final int InsertCharFunctionKey
 o DeleteCharFunctionKey
 public static final int DeleteCharFunctionKey
 o PrevFunctionKey
 public static final int PrevFunctionKey
 o NextFunctionKey
 public static final int NextFunctionKey
 o SelectFunctionKey
 public static final int SelectFunctionKey
 o ExecuteFunctionKey
 public static final int ExecuteFunctionKey
 o UndoFunctionKey
 public static final int UndoFunctionKey
 o RedoFunctionKey
 public static final int RedoFunctionKey
 o FindFunctionKey
 public static final int FindFunctionKey
 o HelpFunctionKey
 public static final int HelpFunctionKey
 o ModeSwitchFunctionKey
 public static final int ModeSwitchFunctionKey

Constructors

 o Event
 protected Event(boolean shouldAllocate,
                 int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Event
 public Event()
This default constructor is equivalent to Objective-C's [[NSEvent alloc] init].

 o Event
 public Event(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o type
 public native int type()
A wrapper for the - type Objective-C instance method.

 o locationInWindow
 public native Point locationInWindow()
A wrapper for the - locationInWindow Objective-C instance method.

 o modifierFlags
 public native int modifierFlags()
A wrapper for the - modifierFlags Objective-C instance method.

 o timestamp
 public native double timestamp()
A wrapper for the - timestamp Objective-C instance method.

 o window
 public native Window window()
A wrapper for the - window Objective-C instance method.

 o windowNumber
 public native int windowNumber()
A wrapper for the - windowNumber Objective-C instance method.

 o context
 public native DPSContext context()
A wrapper for the - context Objective-C instance method.

 o clickCount
 public native int clickCount()
A wrapper for the - clickCount Objective-C instance method.

 o pressure
 public native float pressure()
A wrapper for the - pressure Objective-C instance method.

 o eventNumber
 public native int eventNumber()
A wrapper for the - eventNumber Objective-C instance method.

 o characters
 public native String characters()
A wrapper for the - characters Objective-C instance method.

 o charactersIgnoringModifiers
 public native String charactersIgnoringModifiers()
A wrapper for the - charactersIgnoringModifiers Objective-C instance method.

 o isARepeat
 public native boolean isARepeat()
A wrapper for the - isARepeat Objective-C instance method.

 o keyCode
 public native short keyCode()
A wrapper for the - keyCode Objective-C instance method.

 o trackingNumber
 public native int trackingNumber()
A wrapper for the - trackingNumber Objective-C instance method.

 o subtype
 public native short subtype()
A wrapper for the - subtype Objective-C instance method.

 o data1
 public native int data1()
A wrapper for the - data1 Objective-C instance method.

 o data2
 public native int data2()
A wrapper for the - data2 Objective-C instance method.

 o startPeriodicEvents
 public static native void startPeriodicEvents(double delay,
                                               double period)
A wrapper for the + startPeriodicEventsAfterDelay:withPeriod: Objective-C class method.

 o stopPeriodicEvents
 public static native void stopPeriodicEvents()
A wrapper for the + stopPeriodicEvents Objective-C class method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).

 o EventMaskFromType
 public static final int EventMaskFromType(int type)

All Packages  Class Hierarchy  This Package  Previous  Next  Index