| Package | lunas.events |
| Class | public class ComponentEvent |
| Inheritance | ComponentEvent BasicEvent flash.events.Event |
| Subclasses | ButtonEvent |
| Property | Defined By | ||
|---|---|---|---|
| CHANGE : String = change [static]
Defines the value of the type property of a 'change' event object. | ComponentEvent | ||
| CLEAR : String = clear [static]
Defines the value of the type property of a 'clear' event object. | ComponentEvent | ||
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| ENABLED : String = enabled [static]
Defines the value of the type property of an 'enabled' component. | ComponentEvent | ||
| ENTER : String = enter [static]
Defines the value of the type property of an 'enter' component. | ComponentEvent | ||
| HIDE : String = hide [static]
Defines the value of the type property of an 'hide' component. | ComponentEvent | ||
| ICON_CHANGE : String = iconChange [static]
Defines the value of the type property of an icon change event object. | ComponentEvent | ||
| LABEL_CHANGE : String = labelChange [static]
Defines the value of the type property of a label change event object. | ComponentEvent | ||
| MOVE : String = move [static]
Defines the value of the type property of an 'move' component. | ComponentEvent | ||
| PROGRESS : String = progress [static]
Defines the value of the type property of a 'progress' event object. | ComponentEvent | ||
| RESIZE : String = resize [static]
Defines the value of the type property of an 'resize' component. | ComponentEvent | ||
| SCROLL : String = scroll [static]
Defines the value of the type property of an 'scroll' component. | ComponentEvent | ||
| SHOW : String = show [static]
Defines the value of the type property of an 'show' component. | ComponentEvent | ||
![]() | target : Object [override]
Indicates the custom event target. | BasicEvent | |
![]() | timeStamp : uint [read-only]
Indicates the timestamp of the event. | BasicEvent | |
![]() | type : String [override]
Returns the type of event. | BasicEvent | |
| Method | Defined By | ||
|---|---|---|---|
ComponentEvent(type:String, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)
Creates a new ComponentEvent instance. | ComponentEvent | ||
clone():Event [override]
Returns the shallow copy of this event. | ComponentEvent | ||
![]() | dispatch(channel:String = null):void
Dispatch the event with the global event flow. | BasicEvent | |
![]() | toString():String [override]
Returns the string representation of this event. | BasicEvent | |
| CHANGE | property |
public static var CHANGE:String = changeDefines the value of the type property of a 'change' event object.
| CLEAR | property |
public static var CLEAR:String = clearDefines the value of the type property of a 'clear' event object.
| ENABLED | property |
public static var ENABLED:String = enabledDefines the value of the type property of an 'enabled' component.
| ENTER | property |
public static var ENTER:String = enterDefines the value of the type property of an 'enter' component.
| HIDE | property |
public static var HIDE:String = hideDefines the value of the type property of an 'hide' component.
| ICON_CHANGE | property |
public static var ICON_CHANGE:String = iconChangeDefines the value of the type property of an icon change event object.
| LABEL_CHANGE | property |
public static var LABEL_CHANGE:String = labelChangeDefines the value of the type property of a label change event object.
| MOVE | property |
public static var MOVE:String = moveDefines the value of the type property of an 'move' component.
| PROGRESS | property |
public static var PROGRESS:String = progressDefines the value of the type property of a 'progress' event object.
| RESIZE | property |
public static var RESIZE:String = resizeDefines the value of the type property of an 'resize' component.
| SCROLL | property |
public static var SCROLL:String = scrollDefines the value of the type property of an 'scroll' component.
| SHOW | property |
public static var SHOW:String = showDefines the value of the type property of an 'show' component.
| ComponentEvent | () | Constructor |
public function ComponentEvent(type:String, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)Creates a new ComponentEvent instance.
Parameterstype:String — the string type of the instance.
| |
target:Object (default = null) — the target of the event.
| |
context:* (default = null) — the optional context object of the event.
| |
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
| |
cancelable:Boolean (default = false) — indicates if the event is a cancelable event.
| |
time:Number (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
|
| clone | () | method |
override public function clone():EventReturns the shallow copy of this event.
ReturnsEvent — the shallow copy of this event.
|