| Package | com.bourre.ioc.assembler.method |
| Class | public class MethodEvent |
| Inheritance | MethodEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
See also
| Method | Defined by | ||
|---|---|---|---|
|
MethodEvent(type:String, id:String, method:Method = null)
Creates a new
MethodEvent object. | MethodEvent | ||
![]() |
clone():Event
Clone the event
| BasicEvent | |
|
getExpertID():String
Returns method ID.
| MethodEvent | ||
|
Returns the method object carried by this event.
| MethodEvent | ||
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this instance.
| BasicEvent | |
| Constant | Defined 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 | ||
| 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.
type:String — Name of the event type
|
|
id:String — Registration ID
|
|
method:Method (default = null) — Method object carried by this event
|
| getExpertID | () | method |
public function getExpertID():String
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns method ID.
ReturnsString |
| 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.
ReturnsMethod —
The method value carried by this event.
|
| onRegisterMethodEVENT | constant |
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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getExpertID()
| The method ID |
getMethod()
| The method object |
| onUnregisterMethodEVENT | constant |
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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getExpertID()
| The method ID |
getMethod()
| The method object |