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

#include <clientlib.h>

Inherits client::EventTarget.

Public Member Functions

double get_availHeight ()
 
double get_availWidth ()
 
double get_bufferDepth ()
 
void set_bufferDepth (double)
 
double get_colorDepth ()
 
double get_deviceXDPI ()
 
double get_deviceYDPI ()
 
bool get_fontSmoothingEnabled ()
 
double get_height ()
 
double get_logicalXDPI ()
 
double get_logicalYDPI ()
 
Stringget_msOrientation ()
 
EventListenerget_onmsorientationchange ()
 
void set_onmsorientationchange (EventListener *)
 
double get_pixelDepth ()
 
double get_systemXDPI ()
 
double get_systemYDPI ()
 
double get_width ()
 
bool lockOrientation (Array *orientations)
 
bool msLockOrientation (const String &orientations)
 
bool msLockOrientation (Array *orientations)
 
void msUnlockOrientation ()
 
void unlockOrientation ()
 
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, EventListenerOptions *options)
 
Screenget_prototype ()
 
void set_prototype (Screen *)
 
 Screen ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- 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

◆ Screen()

client::Screen::Screen ( )

Member Function Documentation

◆ addEventListener() [1/5]

void client::Screen::addEventListener ( const String type,
EventListener listener 
)

◆ addEventListener() [2/5]

void client::Screen::addEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ addEventListener() [3/5]

void client::Screen::addEventListener ( const String type,
EventListener listener,
AddEventListenerOptions options 
)

◆ addEventListener() [4/5]

void client::Screen::addEventListener ( const String type,
EventListenerObject listener 
)

◆ addEventListener() [5/5]

void client::Screen::addEventListener ( const String type,
EventListenerObject listener,
AddEventListenerOptions options 
)

◆ get_availHeight()

double client::Screen::get_availHeight ( )

◆ get_availWidth()

double client::Screen::get_availWidth ( )

◆ get_bufferDepth()

double client::Screen::get_bufferDepth ( )

◆ get_colorDepth()

double client::Screen::get_colorDepth ( )

◆ get_deviceXDPI()

double client::Screen::get_deviceXDPI ( )

◆ get_deviceYDPI()

double client::Screen::get_deviceYDPI ( )

◆ get_fontSmoothingEnabled()

bool client::Screen::get_fontSmoothingEnabled ( )

◆ get_height()

double client::Screen::get_height ( )

◆ get_logicalXDPI()

double client::Screen::get_logicalXDPI ( )

◆ get_logicalYDPI()

double client::Screen::get_logicalYDPI ( )

◆ get_msOrientation()

String* client::Screen::get_msOrientation ( )

◆ get_onmsorientationchange()

EventListener* client::Screen::get_onmsorientationchange ( )

◆ get_pixelDepth()

double client::Screen::get_pixelDepth ( )

◆ get_prototype()

Screen* client::Screen::get_prototype ( )

◆ get_systemXDPI()

double client::Screen::get_systemXDPI ( )

◆ get_systemYDPI()

double client::Screen::get_systemYDPI ( )

◆ get_width()

double client::Screen::get_width ( )

◆ lockOrientation()

bool client::Screen::lockOrientation ( Array orientations)

◆ msLockOrientation() [1/2]

bool client::Screen::msLockOrientation ( const String orientations)

◆ msLockOrientation() [2/2]

bool client::Screen::msLockOrientation ( Array orientations)

◆ msUnlockOrientation()

void client::Screen::msUnlockOrientation ( )

◆ removeEventListener() [1/5]

void client::Screen::removeEventListener ( const String type,
EventListener listener 
)

◆ removeEventListener() [2/5]

void client::Screen::removeEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ removeEventListener() [3/5]

void client::Screen::removeEventListener ( const String type,
EventListener listener,
EventListenerOptions options 
)

◆ removeEventListener() [4/5]

void client::Screen::removeEventListener ( const String type,
EventListenerObject listener 
)

◆ removeEventListener() [5/5]

void client::Screen::removeEventListener ( const String type,
EventListenerObject listener,
EventListenerOptions options 
)

◆ set_bufferDepth()

void client::Screen::set_bufferDepth ( double  )

◆ set_onmsorientationchange()

void client::Screen::set_onmsorientationchange ( EventListener )

◆ set_prototype()

void client::Screen::set_prototype ( Screen )

◆ unlockOrientation()

void client::Screen::unlockOrientation ( )