Interface Slider
access this type via: ui.Slider (provides, requires or uses)
--- semantic variants: v, h
A slider widget allowing selection of an integer between zero and a given value.
Functions
void setMaxValue(int v)
void setSliderPos(int v)
int getSliderPos()
void setLength(int pixels)
void setTickInterval(int value)
void setStopInterval(int value)
void setTrackColor(
storeColor c)
void setSliderColor(
storeColor c)
void setTickColor(
storeColor c)
Events
changed Reports when the slider is moved.
void setMaxValue(int v)
Set the maximum value of the scroll bar.
void setSliderPos(int v)
Set the current position of the scroll bar.
int getSliderPos()
Get the current position of the scroll bar.
void setLength(int pixels)
Set the length of the scroll bar, in pixels (the size of the widget, which is equivalent to height/width depending on whether the scroll bar is displayed vertically or horizontally).
void setTickInterval(int value)
void setStopInterval(int value)
void setTrackColor(
storeColor c)
void setSliderColor(
storeColor c)
void setTickColor(
storeColor c)