Returns the button number for the mouse button
pressed in a mouse event. Intended primarily for
the case where a mouse has three or more buttons, and
you want to know which button an 'other' mouse event
refers to.
Returns the string of characters for a keyboard
event, as if no modifier keys had been pressed when
the keyboard event occirred. Raises an
NSInternalInconsistencyException
if applied to any other type of event.
Return the number of clicks associated with the
mouse down or up event. This method is not applicable
for any event type other than a mouse down or mouse up.
Raises an NSInternalInconsistencyException if
applied to any other type of event.
Returns the 'data1' item associated with the event.
Raises NSInternalInconsistencyException if
the event is not of type NSAppKitDefined,
NSSystemDefined, NSApplicationDefined, or
NSPeriodic
Returns the 'data2' item associated with the event.
Raises NSInternalInconsistencyException if
the event is not of type NSAppKitDefined,
NSSystemDefined, NSApplicationDefined, or
NSPeriodic
Returns the event number associated with any mouse
event or tracking event. Event numbers are allocated
sequentially when the system creates these
events. Raises an
NSInternalInconsistencyException
if applied to any other type of event.
Returns a flag to say if this is a keyboard repeat
event. Raises an
NSInternalInconsistencyException
if applied to any other type of event than an NSKeyUp or
NSKeyDown.
Returns the numeric key code of a keyboard event.
Raises an NSInternalInconsistencyException if
applied to any other type of event than an NSKeyUp
or NSKeyDown.
Returns the pressure associated with a mouse event.
This is a value in the range 0.0 to 1.0 and for mormal
mouse events should be set to one of those extremes.
This is used by pressure sensitive input devices.
Raises an NSInternalInconsistencyException if
applied to any other type of event than a mouse
event.
Returns the 'subtype' item associated with the
event. Raises
NSInternalInconsistencyException
if the event is not of type NSAppKitDefined,
NSSystemDefined, NSApplicationDefined,
NSPeriodic or a mouve event.
Returns a number identifying the tracking rectangle
entered or exited. Raises an
NSInternalInconsistencyException
if applied to any other type of event than a mouse
entered or exited event.
Returns usder data associated with a tracking
event... the data assigned to the tracking
rectangle concerned when it was created..
Raises an NSInternalInconsistencyException if
applied to any other type of event than a mouse
entered or exited event.
Returns the window for which this event was
generated. Periodic events have no
associated window, and you should not call this
method for those events.
Returns the window number of the window for which
this event was generated. Periodic events have
no associated window, and you should not call this
method for those events.