Class ElemScrollBar
Constructors
Name | Description |
---|---|
this
(data)
|
Fields
Type | Name | Description |
---|---|---|
float |
lineStep
|
Jump length on lineUp/lineDown events |
|
onScroll
|
11 inherited fields
Properties
Type | Name | Description |
---|---|---|
inout(ScrollData) |
data [get, set]
|
Scrollbar data component |
bool |
isFullRangeVisible [get]
|
True if full scroll range is visible, and no need of scrolling at all |
orientation [get, set]
|
35 inherited properties
Methods
Name | Description |
---|---|
handleCustomPropertiesChange
()
|
|
handleWheelEvent
(event)
|
Process wheel event, return true if the event is processed. |
moveTo
(position)
|
|
triggerAction
(action)
|
|
arrangeContent
()
|
Called from layout , after box and innerBox were set
|
calcButtonSizes
(availableSize, spaceBackSize, spaceForwardSize, indicatorSize)
|
|
computeBoundaries
()
|
... |
drawContent
(pr)
|
|
getDefaultOffset
(action)
|
Default scroll offset on pageUp/pageDown, lineUp/lineDown actions |
handleDataChange
()
|
|
handleIndicatorDragging
(initialValue, currentValue)
|
|
layoutButtons
(ibox)
|
|
layoutButtons
()
|
|
updateDrawables
()
|
|
updateVisibility
()
|
Hide controls when scroll is not possible |
51 inherited methods
Inner classes
Name | Description |
---|---|
PageScrollButton
|
|
ScrollIndicator
|