Packagelunas.core
Classpublic class AbstractProgress
InheritanceAbstractProgress Inheritance AbstractComponent Inheritance CoreSprite Inheritance flash.display.Sprite
ImplementsIProgress
SubclassesAbstractProgressbar

This class provides a skeletal implementation of all the IProgress display components, to minimize the effort required to implement this interface.



Public Properties
 PropertyDefined by
  autoResetPosition : Boolean = false
This flag indicates of the position is auto reset.
AbstractProgress
 Inheritedborder : EdgeMetrics
Indicates the thickness, in pixels, of the four edge regions around a visual component.
AbstractComponent
 Inheritedbubbles : Boolean = true
Indicates if the events use bubbling when are dispatched.
AbstractComponent
 Inheritedbuilder : IBuilder
Indicates the IBuilder reference of this instance.
AbstractComponent
 InheritedcomponentInspectorSetting : Boolean
Initialize when the Flash component settings are initialized (only in Flash with a compiled component).
AbstractComponent
 Inheritedenabled : Boolean
Indicates the enabled state of the component.
AbstractComponent
 Inheritedgroup : Boolean
Indicates with a boolean if this object is grouped.
AbstractComponent
 InheritedgroupName : String
Indicates the name of the group of this object.
AbstractComponent
 Inheritedh : Number
(read-only) Indicates the virtual height value of this component.
AbstractComponent
 Inheritedid : *
Returns the id of this object.
CoreSprite
 InheritedisConfigurable : Boolean
Indicates if the display is configurable.
CoreSprite
 InheritedmaxHeight : Number
This property defined the maximum height of this component.
AbstractComponent
  maximum : Number
(Read-write) The maximum value of this scrollbar.
AbstractProgress
 InheritedmaxWidth : Number
This property defined the maximum width of this component.
AbstractComponent
 InheritedminHeight : Number
This property defined the mimimun height of this component.
AbstractComponent
  minimum : Number
(Read-write) The minimum value of this scrollbar.
AbstractProgress
 InheritedminWidth : Number
This property defined the mimimun width of this component.
AbstractComponent
  position : Number
Indicates the position of the progress bar.
AbstractProgress
 Inheritedstyle : IStyle
Returns the style of this component.
AbstractComponent
 Inheritedw : Number
(read-only) Indicates the virtual width value of this component.
AbstractComponent
Protected Properties
 PropertyDefined by
 Inherited_h : Number = 0
The protected virtual height value of the component.
AbstractComponent
  _max : Number = 100
The max value of the progress.
AbstractProgress
  _min : Number = 0
The min value of the progress.
AbstractProgress
  _position : Number = 0
The position value of the bar.
AbstractProgress
 Inherited_w : Number = 0
The protected virtual width value of the component.
AbstractComponent
Public Methods
 MethodDefined by
  
AbstractProgress(id:* = null, isConfigurable:Boolean = false, name:String = null)
Creates a new AbstractProgressbar instance.
AbstractProgress
 Inherited
doLater():void
Launch an event with a delayed interval.
AbstractComponent
 Inherited
draw(... arguments):void
Draw the view of the component.
AbstractComponent
 Inherited
Returns the IBuilder constructor use to initialize this component.
AbstractComponent
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreSprite
 Inherited
Returns the IStyle constructor use to initialize this component.
AbstractComponent
 Inherited
Invoked when the group property or the groupName property changed.
AbstractComponent
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreSprite
 Inherited
hide():void
Hides the component.
AbstractComponent
 Inherited
initialize():void
Initialize the component.
AbstractComponent
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreSprite
 Inherited
isVisible():Boolean
Returns true if the component is visible.
AbstractComponent
 Inherited
lock():void
Locks the object.
CoreSprite
 Inherited
move(x:Number, y:Number):void
Moves the component.
AbstractComponent
 Inherited
Notify a change in this component.
AbstractComponent
 Inherited
Notify an event when the enabled property is changed.
AbstractComponent
 Inherited
Notify an event when you resize the component.
AbstractComponent
 Inherited
refresh(init:*):void
Refresh the component with an object of initialization.
AbstractComponent
 Inherited
resetLock():void
Reset the lock security of the display.
CoreSprite
 Inherited
setLogger(log:ILogger = null):void
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
 Inherited
setSize(w:Number, h:Number):void
Sets the virtuals width and height of the component.
AbstractComponent
 Inherited
setStyle(... args):void
Sets the style property on the style declaration or object.
AbstractComponent
 Inherited
setup():void
Setup the IConfigurable object.
CoreSprite
 Inherited
show():void
Shows the component.
AbstractComponent
 Inherited
toString():String
Returns the String representation of this object.
CoreSprite
 Inherited
unlock():void
Unlocks the display.
CoreSprite
 Inherited
update():void
Updates the component.
AbstractComponent
  
viewChanged():void
Invoked when the view of the display is changed.
AbstractProgress
 Inherited
viewDestroyed(e:Event = null):void
Invoked when the component is destroyed with a removeMovieClip.
AbstractComponent
 Inherited
viewEnabled():void
Invoked when the enabled property of the component change.
AbstractComponent
  
viewPositionChanged(flag:Boolean = false):void
Invoked when the position of the bar is changed.
AbstractProgress
 Inherited
viewResize():void
Invoked when the component is resized.
AbstractComponent
 Inherited
viewStyleChanged(e:Event = null):void
Invoked when the component IStyle changed.
AbstractComponent
Protected Methods
 MethodDefined by
 Inherited
addedToStage(e:Event = null):void
Invoked when the display is added to the stage.
CoreSprite
 Inherited
fireComponentEvent(type:String):void
Dispatchs a ComponentEvent with the specified type.
AbstractComponent
 Inherited
removedFromStage(e:Event = null):void
Invoked when the display is removed from the stage.
CoreSprite
Property detail
autoResetPositionproperty
public var autoResetPosition:Boolean = false

This flag indicates of the position is auto reset.

_maxproperty 
protected var _max:Number = 100

The max value of the progress.

maximumproperty 
maximum:Number  [read-write]

(Read-write) The maximum value of this scrollbar.

Implementation
    public function get maximum():Number
    public function set maximum(value:Number):void
_minproperty 
protected var _min:Number = 0

The min value of the progress.

minimumproperty 
minimum:Number  [read-write]

(Read-write) The minimum value of this scrollbar.

Implementation
    public function get minimum():Number
    public function set minimum(value:Number):void
_positionproperty 
protected var _position:Number = 0

The position value of the bar.

positionproperty 
position:Number  [read-write]

Indicates the position of the progress bar.

Implementation
    public function get position():Number
    public function set position(value:Number):void
Constructor detail
AbstractProgress()constructor
public function AbstractProgress(id:* = null, isConfigurable:Boolean = false, name:String = null)

Creates a new AbstractProgressbar instance.

Parameters
id:* (default = null) — Indicates the id of the object.
 
isConfigurable:Boolean (default = false) — This flag indicates if the IConfigurable object is register in the ConfigCollector.
 
name:String (default = null) — Indicates the instance name of the object.
Method detail
setPosition()method
public function setPosition(value:Number, noEvent:Boolean = false, flag:Boolean = false):void

Sets the position of the progress bar.

Parameters
value:Number — the position value of the progress bar.
 
noEvent:Boolean (default = false) — (optional) this flag disabled the events of this method if this argument is true
 
flag:Boolean (default = false) — (optional) An optional boolean flag use in the method.
viewChanged()method 
public override function viewChanged():void

Invoked when the view of the display is changed.

viewPositionChanged()method 
public function viewPositionChanged(flag:Boolean = false):void

Invoked when the position of the bar is changed.

Parameters
flag:Boolean (default = false) — (optional) An optional boolean. By default this flag is passed-in the setPosition method.