ButtonListener Class Reference

Models the ability to perform actions. More...

#include <ButtonListener.h>

Inheritance diagram for ButtonListener:

Object CalibrateListener EasyListener ExitListener HardListener HudMenu MediumListener

List of all members.

Public Member Functions

virtual void clicked ()=0
 A method to deal with action events.
virtual string toString () const =0
 Returns a textual representation.
virtual string className () const =0
 Returns the class name of the object.
virtual enum classId classId () const =0
 Returns the class id of the object.


Detailed Description

Models the ability to perform actions.

The ButtonListener is an abstract class designed to be derived from by all classes which intend to recieve and perform action events from MouseListeners


Member Function Documentation

virtual void ButtonListener::clicked (  )  [pure virtual]

A method to deal with action events.

Every ButtonListener must implement this method to receive and process action events. Those will usually be sent by the MouseListener which calls this method.

See also:
MouseListener

Implemented in CalibrateListener, EasyListener, ExitListener, HardListener, HudMenu, and MediumListener.

virtual string ButtonListener::toString (  )  const [pure virtual]

Returns a textual representation.

Reimplemented from Object.

Implemented in CalibrateListener, EasyListener, ExitListener, HardListener, HudMenu, and MediumListener.

virtual string ButtonListener::className (  )  const [pure virtual]

Returns the class name of the object.

Reimplemented from Object.

Implemented in CalibrateListener, EasyListener, ExitListener, HardListener, HudMenu, and MediumListener.

virtual enum classId ButtonListener::classId (  )  const [pure virtual]

Returns the class id of the object.

Reimplemented from Object.

Implemented in CalibrateListener, EasyListener, ExitListener, HardListener, HudMenu, and MediumListener.


The documentation for this class was generated from the following file:

Generated on Mon Jul 7 13:30:33 2008 for Firefly by  doxygen 1.5.6