Public Member Functions

ActionListener Class Reference

Receives callbacks to indicate that some kind of event has occurred. More...

List of all members.

Public Member Functions

virtual ~ActionListener ()
 Destructor.
virtual void actionListenerCallback (const String &message)=0
 Overridden by your subclass to receive the callback.

Detailed Description

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.

See also:
ActionBroadcaster, ChangeListener

Constructor & Destructor Documentation

virtual ActionListener::~ActionListener (  ) [virtual]

Destructor.


Member Function Documentation

virtual void ActionListener::actionListenerCallback ( const String message ) [pure virtual]

Overridden by your subclass to receive the callback.

Parameters:
messagethe string that was specified when the event was triggered by a call to ActionBroadcaster::sendActionMessage()

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines