API documentation  2.0rc1
Public Member Functions | List of all members
client::CustomEvent< T > Class Template Reference

#include <clientlib.h>

Inherits client::Event.

Public Member Functions

T * get_detail ()
 
void initCustomEvent (const String &typeArg, bool canBubbleArg, bool cancelableArg, T *detailArg)
 
CustomEventget_prototype ()
 
void set_prototype (CustomEvent *)
 
 CustomEvent (const String &typeArg)
 
 CustomEvent (const String &typeArg, CustomEventInit< T > *eventInitDict)
 
- Public Member Functions inherited from client::Event
bool get_bubbles ()
 
bool get_cancelBubble ()
 
void set_cancelBubble (bool)
 
bool get_cancelable ()
 
EventTargetget_currentTarget ()
 
bool get_defaultPrevented ()
 
double get_eventPhase ()
 
bool get_isTrusted ()
 
bool get_returnValue ()
 
void set_returnValue (bool)
 
bool get_scoped ()
 
Elementget_srcElement ()
 
EventTargetget_target ()
 
double get_timeStamp ()
 
Stringget_type ()
 
ArraydeepPath ()
 
void initEvent (const String &type)
 
void initEvent (const String &type, bool bubbles)
 
void initEvent (const String &type, bool bubbles, bool cancelable)
 
void preventDefault ()
 
void stopImmediatePropagation ()
 
void stopPropagation ()
 
Eventget_prototype ()
 
void set_prototype (Event *)
 
 Event (const String &typeArg)
 
 Event (const String &typeArg, EventInit *eventInitDict)
 
double get_AT_TARGET ()
 
double get_BUBBLING_PHASE ()
 
double get_CAPTURING_PHASE ()
 
double get_NONE ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ CustomEvent() [1/2]

template<class T >
client::CustomEvent< T >::CustomEvent ( const String typeArg)

◆ CustomEvent() [2/2]

template<class T >
client::CustomEvent< T >::CustomEvent ( const String typeArg,
CustomEventInit< T > *  eventInitDict 
)

Member Function Documentation

◆ get_detail()

template<class T >
T* client::CustomEvent< T >::get_detail ( )

◆ get_prototype()

template<class T >
CustomEvent* client::CustomEvent< T >::get_prototype ( )

◆ initCustomEvent()

template<class T >
void client::CustomEvent< T >::initCustomEvent ( const String typeArg,
bool  canBubbleArg,
bool  cancelableArg,
T *  detailArg 
)

◆ set_prototype()

template<class T >
void client::CustomEvent< T >::set_prototype ( CustomEvent< T > *  )