Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::gui::TextModelEvent Class Reference

Inheritance diagram for ONE::gui::TextModelEvent:

Inheritance graph
[legend]
List of all members.

Detailed Description

used to notify listeners of changes in TextModel s

Author:
Daniel Seibert


Public Types

enum  Type { ADDED, REMOVED }

Public Member Functions

 Event (TextModelDispatcher *src)
 creates a new event.
const index & getPosition () const
TextModelDispatchergetSource () const
 provides access to the source of the event.
const std::string & getText () const
const char & getType () const
 TextModelEvent (TextModelDispatcher *, const std::string &, const index &, const Type &t)


Member Enumeration Documentation

enum ONE::gui::TextModelEvent::Type
 

Enumerator:
ADDED 
REMOVED 


Constructor & Destructor Documentation

ONE::gui::TextModelEvent::TextModelEvent TextModelDispatcher ,
const std::string &  ,
const index &  ,
const Type t
 


Member Function Documentation

ONE::util::Event< TextModelDispatcher >::Event TextModelDispatcher *  src  )  [inherited]
 

creates a new event.

Parameters:
src the source of the event

const index& ONE::gui::TextModelEvent::getPosition  )  const
 

TextModelDispatcher * ONE::util::Event< TextModelDispatcher >::getSource  )  const [inherited]
 

provides access to the source of the event.

The source of an event is the EventDispatcher that created and dispatched it.

Returns:
this event's source

const std::string& ONE::gui::TextModelEvent::getText  )  const
 

const char& ONE::gui::TextModelEvent::getType  )  const
 


Generated on Wed Sep 7 19:03:20 2005 for ONEngine by  doxygen 1.4.3