Package | org.spicefactory.lib.command.proxy |
Class | public class DefaultCommandProxy |
Inheritance | DefaultCommandProxy AbstractCommandExecutor AbstractSuspendableCommand AbstractCancellableCommand AbstractAsyncCommand flash.events.EventDispatcher |
Implements | CommandProxy |
Subclasses | DefaultManagedCommandProxy, DefinitionBasedCommandProxy |
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 | ||
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 |
description | property |
description:String
[write-only] A description of the command executed by this proxy.
public function set description(value:String):void
target | property |
target:Command
The target command executed by this proxy.
public function get target():Command
public function set target(value:Command):void
timeout | property |
timeout:uint
The timeout in milliseconds. A value of 0 disables the timeout.
public function get timeout():uint
public function set timeout(value:uint):void
type | property |
type:Class
[write-only]
The type of comamnd that this proxy should execute.
The type
and target
properties
are mutually exclusive.
public function set type(value:Class):void