uicore::EventUI Class Reference

Base class for events being dispatched through the view hiarchy. More...

#include <event.h>

+ Inheritance diagram for uicore::EventUI:

Public Member Functions

virtual ~EventUI ()
 
std::shared_ptr< Viewcurrent_target ()
 View the event is currently being dispatched to. More...
 
bool default_prevented () const
 Flag if the event default action should be executed after dispatch. More...
 
EventUIPhase phase () const
 Current active event phase during dispatch. More...
 
void prevent_default ()
 Prevent default action from being executed after dispatch. More...
 
bool propagation_stopped () const
 Flag if event propagation should stop. More...
 
void set_timestamp (long long ts)
 Set event timestamp. More...
 
void stop_propagation ()
 Stops event from propagating further. More...
 
std::shared_ptr< Viewtarget ()
 The target view the event is fired for. More...
 
long long timestamp () const
 Timestamp for event in milliseconds since 1970. More...
 

Friends

class View
 
class ViewImpl
 
class ViewTree
 

Detailed Description

Base class for events being dispatched through the view hiarchy.

Constructor & Destructor Documentation

virtual uicore::EventUI::~EventUI ( )
inlinevirtual

Member Function Documentation

std::shared_ptr<View> uicore::EventUI::current_target ( )
inline

View the event is currently being dispatched to.

bool uicore::EventUI::default_prevented ( ) const
inline

Flag if the event default action should be executed after dispatch.

EventUIPhase uicore::EventUI::phase ( ) const
inline

Current active event phase during dispatch.

void uicore::EventUI::prevent_default ( )
inline

Prevent default action from being executed after dispatch.

bool uicore::EventUI::propagation_stopped ( ) const
inline

Flag if event propagation should stop.

void uicore::EventUI::set_timestamp ( long long  ts)
inline

Set event timestamp.

void uicore::EventUI::stop_propagation ( )
inline

Stops event from propagating further.

std::shared_ptr<View> uicore::EventUI::target ( )
inline

The target view the event is fired for.

long long uicore::EventUI::timestamp ( ) const
inline

Timestamp for event in milliseconds since 1970.

Friends And Related Function Documentation

friend class View
friend
friend class ViewImpl
friend
friend class ViewTree
friend

The documentation for this class was generated from the following file: