DynBasicEvent

Kind of class:public dynamic class
Package:com.bourre.events
Inherits from:BasicEvent < Event
Author:Francis Bourre
Classpath:com.bourre.events.DynBasicEvent
File last modified:Monday, 24 November 2008, 11:36:53
The DynBasicEvent class extends the

BasicEvent class and make it dynamic.

The DynBasicEvent class is used by
the EventBroadcaster.dispatchEventfunction, which dispatch event using anonymous object,
the event object is then decorated with the object
properties and finally broadcasted as any other event
object.

Summary


Constructor
  • DynBasicEvent (type:String, target:Object = null)
    • Creates a new DynBasicEvent event for the
Instance properties
Instance properties inherited from BasicEvent
Instance methods
  • toString : String
    • Returns the string representation of this instance.
Instance methods inherited from BasicEvent

Constructor

DynBasicEvent

public function DynBasicEvent (
type:String, target:Object = null)

Creates a new DynBasicEvent event for the
passed-in event type. The target is optional,
if the target is omitted and the event used in combination
with the EventBroadcaster class, the event
target will be set on the event broadcaster source.
Parameters:
type :
String name of the event
target:
an object considered as source for this event

Instance methods

toString

override public function toString (
) : String

Returns the string representation of this instance.
Returns:
  • the string representation of this instance