Package | org.spicefactory.lib.command |
Interface | public interface SuspendableCommand extends CancellableCommand, AsyncCommand, Command, flash.events.IEventDispatcher |
Implementors | AbstractSuspendableCommand |
Property | Defined By | ||
---|---|---|---|
active : Boolean [read-only]
Indicates whether this command is currently executing. | AsyncCommand | ||
suspended : Boolean [read-only]
Indicates whether this command is currently suspended. | SuspendableCommand |
Method | Defined By | ||
---|---|---|---|
cancel():void
Cancels the command. | CancellableCommand | ||
execute():void
Executes the command. | Command | ||
resume():void
Resumes the command. | SuspendableCommand | ||
suspend():void
Suspends the command. | SuspendableCommand |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the command is resumed. | SuspendableCommand | |||
Dispatched when the command is suspended. | SuspendableCommand |
suspended | property |
suspended:Boolean
[read-only] Indicates whether this command is currently suspended.
public function get suspended():Boolean
resume | () | method |
public function resume():void
Resumes the command. Calling this method only has an effect if the command is currently suspended.
suspend | () | method |
public function suspend():void
Suspends the command. Calling this method only has an effect if the command is currently executing.
resume | Event |
org.spicefactory.lib.command.events.CommandEvent
Dispatched when the command is resumed.
suspend | Event |
org.spicefactory.lib.command.events.CommandEvent
Dispatched when the command is suspended.