ObjectEvent

Kind of class:public class
Package:com.bourre.events
Inherits from:BasicEvent < Event
Author:Axel Aigret
Classpath:com.bourre.events.ObjectEvent
File last modified:Monday, 24 November 2008, 11:36:53
An event object which carry any object.
See also:
  • com.bourre.events.BasicEvent

Summary


Constructor
  • ObjectEvent (sType:String, oTarget:Object = null, o:Object = null)
    • Creates a new ObjectEvent object.
Instance properties
Instance properties inherited from BasicEvent
Instance methods
  • getObject : Object
    • Returns the object carried by this event.
  • clone : Event
    • Clone the event
Instance methods inherited from BasicEvent

Constructor

ObjectEvent

public function ObjectEvent (
sType:String, oTarget:Object = null, o:Object = null)

Creates a new ObjectEvent object.
Parameters:
type :
name of the event type
target:
target of this event
o :
object carried by this event

Instance methods

clone

override public function clone (
) : Event

Clone the event
Returns:
  • a clone of the event
Overrides:

getObject

public function getObject (
) : Object

Returns the object carried by this event.
Returns:
  • the object carried by this event.