Packageorg.springextensions.actionscript.core.event
SVN browsingDataEvent.as
FisheyeDataEvent.as
Classpublic class DataEvent
InheritanceDataEvent Inheritance flash.events.Event

The DataEvent class is an Event that carries a data property that can be used as a generic data container for the payload of the event. It is recommended to create event classes with strongly typed data properties however, so use this class only if the type of data is not known.



Documentation reference: the eventbus introduction


Public Properties
 PropertyDefined by
  data : *
DataEvent
Public Methods
 MethodDefined by
  
DataEvent(type:String, data:Boolean = null, bubbles:Boolean = false, cancelable:* = false)
Creates a new DataEvent instance.
DataEvent
  
clone():Event
DataEvent
Property detail
dataproperty
data:*  [read-write]Implementation
    public function get data():*
    public function set data(value:*):void
Constructor detail
DataEvent()constructor
public function DataEvent(type:String, data:Boolean = null, bubbles:Boolean = false, cancelable:* = false)

Creates a new DataEvent instance.

Parameters
type:String — The type of the current DataEvent.
 
data:Boolean (default = null) — The data payload of the current DataEvent.
 
bubbles:Boolean (default = false)
 
cancelable:* (default = false)
Method detail
clone()method
public override function clone():Event

Returns
Event — An exact copy of the current DataEvent.