Classes
AddedRemovedEvent
AlertElement
AnchorContainerElement
ArrowShape
ButtonElement
CanvasElement
CanvasManager
CheckboxElement
CheckboxSkinElement
CollectionChangedEvent
CollectionSort
ColorPickerButtonElement
ColorPickerElement
ContainerBaseElement
CursorDefinition
DataGridColumnDefinition
DataGridDataRenderer
DataGridElement
DataGridHeaderColumnDividerSkinElement
DataGridHeaderElement
DataGridHeaderItemRenderer
DataGridItemData
DataGridItemRendererBase
DataGridLabelItemRenderer
DataListData
DataListElement
DataRendererBaseElement
DataRendererLabelElement
DatePickerButtonElement
DatePickerElement
DispatcherEvent
DrawMetrics
DropdownArrowButtonSkinElement
DropdownBaseElement
DropdownElement
ElementEvent
ElementGridItemClickEvent
ElementKeyboardEvent
ElementListItemClickEvent
ElementMouseEvent
ElementMouseWheelEvent
EllipseShape
EventDispatcher
FillBase
GridContainerElement
GridContainerRowColumnDefinition
ImageElement
IpInputElement
LabelElement
LinearGradientFill
ListCollection
ListContainerElement
ProgressElement
RadioButtonElement
RadioButtonSkinElement
RoundedRectangleShape
ScrollBarElement
ScrollButtonSkinElement
ShapeBase
SkinnableElement
SolidFill
StyleableBase
StyleChangedEvent
StyleData
StyleDefinition
StyleProxy
TextAreaElement
TextElement
TextFieldElement
TextInputElement
TimeInputElement
ToggleButtonElement
ToggleButtonGroup
Tween
ViewportElement


ScrollBarElement

ScrollBarElement renders a skin-able scroll bar that can be
oriented horizontally or vertically and assigns a default
skin to the scroll buttons.
See the default skin ScrollButtonSkinElement for additional skin styles.

Inheritance:     ScrollBarElement ➞ ListContainerElementContainerBaseElementCanvasElementStyleableBaseStyleDefinitionEventDispatcher ➞ Object

Styles
Show Inherited
Style Defined By
ButtonDecrementStyle     :    StyleDefinition ScrollBarElement
StyleDefinition or [StyleDefinition] array to be applied to the Scroll decrement Button.
 
ButtonIncrementStyle     :    StyleDefinition ScrollBarElement
StyleDefinition or [StyleDefinition] array to be applied to the Scroll increment Button.
 
ButtonTabStyle     :    StyleDefinition ScrollBarElement
StyleDefinition or [StyleDefinition] array to be applied to the scroll bar tab (draggable) Button.
 
ButtonTrackStyle     :    StyleDefinition ScrollBarElement
StyleDefinition or [StyleDefinition] array to be applied to the scroll bar track Button.
 
ScrollTweenDuration     :    Number ScrollBarElement
Time in milliseconds the scroll tween animation should run.
 


Events
Show Inherited
Event Defined By
changed     :    ElementEvent ScrollBarElement
Dispatched when the scroll position changes as a result of user interaction or tween.
 


Public Functions
Show Inherited
Function Defined By
ScrollBarElement() [Constructor] ScrollBarElement
Creates new ScrollBarElement instance.
 
endScrollTween() ScrollBarElement
Ends the scroll tween animation. Immediately moves the scroll position to
the ending position if the tween is still running.
 
getScrollLineSize() ScrollBarElement
Gets the number of lines to scroll when a scroll button is pressed.
  returns     :    int
The number of lines to scroll when a scroll button is pressed.
 
getScrollPageSize() ScrollBarElement
Gets the total number of scroll lines.
  returns     :    int
The total number of scroll lines.
 
getScrollValue() ScrollBarElement
Gets the scroll position. Range is 0 to (page size - view size).
  returns     :    int
The scroll position.
 
getScrollViewSize() ScrollBarElement
Gets the number of scroll lines that fit within the view.
  returns     :    int
The number of scroll lines that fit within the view.
 
getTweenToValue() ScrollBarElement
Gets the scroll position being tweened too.
  returns     :    int
The scroll position beeing tweened too or null if no tween is running.
 
setScrollLineSize(lineSize) ScrollBarElement
Sets the number of lines to scroll when a scroll button is pressed.
  lineSize     :    int
The number of lines to scroll when a scroll button is pressed.
 
setScrollPageSize(pageSize) ScrollBarElement
Sets the total number of scroll lines.
  pageSize     :    int
The total number of scroll lines.
 
setScrollValue(value) ScrollBarElement
Sets the position to scroll too. Range is 0 to (page size - view size).
  value     :    int
The position to scroll too.
 
setScrollViewSize(viewSize) ScrollBarElement
Sets the number of scroll lines that fit within the view.
  viewSize     :    int
The number of scroll lines that fit within the view.
 
startScrollTween(tweenToValue) ScrollBarElement
Starts a tween animation to scroll bar to the supplied scroll position.
  tweenToValue     :    int
The position to scroll too.
 


Internal Members
Show Inherited


Internal Functions
Show Inherited
Function Defined By
_onScrollButtonClick(elementMouseEvent) ScrollBarElement
Event handler for Buttons (increment, decrement, and track) "click" event.
  elementMouseEvent     :    ElementMouseEvent
The ElementMouseEvent to process.
 
_onScrollTabDrag(elementEvent) ScrollBarElement
Event handler for Tab Button's "dragging" event.
  elementEvent     :    ElementEvent
The ElementEvent to process.