This class represents the base for all events. Instance variables: stamp <Integer> The millisecond clock time stamp (based on Time millisecondClock) source <Hand | nil> If non-nil the hand that generated the event.
cursorPoint
Backward compatibility. Use #position instead
hand
Return the source that generated the event
timeStamp
Return the millisecond clock value at which the event was generated
type
Return a symbol indicating the type this event.
wasHandled
Return true if this event was handled. May be ignored for some types of events.
wasHandled:
Determine if this event was handled. May be ignored for some types of events.
=
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 =
sentTo:
Dispatch the receiver into anObject
copyHandlerState:
Copy the handler state from anEvent. Used for quickly transferring handler information between transformed events.
resetHandlerFields
Reset anything that is used to cross-communicate between two eventual handlers during event dispatch
type:readFrom:
Read a MorphicEvent from the given stream.
convertOctober2000:using:
ar 10/25/2000: This method is used to convert OLD MorphicEvents into new ones.
convertToCurrentVersion:refStream:
setHand:
setTimeStamp:
isDraggingEvent
isDropEvent
isKeyboard
isKeystroke
isMorphicEvent
isMouse
isMouseOver
transformedBy:
Return the receiver transformed by the given transform into a local coordinate system.
convertObsolete:
fromStringArray:
decode an event that was encoded with encodedAsStringArray
readFrom:
readFromObsolete:
Read one of those old and now obsolete events from the stream