Package | com.ghostwire.ui.controls |
Class | public class uiVScrollBar |
Inheritance | uiVScrollBar ![]() ![]() ![]() ![]() |
uiVScrollBar
component is used to implement vertical scrolling. The component consists
of a slider track with a thumb and arrow buttons on opposite ends of the track. The user can modify the
value
of the component by dragging the thumb or by pressing on the arrow buttons or on
the slider track.
You cannot change the orientation of a uiVScrollBar
instance - it is always vertical. If
you need a horizontal scrollbar, use the uiScrollBar
class.
The value
of a uiVScrollBar
moves from lower to higher values as the thumb
moves from top-to-bottom (ie the minimum
is at the top, maximum
is at the
bottom).
"padding" Property
Always 0
- attempting to set this property will throw an error.
"range" Property
You need to access the values represented by the component via the range
property.
For example, range.value
, range.minimum
, range.maximum
, etc.
"skin" Property
The default value is "VScrollBar"
and the asset(s) used are:
VScrollBarDown.png VScrollBarUp.png VScrollBarTrack.png VScrollBarTrackThumb.png
~ This class is available in Aspire UI Components Lite Edition ~
See also
Method | Defined by | ||
---|---|---|---|
uiVScrollBar(range:uiRange = null)
Constructor - creates a new
uiVScrollBar instance. | uiVScrollBar | ||
![]() |
invalidate(type:String):void
Invalidates this component's "size", "display", "layout" or "textstyle".
| uiComponent | |
![]() |
move(x:Number, y:Number, noEvent:Boolean = false):void
Moves the component to the specified position, disregarding its allocation.
| uiComponent | |
![]() |
removeAllChildren(all:Boolean = false):void
Removes all children from this component.
| uiComponent | |
![]() |
setFocus(flag:Boolean = true):void
Gives this component instance the focus; the component must be on the display list and has its
tabEnabled property set to true , otherwise this method will fail
silently. | uiComponent | |
![]() |
setSize(width:Number, height:Number, noEvent:Boolean = false):void
Sets this component's size to the specified
width and height . | uiComponent | |
![]() |
setVisible(value:Boolean, noEvent:Boolean = false):void
Sets the visibility of this component instance, dispatching a "show" or "hide" event accordingly.
| uiComponent | |
![]() |
validateNow():void
Validates and render the component instance, and any component instances with
depth higher than itself in the validation queue, immediately. | uiComponent |