| Package | system.ioc |
| Class | public class ObjectReceiver |
| Inheritance | ObjectReceiver Object |
| Property | Defined By | ||
|---|---|---|---|
| autoDisconnect : Boolean
Indicates if the receiver (slot) is auto disconnect by the signal. | ObjectReceiver | ||
| order : String
The order of the receiver registration ('after' or by default 'before'). | ObjectReceiver | ||
| priority : int
Determines the priority level of the event listener. | ObjectReceiver | ||
| signal : String
The id of the signal to connect in the IoC factory. | ObjectReceiver | ||
| slot : String
The id of the receiver of function to connect in the IoC factory. | ObjectReceiver | ||
| Method | Defined By | ||
|---|---|---|---|
ObjectReceiver(signal:String, slot:String = null, priority:int = 0, autoDisconnect:Boolean = false, order:String = after)
Creates a new ObjectReceiver instance. | ObjectReceiver | ||
toString():String
Returns the String representation of the object. | ObjectReceiver | ||
| Constant | Defined By | ||
|---|---|---|---|
| AUTO_DISCONNECT : String = autoDisconnect [static]
Defines the "autoDisconnect" attribute in a receiver object definition. | ObjectReceiver | ||
| ORDER : String = order [static]
Defines the "order" attribute in a receiver object definition. | ObjectReceiver | ||
| PRIORITY : String = priority [static]
Defines the "priority" attribute in a receiver object definition. | ObjectReceiver | ||
| SIGNAL : String = signal [static]
Defines the "signal" attribute in a receiver object definition. | ObjectReceiver | ||
| SLOT : String = slot [static]
Defines the "slot" attribute in a receiver object definition. | ObjectReceiver | ||
| autoDisconnect | property |
public var autoDisconnect:BooleanIndicates if the receiver (slot) is auto disconnect by the signal.
| order | property |
order:StringThe order of the receiver registration ('after' or by default 'before').
public function get order():String public function set order(value:String):void| priority | property |
public var priority:intDetermines the priority level of the event listener.
| signal | property |
public var signal:StringThe id of the signal to connect in the IoC factory.
| slot | property |
public var slot:StringThe id of the receiver of function to connect in the IoC factory.
| ObjectReceiver | () | Constructor |
public function ObjectReceiver(signal:String, slot:String = null, priority:int = 0, autoDisconnect:Boolean = false, order:String = after)Creates a new ObjectReceiver instance.
Parameterssignal:String — The id of the signal in the IoC factory.
| |
slot:String (default = null) — The id of the receiver of function to connect in the IoC factory.
| |
priority:int (default = 0) — Determines the priority level of the receiver.
| |
autoDisconnect:Boolean (default = false) — Indicate if the receiver is auto disconnect in the signal when is used.
| |
order:String (default = after) — Indicates the order to connect the receiver "after" or "before" (see the system.ioc.ObjectOrder enumeration class).
|
| toString | () | method |
public function toString():StringReturns the String representation of the object.
ReturnsString — the String representation of the object.
|
| AUTO_DISCONNECT | Constant |
public static const AUTO_DISCONNECT:String = autoDisconnectDefines the "autoDisconnect" attribute in a receiver object definition.
| ORDER | Constant |
public static const ORDER:String = orderDefines the "order" attribute in a receiver object definition.
| PRIORITY | Constant |
public static const PRIORITY:String = priorityDefines the "priority" attribute in a receiver object definition.
| SIGNAL | Constant |
public static const SIGNAL:String = signalDefines the "signal" attribute in a receiver object definition.
| SLOT | Constant |
public static const SLOT:String = slotDefines the "slot" attribute in a receiver object definition.