Packagecom.bourre.ioc.assembler.method
Classpublic class MethodEvent
InheritanceMethodEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The MethodEvent class represents the event object passed to the event listener for MethodExpert events.

See also

MethodExpert


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
  
MethodEvent(type:String, id:String, method:Method = null)
Creates a new MethodEvent object.
MethodEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
getExpertID():String
Returns method ID.
MethodEvent
  
Returns the method object carried by this event.
MethodEvent
 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
  onRegisterMethodEVENT : String = "onRegisterMethod"
[static] Defines the value of the type property of the event object for a onRegisterMethod event.
MethodEvent
  onUnregisterMethodEVENT : String = "onUnregisterMethod"
[static] Defines the value of the type property of the event object for a onUnregisterMethod event.
MethodEvent
Constructor detail
MethodEvent()constructor
public function MethodEvent(type:String, id:String, method:Method = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new MethodEvent object.

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

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns method ID.

Returns
String
getMethod()method 
public function getMethod():Method

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the method object carried by this event.

Returns
Method — The method value carried by this event.
Constant detail
onRegisterMethodEVENTconstant
public static const onRegisterMethodEVENT:String = "onRegisterMethod"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getExpertID() The method ID
getMethod() The method object
onUnregisterMethodEVENTconstant 
public static const onUnregisterMethodEVENT:String = "onUnregisterMethod"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getExpertID() The method ID
getMethod() The method object