ActionEvent
Kind of class: | public class |
---|---|
Package: | |
Inherits from: |
|
Dispatched by: | |
Classpath: | org.asaplibrary.util.actionqueue.ActionEvent |
File last modified: | Wednesday, 11 May 2011, 18:48:39 |
Event object sent by Action and TimedAction classes. Subscribe to type
_EVENT
.Summary
Constructor
-
ActionEvent
(inSubtype:String, inAction:IAction = null, inMarkerName:String = null)
- Creates a new ActionEvent.
Constants
-
_EVENT
: String
- Event type.
-
STARTED
: String
- Event subtype sent when the Action has started.
-
FINISHED
: String
- Event subtype sent when the Action has finished.
-
QUIT
: String
- Event subtype sent when the Action has been quit (from outside).
-
PAUSED
: String
- Event subtype sent when the Action has been paused.
-
RESUMED
: String
- Event subtype sent when the paused Action has been resumed.
-
STOPPED
: String
- Event subtype sent when the Action has been stopped (from outside).
-
MARKER_VISITED
: String
- Event subtype when sent when a marker has been passed (currently only with ActionQueue.
-
CONDITION_MARKER
: String
- Event subtype sent when a Condition has been met.
Instance properties
- name : String
- subtype : String
- action : IAction
- markerName : String
Instance methods
-
clone
() : Event
- Creates a copy of an existing ActionEvent.
Constructor
ActionEvent
function ActionEvent(inSubtype:String,
inAction:IAction = null,
inMarkerName:String = null)
Creates a new ActionEvent.
Parameters
inSubtype :either subtype; see above
inMarkerName:(optional) name of the Marker (currently only used by ActionQueue)
Constants
CONDITION_MARKER
static const CONDITION_MARKER:String = "onActionConditionMarker"
Event subtype sent when a Condition has been met.
FINISHED
static const FINISHED:String = "onActionFinished"
Event subtype sent when the Action has finished.
MARKER_VISITED
static const MARKER_VISITED:String = "onActionMarkerVisited"
Event subtype when sent when a marker has been passed (currently only with ActionQueue.
PAUSED
static const PAUSED:String = "onActionPaused"
Event subtype sent when the Action has been paused.
QUIT
static const QUIT:String = "onActionQuit"
Event subtype sent when the Action has been quit (from outside).
RESUMED
static const RESUMED:String = "onActionResumed"
Event subtype sent when the paused Action has been resumed.
STARTED
static const STARTED:String = "onActionStarted"
Event subtype sent when the Action has started.
STOPPED
static const STOPPED:String = "onActionStopped"
Event subtype sent when the Action has been stopped (from outside).
_EVENT
static const _EVENT:String = "onActionEvent"
Event type.
Instance properties
action
action:IAction(read,write)
markerName
markerName:String(read,write)
name
name:String(read,write)
subtype
subtype:String(read,write)
Instance methods
clone
override function clone() : Event
Creates a copy of an existing ActionEvent.
Overrides
- Event.clone