class TcActionEvent

Abstract base class for TcActionEvents

Public Methods

TcActionEvent()
Default Constructor.
TcActionEvent(const TcUtString &name)
Constructor
virtual ~TcActionEvent()
Destructor.
void setName(const TcUtString& name)
Sets the name of the ActionEvent
const TcUtString& getName()
Returns the name of this ActionEvent.
virtual void doEvent()
This method must be overidden by derived classes

Documentation

Abstract base class for TcActionEvents. Clients must inherit from this class in order to define an ActionEvent. Objects of this Class can be associated with TcGfxComponents. See TcGfxComponent::addEvent
TcActionEvent()
Default Constructor.

TcActionEvent(const TcUtString &name)
Constructor
Parameters:
name - An optional string name can be used to identify an ActionEvent. This must be set either here or by the setName method before adding to a TcGfxComponent.

virtual ~TcActionEvent()
Destructor.

void setName(const TcUtString& name)
Sets the name of the ActionEvent.
Parameters:
name - This is the name used by the TcGfxComponent::getEvent method.

const TcUtString& getName()
Returns the name of this ActionEvent.

virtual void doEvent()
This method must be overidden by derived classes. This implements the behavior of the event. It is called by TcGfxComponent::triggerEvent.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de