Receives callbacks to indicate that some kind of event has occurred. More...
Public Member Functions | |
| virtual | ~ActionListener () |
| Destructor. | |
| virtual void | actionListenerCallback (const String &message)=0 |
| Overridden by your subclass to receive the callback. | |
Receives callbacks to indicate that some kind of event has occurred.
Used by various classes, e.g. buttons when they are pressed, to tell listeners about something that's happened.
| virtual ActionListener::~ActionListener | ( | ) | [virtual] |
Destructor.
| virtual void ActionListener::actionListenerCallback | ( | const String & | message ) | [pure virtual] |
Overridden by your subclass to receive the callback.
| message | the string that was specified when the event was triggered by a call to ActionBroadcaster::sendActionMessage() |