AlarmDisplay

Displays an alarm clock in its own window. The alarm clock can be shown and hidden, it can also be set to ring or to stop ringing.

Part of the Ponder2 Tutorial

Factory Messages
OperationDescription
create: aString Creates an instance of the Alarm Clock with the title aString.

Operational Messages
OperationReturnDescription
setAlarm: aBoolean self Sets the alarm ringing if aBoolean is true otherwise silences it
setShortAlarm: anInt self Sets the alarm ringing for a duration of anInt seconds
show self Shows the Alarm Clock window on the screen
hide self Hides the Alarm Clock window