ActionListener Class Reference

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

Inherited by JUCEApplication [private].

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:
ActionListenerList, 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:
message the string that was specified when the event was triggered by a call to ActionListenerList::sendActionMessage()

Implemented in JUCEApplication.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Apr 26 11:42:09 2010 for JUCE by  doxygen 1.6.3