Difference between revisions of "Event"
Line 9: | Line 9: | ||
Usually event objects contains specific additional information about the event that has occured. For example,<br /> | Usually event objects contains specific additional information about the event that has occured. For example,<br /> | ||
when an `Event.MOUSE_DOWN` event occurs, `x` and `y` fields contain the coordinates.<br /> | when an `Event.MOUSE_DOWN` event occurs, `x` and `y` fields contain the coordinates.<br /> | ||
− | Users can create their own events and dispatch through the event mechanism.<br />{|- | + | Users can create their own events and dispatch through the event mechanism.<br /> |
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === |
Revision as of 10:04, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The objects of `Event` class contains information about an event that has occurred. `Event` objects
are passed to event listeners when an event occurs.
Usually event objects contains specific additional information about the event that has occured. For example,
when an `Event.MOUSE_DOWN` event occurs, `x` and `y` fields contain the coordinates.
Users can create their own events and dispatch through the event mechanism.
MethodsEvent.new - creates a new Event object |
EventsConstants |