Packagefeathers.controls
Interfacepublic interface IScrollBar extends IFeathersControl, IFeathersDisplayObject, IFeathersEventDispatcher
Implementors ScrollBar, SimpleScrollBar, Slider

Minimum requirements for a scroll bar to be usable with a Scroller component.

See also

Scroller


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
IFeathersDisplayObject
 Inheritedbase : DisplayObject
[read-only]
IFeathersDisplayObject
 InheritedblendMode : String
IFeathersDisplayObject
 Inheritedbounds : Rectangle
[read-only]
IFeathersDisplayObject
 Inheritedfilter : FragmentFilter
IFeathersDisplayObject
 InheritedhasVisibleArea : Boolean
[read-only]
IFeathersDisplayObject
 Inheritedheight : Number
IFeathersDisplayObject
 InheritedisEnabled : Boolean
Indicates whether the control is interactive or not.
IFeathersControl
 InheritedisInitialized : Boolean
[read-only] Determines if the component has been initialized yet.
IFeathersControl
 InheritedmaxHeight : Number
The maximum recommended height to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
  maximum : Number
The maximum value of the scroll bar.
IScrollBar
 InheritedmaxWidth : Number
The maximum recommended width to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedminHeight : Number
The minimum recommended height to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
  minimum : Number
The minimum value of the scroll bar.
IScrollBar
 InheritedminWidth : Number
The minimum recommended width to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 Inheritedname : String
IFeathersDisplayObject
 InheritednameList : TokenList
[read-only] Contains a list of all "names" assigned to this control.
IFeathersControl
  page : Number
The amount the scroll bar value must change to get from one "page" to the next.
IScrollBar
 Inheritedparent : DisplayObjectContainer
[read-only]
IFeathersDisplayObject
 InheritedpivotX : Number
IFeathersDisplayObject
 InheritedpivotY : Number
IFeathersDisplayObject
 Inheritedroot : DisplayObject
[read-only]
IFeathersDisplayObject
 Inheritedrotation : Number
IFeathersDisplayObject
 InheritedscaleX : Number
IFeathersDisplayObject
 InheritedscaleY : Number
IFeathersDisplayObject
 InheritedskewX : Number
IFeathersDisplayObject
 InheritedskewY : Number
IFeathersDisplayObject
 Inheritedstage : Stage
[read-only]
IFeathersDisplayObject
  step : Number
The amount the scroll bar value must change to increment or decrement.
IScrollBar
 Inheritedtouchable : Boolean
IFeathersDisplayObject
 InheritedtransformationMatrix : Matrix
[read-only]
IFeathersDisplayObject
 InheriteduseHandCursor : Boolean
IFeathersDisplayObject
  value : Number
The current value of the scroll bar.
IScrollBar
 Inheritedvisible : Boolean
IFeathersDisplayObject
 Inheritedwidth : Number
IFeathersDisplayObject
 Inheritedx : Number
IFeathersDisplayObject
 Inheritedy : Number
IFeathersDisplayObject
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function):void
IFeathersEventDispatcher
 Inherited
dispatchEvent(event:Event):void
IFeathersEventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
IFeathersEventDispatcher
 Inherited
dispose():void
IFeathersDisplayObject
 Inherited
getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle
IFeathersDisplayObject
 Inherited
getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):Matrix
IFeathersDisplayObject
 Inherited
globalToLocal(globalPoint:Point, resultPoint:Point = null):Point
IFeathersDisplayObject
 Inherited
hasEventListener(type:String):Boolean
IFeathersEventDispatcher
 Inherited
hitTest(localPoint:Point, forTouch:Boolean = false):DisplayObject
IFeathersDisplayObject
 Inherited
localToGlobal(localPoint:Point, resultPoint:Point = null):Point
IFeathersDisplayObject
 Inherited
removeEventListener(type:String, listener:Function):void
IFeathersEventDispatcher
 Inherited
removeEventListeners(type:String = null):void
IFeathersEventDispatcher
 Inherited
removeFromParent(dispose:Boolean = false):void
IFeathersDisplayObject
 Inherited
render(support:RenderSupport, parentAlpha:Number):void
IFeathersDisplayObject
 Inherited
setSize(width:Number, height:Number):void
Sets both the width and the height of the control.
IFeathersControl
 Inherited
validate():void
Immediately validates the control, which triggers a redraw, if one is pending.
IFeathersControl
Events
 Event Summary Defined By
  Dispatched when the scroll bar's value changes.IScrollBar
Property Detail
maximumproperty
maximum:Number

The maximum value of the scroll bar.


Implementation
    public function get maximum():Number
    public function set maximum(value:Number):void
minimumproperty 
minimum:Number

The minimum value of the scroll bar.


Implementation
    public function get minimum():Number
    public function set minimum(value:Number):void
pageproperty 
page:Number

The amount the scroll bar value must change to get from one "page" to the next.


Implementation
    public function get page():Number
    public function set page(value:Number):void
stepproperty 
step:Number

The amount the scroll bar value must change to increment or decrement.


Implementation
    public function get step():Number
    public function set step(value:Number):void
valueproperty 
value:Number

The current value of the scroll bar.


Implementation
    public function get value():Number
    public function set value(value:Number):void
Event Detail
change Event
Event Object Type: starling.events.Event
Event.type property = starling.events.Event.CHANGE

Dispatched when the scroll bar's value changes.

An event type to be utilized in custom events. Not used by Starling right now.