#include <Events.h>
|
| FocusEventArgs (const std::string &type, Element *source, Element *target, Element *relatedTarget=nullptr) |
|
| EventArgs (const std::string &type, Element *source, Element *target, bool bubbles, bool cancelable, uint64_t timestamp) |
| Create EventArgs with a type. More...
|
|
| EventArgs (const std::string &type, Element *source, Element *target, Element *relatedTarget, bool bubbles, bool cancelable, uint64_t timestamp) |
| Create EventArgs with a type. More...
|
|
virtual | ~EventArgs () |
| Destroy the EventArgs.
|
|
const std::string & | type () const |
| Get the event type. More...
|
|
void | stopPropagation () |
| Stop the propagation of the event. More...
|
|
void | stopImmediatePropagation () |
|
void | preventDefault () |
| Prevent any default actions associated with the event. More...
|
|
bool | isCancelled () const |
|
bool | isDefaultPrevented () const |
|
void | setPhase (Phase phase) |
| Set the Phase of the event. More...
|
|
Phase | getPhase () const |
|
bool | bubbles () const |
| Determine if the event has a bubbling phase. More...
|
|
bool | isCancelable () const |
|
Element * | source () |
|
Element * | target () |
|
Element * | relatedTarget () |
|
Element * | getCurrentTarget () |
|
const Element * | getCurrentTarget () const |
|
void | setCurrentTarget (Element *target) |
| Set the current target Element. More...
|
|
uint64_t | timestamp () const |
|
std::string | toString () const |
| A utility method to print get the Event as a std::string. More...
|
|
|
static const std::string | FOCUS_IN = "focusin" |
|
static const std::string | FOCUS = "focus" |
|
static const std::string | FOCUS_OUT = "focusout" |
|
static const std::string | BLUR = "blur" |
|
The documentation for this class was generated from the following files: