class fwt::ScrollBar
sys::Obj fwt::Widget fwt::ScrollBar
ScrollBar is used to position a widget too wide or tall to be visible at one time. ScrollBars cannot be created directly, rather they are accessed widgets which support scrolling via hbar and vbar.
- make
-
new make(|This|? f := null)Default constructor.
- max
-
Int maxThe maximum value of the scroll bar.
- min
-
Int minThe minimum value of the scroll bar.
- onModify
-
EventListeners onModify()Callback when scroll bar value is modified.
Event id fired:
Event fields:
Event.data: new value of scroll bar
- orientation
-
const Orientation orientation := Orientation.horizontalHorizontal or vertical.
- page
-
Int pagePage increment size relative to difference between min and max.
- thumb
-
Int thumbThe size of thumb relative to difference between min and max.
- val
-
Int valThe current value of the scroll bar.