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
| Event() | |
| Default constructor. | |
| virtual EventType | getEventType() const =0 |
| Gets event type. | |
| virtual | ~Event() |
| Destructor. | |
Public Types Documentation
EventType
enum EventType
The event types.
| EVENT_CLICK | A click. |
| EVENT_DRAG | A drag. |
| EVENT_GESTURE | A gesture. |
Public Functions Documentation
Event
| Event | ( | ) |
Default constructor.
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
~Event
| virtual ~Event | ( | ) |
Destructor.