Event
Simple base class for events.
Inherited by: ClickEvent, DragEvent, GestureEvent
Public Types
| enum | EventType { EVENT_CLICK, EVENT_DRAG, EVENT_GESTURE } |
| The event types. | |
Public Functions
| virtual EventType | getEventType() const =0 |
| Gets event type. | |
| virtual | ~Event() |
| Finalizes an instance of the Event class. | |
Public Types Documentation
EventType
enum EventType
The event types.
| EVENT_CLICK | A click. |
| EVENT_DRAG | A drag. |
| EVENT_GESTURE | A gesture. |
Public Functions Documentation
getEventType
| virtual EventType getEventType | ( | ) | const =0 |
Gets event type.
Returns:
The type of this event.
Reimplemented by: touchgfx::ClickEvent::getEventType, touchgfx::DragEvent::getEventType, touchgfx::GestureEvent::getEventType