Packagecom.bourre.ioc.bean
Classpublic class BeanEvent
InheritanceBeanEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The BeanEvent class represents the event object passed to the event listener for BeanFactory events.

See also

BeanFactory


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
  
BeanEvent(type:String, id:String, bean:Object)
Creates instance.
BeanEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
getBean():Object
Returns bean object value.
BeanEvent
  
getID():String
Returns bean object ID.
BeanEvent
 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
  onRegisterBeanEVENT : String = "onRegisterBean"
[static] Defines the value of the type property of the event object for a onRegisterBean event.
BeanEvent
  onUnregisterBeanEVENT : String = "onUnregisterBean"
[static] Defines the value of the type property of the event object for a onUnregisterBean event.
BeanEvent
Constructor detail
BeanEvent()constructor
public function BeanEvent(type:String, id:String, bean:Object)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates instance.

Parameters
type:String
 
id:String
 
bean:Object
Method detail
getBean()method
public function getBean():Object

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns bean object value.

Returns
Object
getID()method 
public function getID():String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns bean object ID.

Returns
String
Constant detail
onRegisterBeanEVENTconstant
public static const onRegisterBeanEVENT:String = "onRegisterBean"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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

onUnregisterBeanEVENTconstant 
public static const onUnregisterBeanEVENT:String = "onUnregisterBean"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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