|
Class: InputEvent (private in WindowEvent
This class is only visible from within
WindowEvent.
Object
|
+--Message
|
+--MessageSend
|
+--Event
|
+--WindowEvent
|
+--WindowEvent::InputEvent
|
+--WindowEvent::ButtonEvent
|
+--WindowEvent::DropEvent
|
+--WindowEvent::EnterLeaveEvent
|
+--WindowEvent::FocusEvent
|
+--WindowEvent::KeyboardEvent
|
+--WindowEvent::KeyboardFocusEvent
|
+--WindowEvent::NativeWidgetCommandEvent
|
+--WindowEvent::TrayActionEvent
- Package:
- stx:libview
- Category:
- Interface-Support-UI
- Owner:
- WindowEvent
class initialization
-
initialize
-
self initialize
Compatibility-VW
-
blueButtonPressed
-
-
redButtonPressed
-
-
yellowButtonPressed
-
accessing
-
hasShift: shift ctrl: ctrl alt: alt meta: meta button1: b1 button2: b2 button3: b3
-
-
hasShift: shift hasCtrl: ctrl hasAlt: alt hasMeta: meta
-
-
hasShift: shift hasCtrl: ctrl hasAlt: alt hasMeta: meta hasButton1: b1 hasButton2: b2 hasButton3: b3
-
-
modifierFlags
-
-
modifierFlags: flagBits
-
queries
-
hasAlt
-
return true, if this is an event, with ALT pressed
-
hasButton1
-
return true, if this is an event, with the left mouse button pressed
-
hasButton2
-
return true, if this is an event, with the middle mouse button pressed
-
hasButton3
-
return true, if this is an event, with the right mouse button pressed
-
hasCtrl
-
return true, if this is an event, with CTRL pressed
-
hasMeta
-
return true, if this is an event, with META pressed
-
hasShift
-
return true, if this is an event, with SHIFT pressed
-
targetView
-
return the view which will eventually handle the event;
for most events, this is the same as the view, for which the event was
originally generated.
Except, if an explicit focus has been assigned (i.e. tabbed into a component),
AND the event is a keyboard event. In this case, the targetView might be different.
Notice: this method might return nil, for synthetic (app-related) or display screen related
events
testing
-
isInputEvent
-
(comment from inherited method)
return true, if this event is an input (pointer, key or button) event
|