- cancelLayout
void cancelLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
- layout
void layout(Rect rc)
Undocumented in source. Be warned that the author may not have intended to support it.
- layoutButtons
void layoutButtons()
Undocumented in source. Be warned that the author may not have intended to support it.
- layoutButtons
void layoutButtons(Rect irc)
Undocumented in source. Be warned that the author may not have intended to support it.
- measure
void measure(int parentWidth, int parentHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
- onClick
bool onClick(Widget source)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDraw
void onDraw(DrawBuf buf)
Draw widget at its position to buffer
- onIndicatorDragging
bool onIndicatorDragging(int initialPosition, int currentPosition)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMouseEvent
bool onMouseEvent(MouseEvent event)
handle mouse wheel events
- onPositionChanged
void onPositionChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
- setStringProperty
bool setStringProperty(string name, string value)
set string property value, for ML loaders
- updateState
void updateState()
hide controls when scroll is not possible
- _minValue
int _minValue;
Undocumented in source.
- _maxValue
int _maxValue;
Undocumented in source.
- _pageSize
int _pageSize;
Undocumented in source.
- _position
int _position;
Undocumented in source.
- scrollEvent
Signal!OnScrollHandler scrollEvent;
- position
int position [@property getter]
- position
int position [@property setter]
- onPositionChanged
void onPositionChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
- minValue
int minValue [@property getter]
returns slider range min value
- minValue
int minValue [@property setter]
sets slider range min value
- maxValue
int maxValue [@property getter]
returns slider range max value
- maxValue
int maxValue [@property setter]
sets slider range max value
- pageSize
int pageSize [@property getter]
page size (visible area size)
- pageSize
int pageSize [@property setter]
set page size (visible area size)
- setIntProperty
bool setIntProperty(string name, int value)
set int property value, for ML loaders
set int property value, for ML loaders
- setRange
AbstractSlider setRange(int min, int max)
set new range (min and max values for slider)
- sendScrollEvent
bool sendScrollEvent(ScrollAction action)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendScrollEvent
bool sendScrollEvent(ScrollAction action, int position)
Undocumented in source. Be warned that the author may not have intended to support it.
- _orientation
Orientation _orientation;
Undocumented in source.
- orientation
Orientation orientation [@property getter]
returns scrollbar orientation (Vertical, Horizontal)
- orientation
Orientation orientation [@property setter]
sets scrollbar orientation
scroll bar - either vertical or horizontal