Package | org.spicefactory.parsley.command |
Class | public class MappedCommandBuilder |
Inheritance | MappedCommandBuilder Object |
Method | Defined By | ||
---|---|---|---|
messageType(type:Class):MappedCommandBuilder
The type of message (including subtypes) that should trigger
command execution. | MappedCommandBuilder | ||
order(order:int):MappedCommandBuilder
The execution order in relation to other message receivers. | MappedCommandBuilder | ||
Registers this mapping with the specified Context. | MappedCommandBuilder | ||
scope(scope:String):MappedCommandBuilder
The name of the scope in which to listen for messages. | MappedCommandBuilder | ||
selector(selector:*):MappedCommandBuilder
The optional selector for mapping matching messages. | MappedCommandBuilder |
messageType | () | method |
public function messageType(type:Class):MappedCommandBuilder
The type of message (including subtypes) that should trigger command execution.
Parameters
type:Class — the type of message that should trigger command execution
|
MappedCommandBuilder — this builder instance for method chaining
|
order | () | method |
public function order(order:int):MappedCommandBuilder
The execution order in relation to other message receivers. This order attribute affects all types of message receivers, not only those that execute commands.
Parameters
order:int — the execution order in relation to other message receivers
|
MappedCommandBuilder — this builder instance for method chaining
|
register | () | method |
public function register(context:Context):void
Registers this mapping with the specified Context.
Parameters
context:Context — the Context this mapping is applied to
|
scope | () | method |
public function scope(scope:String):MappedCommandBuilder
The name of the scope in which to listen for messages.
Parameters
scope:String — the name of the scope in which to listen for messages
|
MappedCommandBuilder — this builder instance for method chaining
|
selector | () | method |
public function selector(selector:*):MappedCommandBuilder
The optional selector for mapping matching messages.
Parameters
selector:* — the selector to use for matching messages
|
MappedCommandBuilder — this builder instance for method chaining
|