Public Types | |
enum | ORIENTATION { VERTICAL, HORIZONTAL } |
Public Member Functions | |
Scroller (int orientation) | |
Scroller (float min, float max) | |
Scroller (float min, float max, float value) | |
Scroller (float min, float max, float value, int orientation) | |
float | getMaximum () const |
void | setMaximum (float m) |
float | getMinimum () const |
void | setMinimum (float m) |
void | setValue (float v) |
float | getValue () const |
void | setOrientation (int o) |
int | getOrientation () const |
bool | isAdjusting () const |
void | setAdjusting (bool adjusting) |
void | addChangeListener (event::ChangeListener *l) |
void | removeChangeListener (event::ChangeListener *l) |
void | setThumbSize (int percentage) |
int | getThumbSize () const |
|
Component orientation. |
|
Returns the maximum value in this range. |
|
Sets the maximum value in this range. |
|
Returns the minimum value in this range. |
|
Sets the minimum value in this range. |
|
Sets the current value for this Range. Note that the value is bounds checked with the range minimum and maximum values. |
|
Returns the current value for this Range. |
|
Sets the orientation of this Range. Can either be HORIZONTAL or VERTICAL. |
|
Returns the orientation of this Range. |