Class ElemScrollBar

class ElemScrollBar
  : ElemGroup

Constructors

NameDescription
this (data)

Fields

TypeNameDescription
float
lineStep Jump length on lineUp/lineDown events
Signal!(...)
onScroll

11 inherited fields

Properties

TypeNameDescription
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

NameDescription
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

NameDescription
PageScrollButton
ScrollIndicator