SimpleEvent
From Web Computing Documentation
class SimpleEvent implements PublicSimpleEvent
- henkolib
- henkolib.events
- henkolib.events.SimpleEvent
- henkolib.events
Class overview
Represents a Simple Event with no arguments. It can be used for signaling. Should be kept private in the class that invokes it. Use the PublicSimpleEvent interface for publishing the event.
Public functions
new ()
invoke ()
Invokes the SimpleEvent by calling all subscribed callback functions.
Implemented interface functions
subscribe (func : Void->Void) from PublicSimpleEvent
unsubscribe (func : Void->Void) from PublicSimpleEvent