eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WindowEvent::InputEvent':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: InputEvent (private in WindowEvent

This class is only visible from within WindowEvent.

Inheritance:

   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 protocol:

class initialization
o  initialize
self initialize


Instance protocol:

Compatibility-VW
o  blueButtonPressed

o  redButtonPressed

o  yellowButtonPressed

accessing
o  hasShift: shift ctrl: ctrl alt: alt meta: meta button1: b1 button2: b2 button3: b3

o  hasShift: shift hasCtrl: ctrl hasAlt: alt hasMeta: meta

o  hasShift: shift hasCtrl: ctrl hasAlt: alt hasMeta: meta hasButton1: b1 hasButton2: b2 hasButton3: b3

o  modifierFlags

o  modifierFlags: flagBits

queries
o  hasAlt
return true, if this is an event, with ALT pressed

o  hasButton1
return true, if this is an event, with the left mouse button pressed

o  hasButton2
return true, if this is an event, with the middle mouse button pressed

o  hasButton3
return true, if this is an event, with the right mouse button pressed

o  hasCtrl
return true, if this is an event, with CTRL pressed

o  hasMeta
return true, if this is an event, with META pressed

o  hasShift
return true, if this is an event, with SHIFT pressed

o  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
o  isInputEvent
(comment from inherited method)
return true, if this event is an input (pointer, key or button) event



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 03:28:00 GMT