Packagecom.bourre.ioc.assembler.displayobject
Classpublic class DisplayObjectEvent
InheritanceDisplayObjectEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The DisplayObjectEvent class represents the event object passed to the event listener for DisplayObjectBuilder events.

See also

DisplayObjectBuilder


Public Properties
 PropertyDefined by
  onBuildDisplayObjectEVENT : String = "onBuildDisplayObject"
[static] Defines the value of the type property of the event object for a onBuildDisplayObject event.
DisplayObjectEvent
 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
  
DisplayObjectEvent(type:String, d:DisplayObject)
Creates a new DimensionEvent object.
DisplayObjectEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
getDisplayObject():DisplayObject
Returns the display object carried by this event.
DisplayObjectEvent
 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
Property detail
onBuildDisplayObjectEVENTproperty
public static var onBuildDisplayObjectEVENT:String = "onBuildDisplayObject"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getDisplayObject() The display object
Constructor detail
DisplayObjectEvent()constructor
public function DisplayObjectEvent(type:String, d:DisplayObject)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new DimensionEvent object.

Parameters
type:String — Name of the event type
 
d:DisplayObject — Display object carried by this event
Method detail
getDisplayObject()method
public function getDisplayObject():DisplayObject

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the display object carried by this event.

Returns
DisplayObject — The display value carried by this event.