| Package | org.juicekit.events |
| Class | public final class JuiceKitEvent |
| Inheritance | JuiceKitEvent flash.events.Event |
| Method | Defined by | ||
|---|---|---|---|
|
JuiceKitEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
| JuiceKitEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| DATA_ROOT_CHANGE : String = "dataRootChange" [static]
The
JuiceKitEvent.DATA_ROOT_CHANGE constant defines the
value of the type property of the event object for
an dataRootChange event. | JuiceKitEvent | ||
| JuiceKitEvent | () | constructor |
public function JuiceKitEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Constructor.
Parameterstype:String — The event type; indicates the action that caused the event.
|
|
bubbles:Boolean (default = false) — Specifies whether the event can bubble up
the display list hierarchy.
|
|
cancelable:Boolean (default = false) — Specifies whether the behavior
associated with the event can be prevented.
|
| DATA_ROOT_CHANGE | constant |
public static const DATA_ROOT_CHANGE:String = "dataRootChange"
The JuiceKitEvent.DATA_ROOT_CHANGE constant defines the
value of the type property of the event object for
an dataRootChange event. The dataRootChange
event is primarily used for data binding.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |