| Package | lunas.components.bars |
| Class | public class CoreProgressbar |
| Inheritance | CoreProgressbar CoreProgress CoreComponent Background CoreSprite flash.display.Sprite |
| Implements | Progressbar |
| Subclasses | CoreScrollbar, SimpleProgressbar |
IProgressbar display components, to minimize the effort required to implement this interface.
| Method | Defined By | ||
|---|---|---|---|
CoreProgressbar(direction:String = horizontal, w:Number = 150, h:Number = 6)
Creates a new CoreProgressbar instance. | CoreProgressbar | ||
![]() | doLater():void
Launch an event with a delayed interval. | Background | |
![]() | draw(... arguments):void
Draw the display. | Background | |
![]() | getBuilderRenderer():Class
Returns the Builder constructor use to initialize this component. | CoreComponent | |
![]() | getStyleRenderer():Class
Returns the Style constructor use to initialize this component. | CoreComponent | |
![]() | groupPolicyChanged():void
Invoked when the group property or the groupName property changed. | CoreComponent | |
![]() | hide():void
Hides the component. | CoreComponent | |
![]() | initBackgroundPen(graphic:* = null):IPen
Init the pen to draw the background of this display. | Background | |
![]() | initialize():void
Initialize the component. | CoreComponent | |
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreSprite | |
![]() | isVisible():Boolean
Returns true if the component is visible. | CoreComponent | |
![]() | lock():void [override]
Locks the object. | CoreComponent | |
![]() | move(x:Number, y:Number):void
Moves the component. | CoreComponent | |
![]() | notifyChanged():void
Notify a change in this component. | CoreComponent | |
![]() | notifyEnabled():void
Notify an event when the enabled property is changed. | CoreComponent | |
![]() | notifyResized():void
Notify an event when you resize the component. | Background | |
![]() | refresh(init:*):void
Refresh and initialize the display with a generic object and invoke the "update" method. | Background | |
![]() | registerView(scope:DisplayObjectContainer = null):void
Registers the view of this component. | CoreComponent | |
![]() | resetLock():void
Reset the lock security of the display. | CoreSprite | |
![]() | resize(e:Event = null):void
Resize and update the background. | Background | |
![]() | scope():DisplayObject
Returns the real scope reference of this component. | CoreComponent | |
![]() | setCornerRadius(n:Number):void
Defines all corner radius of the background (upper-left, upper-right, bottom-left and bottom-right). | Background | |
![]() | setPosition(value:Number, noEvent:Boolean = false, flag:Boolean = false):void
Sets the position of the progress bar. | CoreProgress | |
![]() | setSize(w:Number, h:Number):void
Sets the virtual width (w) and height (h) values of the component. | Background | |
![]() | setStyle(... args):void
Sets the style property on the style declaration or object. | CoreComponent | |
![]() | show():void
Shows the component. | CoreComponent | |
![]() | unlock():void [override]
Unlocks the display. | CoreComponent | |
![]() | unregisterView():void
Unregisters the view of this component. | CoreComponent | |
![]() | update():void [override]
Updates the component. | CoreComponent | |
![]() | viewChanged():void [override]
Invoked when the view of the display is changed. | CoreProgress | |
![]() | viewDestroyed(e:Event = null):void
Invoked when the component is removed. | CoreComponent | |
![]() | viewEnabled():void
Invoked when the enabled property of the component change. | Background | |
![]() | viewPositionChanged(flag:Boolean = false):void
Invoked when the position of the bar is changed. | CoreProgress | |
![]() | viewResize():void
Invoked when the component is resized. | Background | |
![]() | viewStyleChanged(e:Event = null):void
Invoked when the component Style changed. | CoreComponent | |
| CoreProgressbar | () | Constructor |
public function CoreProgressbar(direction:String = horizontal, w:Number = 150, h:Number = 6)Creates a new CoreProgressbar instance.
Parametersdirection:String (default = horizontal) — The direction value of the bar ("horizontal" or "vertical", see graphics.Direction).
| |
w:Number (default = 150) — The prefered width of the button (default 150 pixels).
| |
h:Number (default = 6) — The prefered height of the button (default 6 pixels).
|