Squeak Class Documentation category index | class index  
 
KeyboardEvent
  category: Morphic-Events
  superclass: UserInputEvent
  subclasses:

No comment. Sorry.

instance methods
  comparing
  =
hash

  dispatching
  sentTo:

  encoding
  decodeFromStringArray:
encodedAsStringArray

  keyboard
  keyCharacter
keyValue

  printing
  printOn:
storeOn:

  private
  setType:buttons:position:keyValue:hand:stamp:
type:readFrom:

  testing
  isKeyDown
isKeyUp
isKeyboard
isKeystroke
isMouseMove

class methods
  no messages
 

instance methods
  comparing top  
 

=

Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.


 

hash

Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =


  dispatching top  
 

sentTo:

Dispatch the receiver into anObject


  encoding top  
 

decodeFromStringArray:

decode the receiver from an array of strings


 

encodedAsStringArray

encode the receiver into an array of strings, such that it can be retrieved via the fromStringArray: class method


  keyboard top  
 

keyCharacter

Answer the character corresponding this keystroke. This is defined only for keystroke events.


 

keyValue

Answer the ascii value for this keystroke. This is defined only for keystroke events.


  printing top  
 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


 

storeOn:

Append to the argument aStream a sequence of characters that is an
expression whose evaluation creates an object similar to the receiver.


  private top  
 

setType:buttons:position:keyValue:hand:stamp:


 

type:readFrom:

Read a MorphicEvent from the given stream.


  testing top  
 

isKeyDown


 

isKeyUp


 

isKeyboard


 

isKeystroke


 

isMouseMove


class methods
  no messages top