|
QuadUI 1.2.9 public beta
Run-time API for QuadUI
|
Public Member Functions | |
| UIEvent (string type, Object value) | |
Public Attributes | |
| const string | PRESS = "press" |
| const string | HOLD = "hold" |
| const string | RELEASE = "release" |
| const string | ROLLOVER = "roll over" |
| const string | ROLLOUT = "roll out" |
| const string | DISABLE = "disable" |
| const string | ENABLE = "enable" |
Part of the event system. Use this for listening for user interface events, such as rollovers and pressing/releasing.
| UIEvent.UIEvent | ( | string | type, |
| Object | value | ||
| ) |
Creates a new UIEvent with the type and whatever value you wish to communicate (Internally, it is most commonly the object which fired the event)
| const string UIEvent.DISABLE = "disable" |
A Disable event type.
| const string UIEvent.ENABLE = "enable" |
An Enable event type.
| const string UIEvent.HOLD = "hold" |
An event for holding down the mouse button or maintaining a touch within a rect.
| const string UIEvent.PRESS = "press" |
A Press event type.
| const string UIEvent.RELEASE = "release" |
A Release event type.
| const string UIEvent.ROLLOUT = "roll out" |
A RollOut event type.
Note: Not available in iOS/Android
| const string UIEvent.ROLLOVER = "roll over" |
A RollOver event type.
Note: Not available in iOS/Android