ui::event::Event Class Reference

Inheritance diagram for ui::event::Event:

Inheritance graph
[legend]
Collaboration diagram for ui::event::Event:

Collaboration graph
[legend]
List of all members.

Detailed Description

Common abstract Event class. This is the base class for all events that are sent through the GUI.


Public Member Functions

 Event (Component *source, int id)
ComponentgetSource () const
int getID () const


Constructor & Destructor Documentation

ui::event::Event::Event Component source,
int  id
[inline]
 

Create a new Event with given source Component, and identifier.

Parameters:
source the Component from which the Event originated.
id Identifier which can be used to identify the Event type.


Member Function Documentation

Component* ui::event::Event::getSource  )  const [inline]
 

Return a pointer to the source Component.

Returns:
A pointer to the Component from which the event originated.

int ui::event::Event::getID  )  const [inline]
 

Returns the Event identifier.

Returns:
An identifier which can be used to determine the nature of the Event.


Generated on Mon Jun 20 19:41:56 2005 for UI by doxygen 1.3.1 using KingsTools