eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WindowEvent::KeyboardEvent':

Home

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

Class: KeyboardEvent (private in WindowEvent

This class is only visible from within WindowEvent.

Inheritance:

   Object
   |
   +--Message
      |
      +--MessageSend
         |
         +--Event
            |
            +--WindowEvent
               |
               +--WindowEvent::InputEvent
                  |
                  +--WindowEvent::KeyboardEvent
                     |
                     +--WindowEvent::HotKeyEvent
                     |
                     +--WindowEvent::KeyPressEvent
                     |
                     +--WindowEvent::KeyReleaseEvent

Package:
stx:libview
Category:
Interface-Support-UI
Owner:
WindowEvent
Author:
exept MBP

Description:


documentation to be added.

class:
    <a short class summary here, describing what instances represent>

responsibilities:    
    <describing what my main role is>

collaborators:    
    <describing with whom and how I talk to>

API:
    <public api and main messages>
    
example:
    <a one-line examples on how to use - can also be in a separate example method>

implementation:
    <implementation points>


[instance variables:]

[class variables:]


Related information:



Instance protocol:

accessing
o  isDeadKey: aBoolean
set (by the sensor) if this is an event for a deadKey.
Consumers may want to mark deadKeys specially
(eg. by highlighting it, as done in the editTextView)

o  key
return the (translated) key of the key-event.
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
and rawKey will be $c.

o  key: aCharacterOrSymbol
set the (translated) key of the key-event.
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
and rawKey will be $c.

o  rawKey
return the (raw) key of the key-event.
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
and rawKey will be $c.

o  rawKey: aKey
set the (raw) key of the key-event.
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
and rawKey will be $c.

o  rawKey: rKey untranslatedKey: uKey
set the (raw) key of the key-event.
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
and rawKey will be $c.

o  untranslatedKey
return the untranslated key of the key-event;
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
(and rawKey will be $c).

o  untranslatedKey: aKey
set the untranslated key of the key-event.
i.e. if the keyboardMap maps #Ctrlc to #Copy,
then key will be #Copy and untranslatedKey will be #Ctrlc
and rawKey will be $c.

o  x
return the x coordinate of the key-event
(mouse position at the time of the key-event).

o  x: anInteger
change the x coordinate of the key-event

o  y
return the y coordinate of the key-event
(mouse position at the time of the key-event).

o  y: anInteger
change the y coordinate of the key-event

testing
o  isDeadKey
return true, if this event is for a deadKey

o  isDelegatedToFocusView
return true, if this event will be forwarded to a focusView.

o  isKeyEvent
return true, if this event is a keyboard event

o  isUserEvent
return true, if this event from a user



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 08:23:05 GMT