ScrollPaneConfiguration

The ScrollPaneConfiguration class provides a set of properties that are used to control the scrollpane-related valeues for the AdvancedTree, such as the scrollbar's width and the position of the scrollbars.

 

Property Name Getter/Setter Class Default Description
contentInset getter/setter Number 2 The pixel inset of the content's position and mask from the outside of the scrollpane inner graphic.
horizontalScrollPolicy getter/setter Boolean "automatic" Whether the horizontal scrollbar on the tree should always be visible ("always"), hidden, ("never") or only be visible when needed ("automatic").
scrollbarBuffer getter/setter Number 0 The pixel buffer between the scrollbars and the scrollpane inner graphic.
scrollbarButtonLayout getter/setter String "spread" The layout for the buttons on a scrollbar (top, bottom, spread).
scrollbarHorizontalSide getter/setter String "bottom" The side of the tree where the horizontal scrollbar is displayed (top or bottom).
scrollbarInset getter/setter Number 0 The number of pixels between the scrollbars and the outside of the tree.
scrollbarSliderInset getter/setter Number 0 The number of pixels between the scrollbar slider and the edge of the scrollbar or scrollbar buttons.
scrollbarVerticalSide getter/setter String "right" The side of the tree where the vertictal scrollbar is displayed (right or left).
scrollbarWidth getter/setter Number 18 The pixel width (for vertical scrollbars) or height (for horizontal scrollbars) of the scrollbar.
verticalScrollPolicy getter/setter Boolean "automatic" Whether the vertical scrollbar on the tree should always be visible ("always"), hidden, ("never") or only be visible when needed ("automatic").