| Package | lunas.events |
| Class | public class ButtonEvent |
| Inheritance | ButtonEvent ComponentEvent BasicEvent flash.events.Event |
| 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 | |
| CLICK : String = click [static]
Defines the value of the type property of a click event object. | ButtonEvent | ||
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| DESELECT : String = deselect [static]
Defines the value of the type property of deselect event object. | ButtonEvent | ||
| DISABLED : String = disabled [static]
Defines the value of the type property of a disabled component. | ButtonEvent | ||
| DOUBLE_CLICK : String = doubleClick [static]
Defines the value of the type property of a doubleClick event object. | ButtonEvent | ||
| DOWN : String = down [static]
Defines the value of the type property of a down event object. | ButtonEvent | ||
| DRAG : String = drag [static]
Defines the value of the type property of a drag event object. | ButtonEvent | ||
![]() | 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 | |
| MOUSE_DOWN : String = mouseDown [static]
Defines the value of the type property of a mouseDown event object. | ButtonEvent | ||
| MOUSE_MOVE : String = mouseMove [static]
Defines the value of the type property of a mouseMove event object. | ButtonEvent | ||
| MOUSE_OUT : String = mouseOut [static]
Defines the value of the type property of a mouseOut event object. | ButtonEvent | ||
| MOUSE_OVER : String = mouseOver [static]
Defines the value of the type property of a mouseOver event object. | ButtonEvent | ||
| MOUSE_UP : String = mouseUp [static]
Defines the value of the type property of a mouseUp event object. | ButtonEvent | ||
![]() | MOVE : String = move [static]
Defines the value of the type property of an 'move' component. | ComponentEvent | |
| OUT : String = out [static]
Defines the value of the type property of an out event object. | ButtonEvent | ||
| OUT_SELECTED : String = outSelected [static]
Defines the value of the type property of an out selected event object. | ButtonEvent | ||
| OVER : String = over [static]
Defines the value of the type property of an over event object. | ButtonEvent | ||
| OVER_SELECTED : String = overSelected [static]
Defines the value of the type property of a over selected event object. | ButtonEvent | ||
| PRESS : String = press [static]
Defines the value of the type property of a press event object. | ButtonEvent | ||
![]() | PROGRESS : String = progress [static]
Defines the value of the type property of a 'progress' event object. | ComponentEvent | |
| RELEASE : String = release [static]
Defines the value of the type property of a release event object. | ButtonEvent | ||
| RELEASE_OUTSIDE : String = releaseOutside [static]
Defines the value of the type property of a releaseOutside event object. | ButtonEvent | ||
![]() | RESIZE : String = resize [static]
Defines the value of the type property of an 'resize' component. | ComponentEvent | |
| ROLL_OUT : String = rollOut [static]
Defines the value of the type property of a rollOut event object. | ButtonEvent | ||
| ROLL_OVER : String = rollOver [static]
Defines the value of the type property of a rollOver event object. | ButtonEvent | ||
![]() | SCROLL : String = scroll [static]
Defines the value of the type property of an 'scroll' component. | ComponentEvent | |
| SELECT : String = select [static]
Defines the value of the type property of a select event object. | ButtonEvent | ||
![]() | SHOW : String = show [static]
Defines the value of the type property of an 'show' component. | ComponentEvent | |
| START_DRAG : String = startDrag [static]
Defines the value of the type property of a start drag event object. | ButtonEvent | ||
| STOP_DRAG : String = stopDrag [static]
Defines the value of the type property of a stop drag event object. | ButtonEvent | ||
![]() | 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 | |
| UNSELECT : String = unselect [static]
Defines the value of the type property of an unselect event object. | ButtonEvent | ||
| UP : String = up [static]
Defines the value of the type property of an 'up' event object. | ButtonEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ButtonEvent(type:String, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)
Creates a new ButtonEvent instance. | ButtonEvent | ||
clone():Event [override]
Returns the shallow copy of this event. | ButtonEvent | ||
![]() | 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 | |
| CLICK | property |
public static var CLICK:String = clickDefines the value of the type property of a click event object.
| DESELECT | property |
public static var DESELECT:String = deselectDefines the value of the type property of deselect event object.
| DISABLED | property |
public static var DISABLED:String = disabledDefines the value of the type property of a disabled component.
| DOUBLE_CLICK | property |
public static var DOUBLE_CLICK:String = doubleClickDefines the value of the type property of a doubleClick event object.
| DOWN | property |
public static var DOWN:String = downDefines the value of the type property of a down event object.
| DRAG | property |
public static var DRAG:String = dragDefines the value of the type property of a drag event object.
| MOUSE_DOWN | property |
public static var MOUSE_DOWN:String = mouseDownDefines the value of the type property of a mouseDown event object.
| MOUSE_MOVE | property |
public static var MOUSE_MOVE:String = mouseMoveDefines the value of the type property of a mouseMove event object.
| MOUSE_OUT | property |
public static var MOUSE_OUT:String = mouseOutDefines the value of the type property of a mouseOut event object.
| MOUSE_OVER | property |
public static var MOUSE_OVER:String = mouseOverDefines the value of the type property of a mouseOver event object.
| MOUSE_UP | property |
public static var MOUSE_UP:String = mouseUpDefines the value of the type property of a mouseUp event object.
| OUT | property |
public static var OUT:String = outDefines the value of the type property of an out event object.
| OUT_SELECTED | property |
public static var OUT_SELECTED:String = outSelectedDefines the value of the type property of an out selected event object.
| OVER | property |
public static var OVER:String = overDefines the value of the type property of an over event object.
| OVER_SELECTED | property |
public static var OVER_SELECTED:String = overSelectedDefines the value of the type property of a over selected event object.
| PRESS | property |
public static var PRESS:String = pressDefines the value of the type property of a press event object.
| RELEASE | property |
public static var RELEASE:String = releaseDefines the value of the type property of a release event object.
| RELEASE_OUTSIDE | property |
public static var RELEASE_OUTSIDE:String = releaseOutsideDefines the value of the type property of a releaseOutside event object.
| ROLL_OUT | property |
public static var ROLL_OUT:String = rollOutDefines the value of the type property of a rollOut event object.
| ROLL_OVER | property |
public static var ROLL_OVER:String = rollOverDefines the value of the type property of a rollOver event object.
| SELECT | property |
public static var SELECT:String = selectDefines the value of the type property of a select event object.
| START_DRAG | property |
public static var START_DRAG:String = startDragDefines the value of the type property of a start drag event object.
| STOP_DRAG | property |
public static var STOP_DRAG:String = stopDragDefines the value of the type property of a stop drag event object.
| UNSELECT | property |
public static var UNSELECT:String = unselectDefines the value of the type property of an unselect event object.
| UP | property |
public static var UP:String = upDefines the value of the type property of an 'up' event object.
| ButtonEvent | () | Constructor |
public function ButtonEvent(type:String, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)Creates a new ButtonEvent 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.
|