API documentation  2.0rc1
Public Member Functions | List of all members
client::TouchEvent Class Reference

#include <clientlib.h>

Inherits client::UIEvent.

Public Member Functions

bool get_altKey ()
 
TouchListget_changedTouches ()
 
double get_charCode ()
 
bool get_ctrlKey ()
 
double get_keyCode ()
 
bool get_metaKey ()
 
bool get_shiftKey ()
 
TouchListget_targetTouches ()
 
TouchListget_touches ()
 
double get_which ()
 
TouchEventget_prototype ()
 
void set_prototype (TouchEvent *)
 
 TouchEvent (const String &type)
 
 TouchEvent (const String &type, TouchEventInit *touchEventInit)
 
- Public Member Functions inherited from client::UIEvent
double get_detail ()
 
Windowget_view ()
 
void initUIEvent (const String &typeArg, bool canBubbleArg, bool cancelableArg, Window *viewArg, double detailArg)
 
UIEventget_prototype ()
 
void set_prototype (UIEvent *)
 
 UIEvent (const String &typeArg)
 
 UIEvent (const String &typeArg, UIEventInit *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

◆ TouchEvent() [1/2]

client::TouchEvent::TouchEvent ( const String type)

◆ TouchEvent() [2/2]

client::TouchEvent::TouchEvent ( const String type,
TouchEventInit touchEventInit 
)

Member Function Documentation

◆ get_altKey()

bool client::TouchEvent::get_altKey ( )

◆ get_changedTouches()

TouchList* client::TouchEvent::get_changedTouches ( )

◆ get_charCode()

double client::TouchEvent::get_charCode ( )

◆ get_ctrlKey()

bool client::TouchEvent::get_ctrlKey ( )

◆ get_keyCode()

double client::TouchEvent::get_keyCode ( )

◆ get_metaKey()

bool client::TouchEvent::get_metaKey ( )

◆ get_prototype()

TouchEvent* client::TouchEvent::get_prototype ( )

◆ get_shiftKey()

bool client::TouchEvent::get_shiftKey ( )

◆ get_targetTouches()

TouchList* client::TouchEvent::get_targetTouches ( )

◆ get_touches()

TouchList* client::TouchEvent::get_touches ( )

◆ get_which()

double client::TouchEvent::get_which ( )

◆ set_prototype()

void client::TouchEvent::set_prototype ( TouchEvent )