| Package | lunas |
| Interface | public interface Scrollbar extends Progressbar, Bar, Progress, Directionable |
| Implementors | CoreScrollbar |
| Property | Defined By | ||
|---|---|---|---|
| bar : Sprite
The bar display of the scrollbar. | Scrollbar | ||
![]() | direction : String
Indicates the direction value of this object ("horizontal" or "vertical"). | Directionable | |
| invert : Boolean
Indicates if the layout direction of the thumb is invert. | Scrollbar | ||
| isDragging : Boolean [read-only]
Indicates if the bar is dragging. | Scrollbar | ||
| thumb : Sprite
The thumb display of the scrollbar. | Scrollbar | ||
| thumbSize : Number
(Read-write) Determinates the size of the thumb. | Scrollbar | ||
| Method | Defined By | ||
|---|---|---|---|
dragging(e:Event = null):void
Invoked when the bar is dragging. | Scrollbar | ||
notifyDrag():void
Dispatchs an event when the user drag the bar. | Scrollbar | ||
notifyStartDrag():void
Dispatchs an event when the user start to drag the bar. | Scrollbar | ||
notifyStopDrag():void
Dispatchs an event when the user stop to drag the bar. | Scrollbar | ||
startDragging(e:Event = null):void
Invoked when the user start to drag the bar. | Scrollbar | ||
stopDragging(e:Event = null):void
Invoked when the user stop to drag the bar. | Scrollbar | ||
| bar | property |
bar:SpriteThe bar display of the scrollbar.
public function get bar():Sprite public function set bar(value:Sprite):void| invert | property |
invert:BooleanIndicates if the layout direction of the thumb is invert.
public function get invert():Boolean public function set invert(value:Boolean):void| isDragging | property |
isDragging:Boolean [read-only] Indicates if the bar is dragging.
public function get isDragging():Boolean| thumb | property |
thumb:SpriteThe thumb display of the scrollbar.
public function get thumb():Sprite public function set thumb(value:Sprite):void| thumbSize | property |
thumbSize:Number(Read-write) Determinates the size of the thumb.
public function get thumbSize():Number public function set thumbSize(value:Number):void| dragging | () | method |
public function dragging(e:Event = null):voidInvoked when the bar is dragging.
Parameters
e:Event (default = null) |
| notifyDrag | () | method |
public function notifyDrag():voidDispatchs an event when the user drag the bar.
| notifyStartDrag | () | method |
public function notifyStartDrag():voidDispatchs an event when the user start to drag the bar.
| notifyStopDrag | () | method |
public function notifyStopDrag():voidDispatchs an event when the user stop to drag the bar.
| startDragging | () | method |
public function startDragging(e:Event = null):voidInvoked when the user start to drag the bar.
Parameters
e:Event (default = null) |
| stopDragging | () | method |
public function stopDragging(e:Event = null):voidInvoked when the user stop to drag the bar.
Parameters
e:Event (default = null) |