Packageorg.springextensions.actionscript.core.command
SVN browsingCompositeCommandKind.as
FisheyeCompositeCommandKind.as
Classpublic final class CompositeCommandKind

Enumeration that defines the different ways an ICompositeCommand can execute its collection of ICommands

See also

CompositeCommand
ICommand


Documentation reference: composite commands


Public Properties
 PropertyDefined by
  name : String
[read-only] Returns the name of the current ComposeiteCommandKind.
CompositeCommandKind
Public Methods
 MethodDefined by
  
CompositeCommandKind(name:String)
Creates a new ComposeiteCommandKind instance.
CompositeCommandKind
  
[static] Returns the ComposeiteCommandKind instance whose name property is equivalent to the specified name argument, or null if the name doesn't exist.
CompositeCommandKind
  
toString():String
Returns a string representation of the current ComposeiteCommandKind.
CompositeCommandKind
Public Constants
 ConstantDefined by
  PARALLEL : CompositeCommandKind
[static] Determines that the ICompositeCommand will execute its collection of command all at the same time.
CompositeCommandKind
  SEQUENCE : CompositeCommandKind
[static] Determines that the ICompositeCommand will execute its collection of command one after the other.
CompositeCommandKind
Property detail
nameproperty
name:String  [read-only]

Returns the name of the current ComposeiteCommandKind.

Implementation
    public function get name():String
Constructor detail
CompositeCommandKind()constructor
public function CompositeCommandKind(name:String)

Creates a new ComposeiteCommandKind instance. Do not call this constructor directly, it is only used internally the create the appropriate instances.

Parameters
name:String — The string representation of the current ComposeiteCommandKind instance.
Method detail
fromName()method
public static function fromName(name:String):CompositeCommandKind

Returns the ComposeiteCommandKind instance whose name property is equivalent to the specified name argument, or null if the name doesn't exist.

Parameters
name:String — the specified name.

Returns
CompositeCommandKind — The ComposeiteCommandKind instance whose name property is equivalent to the specified name argument, or null if the name doesn't exist.
toString()method 
public function toString():String

Returns a string representation of the current ComposeiteCommandKind.

Returns
String — A string representation of the current ComposeiteCommandKind.
Constant detail
PARALLELconstant
public static const PARALLEL:CompositeCommandKind

Determines that the ICompositeCommand will execute its collection of command all at the same time.

SEQUENCEconstant 
public static const SEQUENCE:CompositeCommandKind

Determines that the ICompositeCommand will execute its collection of command one after the other.