| Package | com.adobe.cairngorm.control |
| Class | public class CairngormEvent |
| Inheritance | CairngormEvent flash.events.Event |
For more information on how event dispatching works in Cairngorm, please check with CairngormEventDispatcher.
Events are typically broadcast as the result of a user gesture occuring in the application, such as a button click, a menu selection, a double click, a drag and drop operation, etc.
See also
| Property | Defined by | ||
|---|---|---|---|
| data : *
The data property can be used to hold information to be passed with the event
in cases where the developer does not want to extend the CairngormEvent class.
| CairngormEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
CairngormEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor, takes the event name (type) and data object (defaults to null)
and also defaults the standard Flex event properties bubbles and cancelable
to true and false respectively.
| CairngormEvent | ||
| data | property |
public var data:*The data property can be used to hold information to be passed with the event in cases where the developer does not want to extend the CairngormEvent class. However, it is recommended that specific classes are created for each type of event to be dispatched.
| CairngormEvent | () | constructor |
public function CairngormEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Constructor, takes the event name (type) and data object (defaults to null) and also defaults the standard Flex event properties bubbles and cancelable to true and false respectively.
Parameterstype:String |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |