Packagecom.bourre.ioc.assembler.constructor
Classpublic class ConstructorEvent
InheritanceConstructorEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The ConstructorEvent class represents the event object passed to the event listener for ConstructorExpert events.

See also

ConstructorExpert


Public Properties
 PropertyDefined by
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
ConstructorEvent(type:String, id:String, constructor:Constructor = null)
Creates a new ConstructorEvent object.
ConstructorEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
Returns the constructor object carried by this event.
ConstructorEvent
  
getExpertID():String
Returns constructor ID.
ConstructorEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Public Constants
 ConstantDefined by
  onRegisterConstructorEVENT : String = "onRegisterConstructor"
[static] Defines the value of the type property of the event object for a onRegisterConstructor event.
ConstructorEvent
  onUnregisterConstructorEVENT : String = "onUnregisterConstructor"
[static] Defines the value of the type property of the event object for a onUnregisterConstructor event.
ConstructorEvent
Constructor detail
ConstructorEvent()constructor
public function ConstructorEvent(type:String, id:String, constructor:Constructor = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new ConstructorEvent object.

Parameters
type:String — Name of the event type
 
id:String — Registration ID
 
constructor:Constructor (default = null) — Constructor object carried by this event
Method detail
getConstructor()method
public function getConstructor():Constructor

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the constructor object carried by this event.

Returns
Constructor — The constructor value carried by this event.
getExpertID()method 
public function getExpertID():String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns constructor ID.

Returns
String
Constant detail
onRegisterConstructorEVENTconstant
public static const onRegisterConstructorEVENT:String = "onRegisterConstructor"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onRegisterConstructor event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getExpertID() The constructor ID
getConstructor() The constructor object
onUnregisterConstructorEVENTconstant 
public static const onUnregisterConstructorEVENT:String = "onUnregisterConstructor"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onUnregisterConstructor event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getExpertID() The constructor ID
getConstructor() The constructor object