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

#include <clientlib.h>

Inherits client::UIEvent.

Public Member Functions

bool get_altKey ()
 
Stringget_char ()
 
void set_char (const String &)
 
double get_charCode ()
 
Stringget_code ()
 
bool get_ctrlKey ()
 
Stringget_key ()
 
double get_keyCode ()
 
double get_location ()
 
bool get_metaKey ()
 
bool get_repeat ()
 
bool get_shiftKey ()
 
double get_which ()
 
bool getModifierState (const String &keyArg)
 
void initKeyboardEvent (const String &typeArg, bool canBubbleArg, bool cancelableArg, Window *viewArg, const String &keyArg, double locationArg, const String &modifiersListArg, bool repeat, const String &locale)
 
KeyboardEventget_prototype ()
 
void set_prototype (KeyboardEvent *)
 
 KeyboardEvent (const String &typeArg)
 
 KeyboardEvent (const String &typeArg, KeyboardEventInit *eventInitDict)
 
double get_DOM_KEY_LOCATION_JOYSTICK ()
 
double get_DOM_KEY_LOCATION_LEFT ()
 
double get_DOM_KEY_LOCATION_MOBILE ()
 
double get_DOM_KEY_LOCATION_NUMPAD ()
 
double get_DOM_KEY_LOCATION_RIGHT ()
 
double get_DOM_KEY_LOCATION_STANDARD ()
 
- 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

◆ KeyboardEvent() [1/2]

client::KeyboardEvent::KeyboardEvent ( const String typeArg)

◆ KeyboardEvent() [2/2]

client::KeyboardEvent::KeyboardEvent ( const String typeArg,
KeyboardEventInit eventInitDict 
)

Member Function Documentation

◆ get_altKey()

bool client::KeyboardEvent::get_altKey ( )

◆ get_char()

String* client::KeyboardEvent::get_char ( )

◆ get_charCode()

double client::KeyboardEvent::get_charCode ( )

◆ get_code()

String* client::KeyboardEvent::get_code ( )

◆ get_ctrlKey()

bool client::KeyboardEvent::get_ctrlKey ( )

◆ get_DOM_KEY_LOCATION_JOYSTICK()

double client::KeyboardEvent::get_DOM_KEY_LOCATION_JOYSTICK ( )

◆ get_DOM_KEY_LOCATION_LEFT()

double client::KeyboardEvent::get_DOM_KEY_LOCATION_LEFT ( )

◆ get_DOM_KEY_LOCATION_MOBILE()

double client::KeyboardEvent::get_DOM_KEY_LOCATION_MOBILE ( )

◆ get_DOM_KEY_LOCATION_NUMPAD()

double client::KeyboardEvent::get_DOM_KEY_LOCATION_NUMPAD ( )

◆ get_DOM_KEY_LOCATION_RIGHT()

double client::KeyboardEvent::get_DOM_KEY_LOCATION_RIGHT ( )

◆ get_DOM_KEY_LOCATION_STANDARD()

double client::KeyboardEvent::get_DOM_KEY_LOCATION_STANDARD ( )

◆ get_key()

String* client::KeyboardEvent::get_key ( )

◆ get_keyCode()

double client::KeyboardEvent::get_keyCode ( )

◆ get_location()

double client::KeyboardEvent::get_location ( )

◆ get_metaKey()

bool client::KeyboardEvent::get_metaKey ( )

◆ get_prototype()

KeyboardEvent* client::KeyboardEvent::get_prototype ( )

◆ get_repeat()

bool client::KeyboardEvent::get_repeat ( )

◆ get_shiftKey()

bool client::KeyboardEvent::get_shiftKey ( )

◆ get_which()

double client::KeyboardEvent::get_which ( )

◆ getModifierState()

bool client::KeyboardEvent::getModifierState ( const String keyArg)

◆ initKeyboardEvent()

void client::KeyboardEvent::initKeyboardEvent ( const String typeArg,
bool  canBubbleArg,
bool  cancelableArg,
Window viewArg,
const String keyArg,
double  locationArg,
const String modifiersListArg,
bool  repeat,
const String locale 
)

◆ set_char()

void client::KeyboardEvent::set_char ( const String )

◆ set_prototype()

void client::KeyboardEvent::set_prototype ( KeyboardEvent )