ui::util::RangeHolder Class Reference

Collaboration diagram for ui::util::RangeHolder:

Collaboration graph
[legend]
List of all members.

Detailed Description

Rangeholder provides methods for managing ranges, as used in ScrollBars, Sliders and Progressbars.


Public Types

enum  ORIENTATION { VERTICAL, HORIZONTAL }

Public Member Functions

int getMaximum () const
void setMaximum (int m)
int getMinimum () const
void setMinimum (int m)
void setValue (int v)
int getValue () const

Protected Member Functions

void setOrientation (int o)
int getOrientation () const


Member Enumeration Documentation

enum ui::util::RangeHolder::ORIENTATION
 

Component orientation.

Enumeration values:
VERTICAL  Defines a vertically laid out Range Component.
HORIZONTAL  Defines a horizontally laid out Range Component.


Member Function Documentation

int ui::util::RangeHolder::getMaximum  )  const
 

Returns the maximum value in this range.

void ui::util::RangeHolder::setMaximum int  m  ) 
 

Sets the maximum value in this range.

int ui::util::RangeHolder::getMinimum  )  const
 

Returns the minimum value in this range.

void ui::util::RangeHolder::setMinimum int  m  ) 
 

Sets the minimum value in this range.

void ui::util::RangeHolder::setValue int  v  ) 
 

Sets the current value for this Range. Note that the value is bounds checked with the range minimum and maximum values.

int ui::util::RangeHolder::getValue  )  const
 

Returns the current value for this Range.

void ui::util::RangeHolder::setOrientation int  o  )  [protected]
 

Sets the orientation of this Range. Can either be HORIZONTAL or VERTICAL.

int ui::util::RangeHolder::getOrientation  )  const [protected]
 

Returns the orientation of this Range.


Generated on Mon Jun 20 19:42:07 2005 for UI by doxygen 1.3.1 using KingsTools