|
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">initialize
-
self initialize
Compatibility-VW
-
> blueButtonPressed">blueButtonPressed
-
-
> redButtonPressed">redButtonPressed
-
-
> yellowButtonPressed">yellowButtonPressed
-
accessing
-
> hasShift:ctrl:alt:meta:button1:button2:button3:">hasShift: shift ctrl: ctrl alt: alt meta: meta button1: b1 button2: b2 button3: b3
-
-
> hasShift:hasCtrl:hasAlt:hasMeta:">hasShift: shift hasCtrl: ctrl hasAlt: alt hasMeta: meta
-
-
> hasShift:hasCtrl:hasAlt:hasMeta:hasButton1:hasButton2:hasButton3:">hasShift: shift hasCtrl: ctrl hasAlt: alt hasMeta: meta hasButton1: b1 hasButton2: b2 hasButton3: b3
-
-
> modifierFlags">modifierFlags
-
-
> modifierFlags:">modifierFlags: flagBits
-
queries
-
> hasAlt">hasAlt
-
return true, if this is an event, with ALT pressed
-
> hasButton1">hasButton1
-
return true, if this is an event, with the left mouse button pressed
-
> hasButton2">hasButton2
-
return true, if this is an event, with the middle mouse button pressed
-
> hasButton3">hasButton3
-
return true, if this is an event, with the right mouse button pressed
-
> hasCtrl">hasCtrl
-
return true, if this is an event, with CTRL pressed
-
> hasMeta">hasMeta
-
return true, if this is an event, with META pressed
-
> hasShift">hasShift
-
return true, if this is an event, with SHIFT pressed
-
> targetView">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">isInputEvent
-
(comment from inherited method)
return true, if this event is an input (pointer, key or button) event
|