Packagesystem.ioc
Classpublic class ObjectReceiver
InheritanceObjectReceiver Inheritance Object

This object defines a receiver definition in an object definition.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property Detail
autoDisconnectproperty
public var autoDisconnect:Boolean

Indicates if the receiver (slot) is auto disconnect by the signal.

orderproperty 
order:String

The order of the receiver registration ('after' or by default 'before').


Implementation
    public function get order():String
    public function set order(value:String):void
priorityproperty 
public var priority:int

Determines the priority level of the event listener.

signalproperty 
public var signal:String

The id of the signal to connect in the IoC factory.

slotproperty 
public var slot:String

The id of the receiver of function to connect in the IoC factory.

Constructor Detail
ObjectReceiver()Constructor
public function ObjectReceiver(signal:String, slot:String = null, priority:int = 0, autoDisconnect:Boolean = false, order:String = after)

Creates a new ObjectReceiver instance.

Parameters
signal: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).
Method Detail
toString()method
public function toString():String

Returns the String representation of the object.

Returns
String — the String representation of the object.
Constant Detail
AUTO_DISCONNECTConstant
public static const AUTO_DISCONNECT:String = autoDisconnect

Defines the "autoDisconnect" attribute in a receiver object definition.

ORDERConstant 
public static const ORDER:String = order

Defines the "order" attribute in a receiver object definition.

PRIORITYConstant 
public static const PRIORITY:String = priority

Defines the "priority" attribute in a receiver object definition.

SIGNALConstant 
public static const SIGNAL:String = signal

Defines the "signal" attribute in a receiver object definition.

SLOTConstant 
public static const SLOT:String = slot

Defines the "slot" attribute in a receiver object definition.