| Package | lunas.core |
| Class | public class AbstractScrollbar |
| Inheritance | AbstractScrollbar AbstractProgressbar AbstractProgress AbstractComponent CoreSprite flash.display.Sprite |
| Implements | IScrollbar |
| Subclasses | SimpleScrollbar |
IScrollbar display components, to minimize the effort required to implement this interface.
| Property | Defined by | ||
|---|---|---|---|
![]() | autoResetPosition : Boolean = false
This flag indicates of the position is auto reset.
| AbstractProgress | |
| bar : Sprite
The bar display of the scrollbar.
| AbstractScrollbar | ||
![]() | border : EdgeMetrics
Indicates the thickness, in pixels, of the four edge regions around a visual component.
| AbstractComponent | |
![]() | bubbles : Boolean = true
Indicates if the events use bubbling when are dispatched.
| AbstractComponent | |
![]() | builder : IBuilder
Indicates the IBuilder reference of this instance.
| AbstractComponent | |
![]() | componentInspectorSetting : Boolean
Initialize when the Flash component settings are initialized (only in Flash with a compiled component).
| AbstractComponent | |
![]() | direction : String
Indicates the direction value of this object (default value is Direction.HORIZONTAL).
| AbstractProgressbar | |
![]() | enabled : Boolean
Indicates the enabled state of the component.
| AbstractComponent | |
![]() | group : Boolean
Indicates with a boolean if this object is grouped.
| AbstractComponent | |
![]() | groupName : String
Indicates the name of the group of this object.
| AbstractComponent | |
![]() | h : Number
(read-only) Indicates the virtual height value of this component.
| AbstractComponent | |
![]() | id : *
Returns the id of this object.
| CoreSprite | |
| invert : Boolean
Indicates if the layout direction of the thumb is invert.
| AbstractScrollbar | ||
![]() | isConfigurable : Boolean
Indicates if the display is configurable.
| CoreSprite | |
| isDragging : Boolean [read-only]
(read-only) Indicates if the bar is dragging.
| AbstractScrollbar | ||
| lineScrollSize : Number
Determines how much the scrollbar's value will change when one of the arrow buttons is clicked.
| AbstractScrollbar | ||
![]() | maxHeight : Number
This property defined the maximum height of this component.
| AbstractComponent | |
![]() | maximum : Number
(Read-write) The maximum value of this scrollbar.
| AbstractProgress | |
![]() | maxWidth : Number
This property defined the maximum width of this component.
| AbstractComponent | |
![]() | minHeight : Number
This property defined the mimimun height of this component.
| AbstractComponent | |
![]() | minimum : Number
(Read-write) The minimum value of this scrollbar.
| AbstractProgress | |
![]() | minWidth : Number
This property defined the mimimun width of this component.
| AbstractComponent | |
| pageSize : Number
Determines the amount the value will change if the user clicks above or below the thumb.
| AbstractScrollbar | ||
![]() | position : Number
Indicates the position of the progress bar.
| AbstractProgress | |
![]() | style : IStyle
Returns the style of this component.
| AbstractComponent | |
| thumb : Sprite
The thumb display of the scrollbar.
| AbstractScrollbar | ||
| thumbSize : Number
Determinates the size of the thumb.
| AbstractScrollbar | ||
![]() | w : Number
(read-only) Indicates the virtual width value of this component.
| AbstractComponent | |
| Method | Defined by | ||
|---|---|---|---|
|
AbstractScrollbar(direction:String = "vertical", id:Boolean = null, isConfigurable:String = "false", name:* = null)
Creates a new AbstractProgressbar instance.
| AbstractScrollbar | ||
![]() |
doLater():void
Launch an event with a delayed interval.
| AbstractComponent | |
|
dragging(... args):void
Invoked when the bar is dragging.
| AbstractScrollbar | ||
![]() |
draw(... arguments):void
Draw the view of the component.
| AbstractComponent | |
![]() |
getBuilderRenderer():Class
Returns the
IBuilder constructor use to initialize this component. | AbstractComponent | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreSprite | |
![]() |
getStyleRenderer():Class
Returns the
IStyle constructor use to initialize this component. | AbstractComponent | |
![]() |
groupPolicyChanged():void
Invoked when the group property or the groupName property changed.
| AbstractComponent | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreSprite | |
![]() |
hide():void
Hides the component.
| AbstractComponent | |
![]() |
initialize():void
Initialize the component.
| AbstractComponent | |
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreSprite | |
![]() |
isVisible():Boolean
Returns
true if the component is visible. | AbstractComponent | |
![]() |
lock():void
Locks the object.
| CoreSprite | |
![]() |
move(x:Number, y:Number):void
Moves the component.
| AbstractComponent | |
![]() |
notifyChanged():void
Notify a change in this component.
| AbstractComponent | |
|
notifyDrag():void
Dispatchs an event when the user drag the bar.
| AbstractScrollbar | ||
![]() |
notifyEnabled():void
Notify an event when the enabled property is changed.
| AbstractComponent | |
![]() |
notifyResized():void
Notify an event when you resize the component.
| AbstractComponent | |
|
notifyStartDrag():void
Dispatchs an event when the user start to drag the bar.
| AbstractScrollbar | ||
|
notifyStopDrag():void
Dispatchs an event when the user stop to drag the bar.
| AbstractScrollbar | ||
![]() |
refresh(init:*):void
Refresh the component with an object of initialization.
| AbstractComponent | |
![]() |
resetLock():void
Reset the lock security of the display.
| CoreSprite | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreSprite | |
![]() |
setPosition(value:Number, noEvent:Boolean = false, flag:Boolean = false):void
Sets the position of the progress bar.
| AbstractProgress | |
![]() |
setSize(w:Number, h:Number):void
Sets the virtuals width and height of the component.
| AbstractComponent | |
![]() |
setStyle(... args):void
Sets the style property on the style declaration or object.
| AbstractComponent | |
![]() |
setup():void
Setup the IConfigurable object.
| CoreSprite | |
![]() |
show():void
Shows the component.
| AbstractComponent | |
|
startDragging(e:Event = null):void
Invoked when the user start to drag the bar.
| AbstractScrollbar | ||
|
stopDragging(e:Event = null):void
Invoked when the user stop to drag the bar.
| AbstractScrollbar | ||
![]() |
toString():String
Returns the
String representation of this object. | CoreSprite | |
![]() |
unlock():void
Unlocks the display.
| CoreSprite | |
![]() |
update():void
Updates the component.
| AbstractComponent | |
![]() |
viewChanged():void
Invoked when the view of the display is changed.
| AbstractProgress | |
![]() |
viewDestroyed(e:Event = null):void
Invoked when the component is destroyed with a removeMovieClip.
| AbstractComponent | |
![]() |
viewEnabled():void
Invoked when the enabled property of the component change.
| AbstractComponent | |
|
viewPositionChanged(flag:Boolean = false):void
Invoked when the position value of the bar is changed.
| AbstractScrollbar | ||
![]() |
viewResize():void
Invoked when the component is resized.
| AbstractComponent | |
![]() |
viewStyleChanged(e:Event = null):void
Invoked when the component IStyle changed.
| AbstractComponent | |
| Method | Defined by | ||
|---|---|---|---|
|
_fireButtonEvent(type:String):void
Dispatchs a ButtonEvent with the specified type.
| AbstractScrollbar | ||
![]() |
addedToStage(e:Event = null):void
Invoked when the display is added to the stage.
| CoreSprite | |
![]() |
fireComponentEvent(type:String):void
Dispatchs a ComponentEvent with the specified type.
| AbstractComponent | |
![]() |
removedFromStage(e:Event = null):void
Invoked when the display is removed from the stage.
| CoreSprite | |
| bar | property |
bar:Sprite [read-write]The bar display of the scrollbar.
Implementation public function get bar():Sprite
public function set bar(value:Sprite):void
| invert | property |
invert:Boolean [read-write]Indicates if the layout direction of the thumb is invert.
Implementation public function get invert():Boolean
public function set invert(value:Boolean):void
| isDragging | property |
isDragging:Boolean [read-only](read-only) Indicates if the bar is dragging.
Implementation public function get isDragging():Boolean
| lineScrollSize | property |
lineScrollSize:Number [read-write]Determines how much the scrollbar's value will change when one of the arrow buttons is clicked. If the scrollbar is being used to control something like a text area, this should probably be set to one, to cause the text to scroll one line. If it is scrolling a picture or movie clip, it should probably be set to a larger amount.
Implementation public function get lineScrollSize():Number
public function set lineScrollSize(value:Number):void
| pageSize | property |
pageSize:Number [read-write]Determines the amount the value will change if the user clicks above or below the thumb. If this amount is 0 the thumb will move with the lineScrollSize value.
Implementation public function get pageSize():Number
public function set pageSize(value:Number):void
| thumb | property |
thumb:Sprite [read-write]The thumb display of the scrollbar.
Implementation public function get thumb():Sprite
public function set thumb(value:Sprite):void
| thumbSize | property |
thumbSize:Number [read-write]Determinates the size of the thumb.
Implementation public function get thumbSize():Number
public function set thumbSize(value:Number):void
| AbstractScrollbar | () | constructor |
public function AbstractScrollbar(direction:String = "vertical", id:Boolean = null, isConfigurable:String = "false", name:* = null)Creates a new AbstractProgressbar instance.
Parametersdirection:String (default = "vertical") — The direction value of the bar (see Direction).
|
|
id:Boolean (default = null) — Indicates the id of the object.
|
|
isConfigurable:String (default = "false") — This flag indicates if the IConfigurable object is register in the ConfigCollector.
|
|
name:* (default = null) — Indicates the instance name of the object.
|
| _fireButtonEvent | () | method |
protected function _fireButtonEvent(type:String):voidDispatchs a ButtonEvent with the specified type.
Parameterstype:String |
| dragging | () | method |
public function dragging(... args):voidInvoked when the bar is dragging.
Parameters... args |
| 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.
Parameterse:Event (default = null) |
| stopDragging | () | method |
public function stopDragging(e:Event = null):voidInvoked when the user stop to drag the bar.
Parameterse:Event (default = null) |
| viewPositionChanged | () | method |
public override function viewPositionChanged(flag:Boolean = false):voidInvoked when the position value of the bar is changed.
Parametersflag:Boolean (default = false) |