Environment: Siren
An instance of ActionEvent evaluates a Smalltalk block when scheduled.
Instance variables:
scheduling
action
playAt: aTime
Play the receiver by executing its action block.
accessing
Answer the receiver's 'action'.
action: anObject
Set the receiver's instance variable 'action' to be anObject.
MetaClass: ActionEvent class
examples
Demonstrate the creation of an ActionEvent.
listExample
Demonstrate the creation of an ActionEvent by making a list of events that draw rectangles on the top window.
playExample
Demonstrate the performance of a list of ActionEvents.
instance creation
Answer an ActionEvent instance initialized with the arguments.
dur: aD block: actionBlock
Answer an ActionEvent instance initialized with the arguments.