Packagelunas
Interfacepublic interface Scrollbar extends Progressbar, Bar, Progress, Directionable
Implementors CoreScrollbar

This interface defines all methods to create scrollbar components.



Public Properties
 PropertyDefined By
  bar : Sprite
The bar display of the scrollbar.
Scrollbar
 Inheriteddirection : 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
Public Methods
 MethodDefined 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
  
Dispatchs an event when the user start to drag the bar.
Scrollbar
  
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
Property Detail
barproperty
bar:Sprite

The bar display of the scrollbar.


Implementation
    public function get bar():Sprite
    public function set bar(value:Sprite):void
invertproperty 
invert:Boolean

Indicates if the layout direction of the thumb is invert.


Implementation
    public function get invert():Boolean
    public function set invert(value:Boolean):void
isDraggingproperty 
isDragging:Boolean  [read-only]

Indicates if the bar is dragging.


Implementation
    public function get isDragging():Boolean
thumbproperty 
thumb:Sprite

The thumb display of the scrollbar.


Implementation
    public function get thumb():Sprite
    public function set thumb(value:Sprite):void
thumbSizeproperty 
thumbSize:Number

(Read-write) Determinates the size of the thumb.


Implementation
    public function get thumbSize():Number
    public function set thumbSize(value:Number):void
Method Detail
dragging()method
public function dragging(e:Event = null):void

Invoked when the bar is dragging.

Parameters

e:Event (default = null)

notifyDrag()method 
public function notifyDrag():void

Dispatchs an event when the user drag the bar.

notifyStartDrag()method 
public function notifyStartDrag():void

Dispatchs an event when the user start to drag the bar.

notifyStopDrag()method 
public function notifyStopDrag():void

Dispatchs an event when the user stop to drag the bar.

startDragging()method 
public function startDragging(e:Event = null):void

Invoked when the user start to drag the bar.

Parameters

e:Event (default = null)

stopDragging()method 
public function stopDragging(e:Event = null):void

Invoked when the user stop to drag the bar.

Parameters

e:Event (default = null)