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

ONE::gui::SliderModelEvent Class Reference

Inheritance diagram for ONE::gui::SliderModelEvent:

Inheritance graph
[legend]
List of all members.

Detailed Description

used to notify listeners of changes in SliderModel s.

The event is identified by its type. MAX_ADJUST and MIN_ADJUST carry an integer, VAL_ADJUST carries a float value.

Author:
Daniel Seibert


Public Types

enum  Type { MAX_ADJUST, MIN_ADJUST, VAL_ADJUST }

Public Member Functions

const floatgetFloatValue () const
const int & getIntValue () const
Disp * getSource () const
 provides access to the source of the event.
Type getType () const
bool isBusy () const
 SliderModelEvent (SliderModelDispatcher *src, Type t, int v, bool b=false)
 SliderModelEvent (SliderModelDispatcher *src, Type t, float v, bool b=false)


Member Enumeration Documentation

enum ONE::gui::SliderModelEvent::Type
 

Enumerator:
MAX_ADJUST  maximum changed
MIN_ADJUST  minimum changed
VAL_ADJUST  position changed


Constructor & Destructor Documentation

ONE::gui::SliderModelEvent::SliderModelEvent SliderModelDispatcher src,
Type  t,
float  v,
bool  b = false
 

ONE::gui::SliderModelEvent::SliderModelEvent SliderModelDispatcher src,
Type  t,
int  v,
bool  b = false
 


Member Function Documentation

const float& ONE::gui::SliderModelEvent::getFloatValue  )  const
 

const int& ONE::gui::SliderModelEvent::getIntValue  )  const
 

template<class Disp>
Disp * ONE::util::Event< Disp >::getSource  )  const [inline, 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

Type ONE::gui::SliderModelEvent::getType  )  const
 

bool ONE::gui::SliderModelEvent::isBusy  )  const
 


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