Squeak Class Documentation category index | class index  
 
AliceAlarm
  category: Balloon3D-Alice Time
  superclass: AliceUpdateable
  subclasses:

No comment. Sorry.

instance methods
  accessing
  checkTime
isDone

  management
  setTask:
setTime:
stop

  update
  update:

class methods
  instance creation
  do:at:inScheduler:
do:in:inScheduler:

instance methods
  accessing top  
 

checkTime

Returns the time the alarm is set to go off at


 

isDone

Returns true if the alarm has expired.


  management top  
 

setTask:

Specifies the task the alarm executes when it goes off. Also sets isDone to false because the task has not yet been executed.


 

setTime:

Specifies the time the alarm goes off


 

stop

This method stops the alarm.


  update top  
 

update:

If the alarm's time has expired, then execute the task associated with the alarm.


class methods
  instance creation top  
 

do:at:inScheduler:

Creates an alarm that does the specified task at the specified time


 

do:in:inScheduler:

This sets an alarm that will expire in waitTime seconds and execute the specified task