Package | org.spicefactory.parsley.command.impl |
Class | public class DefinitionBasedCommandProxy |
Inheritance | DefinitionBasedCommandProxy DefaultCommandProxy AbstractCommandExecutor AbstractSuspendableCommand AbstractCancellableCommand AbstractAsyncCommand flash.events.EventDispatcher |
Implements | ManagedCommandProxy |
Property | Defined By | ||
---|---|---|---|
active : Boolean [read-only]
Indicates whether this command is currently executing. | AbstractAsyncCommand | ||
cancellable : Boolean [read-only]
Indicates whether this executor can be cancelled. | AbstractCommandExecutor | ||
description : String [write-only]
A description of the command executed by this proxy. | DefaultCommandProxy | ||
domain : ApplicationDomain
The domain to use in case reflection on the command classes
this exeutor deals with is required. | AbstractCommandExecutor | ||
id : String [read-only]
The id the command is registered with in the Context. | DefinitionBasedCommandProxy | ||
suspendable : Boolean [read-only]
Indicates whether this executor can be suspended. | AbstractCommandExecutor | ||
suspended : Boolean [read-only]
Indicates whether this command is currently suspended. | AbstractSuspendableCommand | ||
target : Command
The target command executed by this proxy. | DefaultCommandProxy | ||
timeout : uint
The timeout in milliseconds. | DefaultCommandProxy | ||
type : Class [write-only]
The type of comamnd that this proxy should execute. | DefaultCommandProxy |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | DefinitionBasedCommandProxy | ||
addData(value:Object):void
Adds a value to this executor that can get passed to any command
executed by this instance. | AbstractCommandExecutor | ||
cancel():void
Cancels the command. | AbstractCancellableCommand | ||
execute():void
Starts the execution of this command. | AbstractAsyncCommand | ||
Method that may be called by frameworks before executing this command to hook
into the lifecycle and data handling of this executor. | AbstractCommandExecutor | ||
resume():void
Resumes the command. | AbstractSuspendableCommand | ||
suspend():void
Suspends the command. | AbstractSuspendableCommand |
id | property |
id:String
[read-only] The id the command is registered with in the Context.
public function get id():String
DefinitionBasedCommandProxy | () | Constructor |
public function DefinitionBasedCommandProxy(target:DynamicObjectDefinition)
Creates a new instance.
Parameterstarget:DynamicObjectDefinition — the definition of the target command
|