| Package | andromeda.events |
| Class | public class ActionEvent |
| Inheritance | ActionEvent BasicEvent flash.events.Event |
| Subclasses | TransitionEvent |
| Property | Defined by | ||
|---|---|---|---|
![]() | context : *
Returns the optional context of this event.
| BasicEvent | |
| info : * [read-only]
(read-only) Returns the info object of this event.
| ActionEvent | ||
![]() | target : Object
Returns the event target.
| BasicEvent | |
![]() | timeStamp : Number
Returns the timestamp of the event.
| BasicEvent | |
![]() | type : String
Returns the type of event.
| BasicEvent | |
| Method | Defined by | ||
|---|---|---|---|
|
ActionEvent(type:String, target:Object = null, info:Boolean = null, context:Boolean = null, bubbles:Number = false, cancelable:* = false, time:* = 0)
Creates a new ActionEvent instance.
| ActionEvent | ||
|
clone():Event
Returns the shallow copy of this object.
| ActionEvent | ||
![]() |
dispatch(channel:String = null):void
Dispatch the event with the global event flow.
| BasicEvent | |
![]() |
getContext():*
Returns the optional context of this event.
| BasicEvent | |
|
getInfo():*
Returns the info object of this event.
| ActionEvent | ||
![]() |
getTarget():Object
Returns the event target.
| BasicEvent | |
![]() |
getTimeStamp():Number
Returns the timestamp of the event.
| BasicEvent | |
![]() |
getType():String
Returns the type of event.
| BasicEvent | |
![]() |
setContext(context:*):void
Sets the optional context object of this event.
| BasicEvent | |
|
setInfo(oInfo:*):void
Sets the info object of this event.
| ActionEvent | ||
![]() |
setTarget(target:Object):void
Sets the event target.
| BasicEvent | |
![]() |
setType(type:String):void
Sets the event type of this event.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this event.
| BasicEvent | |
| Constant | Defined by | ||
|---|---|---|---|
| CHANGE : String = "onChanged" [static]
The name of the event when the process is changed.
| ActionEvent | ||
| CLEAR : String = "onCleared" [static]
The name of the event when the process is cleared.
| ActionEvent | ||
| FINISH : String = "onFinished" [static]
The name of the event when the process is finished.
| ActionEvent | ||
| INFO : String = "onInfo" [static]
The name of the event when the process info is changed.
| ActionEvent | ||
| LOOP : String = "onLooped" [static]
The name of the event when the process is looped.
| ActionEvent | ||
| PAUSE : String = "onPaused" [static]
The name of the event when the process is in pause.
| ActionEvent | ||
| PROGRESS : String = "onProgress" [static]
The name of the event when the process is in progress.
| ActionEvent | ||
| RESUME : String = "onResumed" [static]
The name of the event when the process is resumed.
| ActionEvent | ||
| START : String = "onStarted" [static]
The name of the event when the process is started.
| ActionEvent | ||
| STOP : String = "onStopped" [static]
The name of the event when the process is stopped.
| ActionEvent | ||
| TIMEOUT : String = "onTimeOut" [static]
The name of the event when the process is cleared.
| ActionEvent | ||
| info | property |
info:* [read-only](read-only) Returns the info object of this event.
Implementation public function get info():*
| ActionEvent | () | constructor |
public function ActionEvent(type:String, target:Object = null, info:Boolean = null, context:Boolean = null, bubbles:Number = false, cancelable:* = false, time:* = 0)Creates a new ActionEvent instance.
Parameterstype:String — the string type of the instance.
|
|
target:Object (default = null) — the target of the event.
|
|
info:Boolean (default = null) — The information object of this event.
|
|
context:Boolean (default = null) — the optional context object of the event.
|
|
bubbles:Number (default = false) — indicates if the event is a bubbling event.
|
|
cancelable:* (default = false) — indicates if the event is a cancelable event.
|
|
time:* (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
|
| clone | () | method |
public override function clone():EventReturns the shallow copy of this object.
ReturnsEvent — the shallow copy of this object.
|
| getInfo | () | method |
public function getInfo():*Returns the info object of this event.
Returns* — the info object of this event.
|
| setInfo | () | method |
public function setInfo(oInfo:*):voidSets the info object of this event.
ParametersoInfo:* |
| CHANGE | constant |
public static const CHANGE:String = "onChanged"The name of the event when the process is changed.
| CLEAR | constant |
public static const CLEAR:String = "onCleared"The name of the event when the process is cleared.
| FINISH | constant |
public static const FINISH:String = "onFinished"The name of the event when the process is finished.
| INFO | constant |
public static const INFO:String = "onInfo"The name of the event when the process info is changed.
| LOOP | constant |
public static const LOOP:String = "onLooped"The name of the event when the process is looped.
| PAUSE | constant |
public static const PAUSE:String = "onPaused"The name of the event when the process is in pause.
| PROGRESS | constant |
public static const PROGRESS:String = "onProgress"The name of the event when the process is in progress.
| RESUME | constant |
public static const RESUME:String = "onResumed"The name of the event when the process is resumed.
| START | constant |
public static const START:String = "onStarted"The name of the event when the process is started.
| STOP | constant |
public static const STOP:String = "onStopped"The name of the event when the process is stopped.
| TIMEOUT | constant |
public static const TIMEOUT:String = "onTimeOut"The name of the event when the process is cleared.