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

ONE::gui::ListModelEvent Class Reference

Inheritance diagram for ONE::gui::ListModelEvent:

Inheritance graph
[legend]
List of all members.

Detailed Description

used to notify listeners of changes in ListModel s.

Author:
Daniel Seibert


Public Types

enum  Type { ADDED, REMOVED, CLEARED }

Public Member Functions

 Event (ListModelDispatcher *src)
 creates a new event.
const std::string & getData () const
const index & getPosition () const
ListModelDispatchergetSource () const
 provides access to the source of the event.
const char & getType () const
 ListModelEvent (ListModelDispatcher *src, const std::string &d, const index &p, const Type &t)


Member Enumeration Documentation

enum ONE::gui::ListModelEvent::Type
 

Enumerator:
ADDED 
REMOVED 
CLEARED 


Constructor & Destructor Documentation

ONE::gui::ListModelEvent::ListModelEvent ListModelDispatcher src,
const std::string &  d,
const index &  p,
const Type t
 


Member Function Documentation

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

creates a new event.

Parameters:
src the source of the event

const std::string& ONE::gui::ListModelEvent::getData  )  const
 

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

ListModelDispatcher * ONE::util::Event< ListModelDispatcher >::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 char& ONE::gui::ListModelEvent::getType  )  const
 


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