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

#include <clientlib.h>

Inherits client::EventTarget.

Public Member Functions

Stringget_body ()
 
Objectget_data ()
 
Stringget_dir ()
 
Stringget_icon ()
 
Stringget_lang ()
 
EventListenerget_onclick ()
 
void set_onclick (EventListener *)
 
EventListenerget_onclose ()
 
void set_onclose (EventListener *)
 
EventListenerget_onerror ()
 
void set_onerror (EventListener *)
 
EventListenerget_onshow ()
 
void set_onshow (EventListener *)
 
Stringget_permission ()
 
Stringget_tag ()
 
Stringget_title ()
 
void close ()
 
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)
 
Notificationget_prototype ()
 
void set_prototype (Notification *)
 
 Notification (const String &title)
 
 Notification (const String &title, NotificationOptions *options)
 
- 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

◆ Notification() [1/2]

client::Notification::Notification ( const String title)

◆ Notification() [2/2]

client::Notification::Notification ( const String title,
NotificationOptions options 
)

Member Function Documentation

◆ addEventListener() [1/5]

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

◆ addEventListener() [2/5]

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

◆ addEventListener() [3/5]

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

◆ addEventListener() [4/5]

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

◆ addEventListener() [5/5]

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

◆ close()

void client::Notification::close ( )

◆ get_body()

String* client::Notification::get_body ( )

◆ get_data()

Object* client::Notification::get_data ( )

◆ get_dir()

String* client::Notification::get_dir ( )

◆ get_icon()

String* client::Notification::get_icon ( )

◆ get_lang()

String* client::Notification::get_lang ( )

◆ get_onclick()

EventListener* client::Notification::get_onclick ( )

◆ get_onclose()

EventListener* client::Notification::get_onclose ( )

◆ get_onerror()

EventListener* client::Notification::get_onerror ( )

◆ get_onshow()

EventListener* client::Notification::get_onshow ( )

◆ get_permission()

String* client::Notification::get_permission ( )

◆ get_prototype()

Notification* client::Notification::get_prototype ( )

◆ get_tag()

String* client::Notification::get_tag ( )

◆ get_title()

String* client::Notification::get_title ( )

◆ removeEventListener() [1/5]

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

◆ removeEventListener() [2/5]

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

◆ removeEventListener() [3/5]

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

◆ removeEventListener() [4/5]

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

◆ removeEventListener() [5/5]

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

◆ set_onclick()

void client::Notification::set_onclick ( EventListener )

◆ set_onclose()

void client::Notification::set_onclose ( EventListener )

◆ set_onerror()

void client::Notification::set_onerror ( EventListener )

◆ set_onshow()

void client::Notification::set_onshow ( EventListener )

◆ set_prototype()

void client::Notification::set_prototype ( Notification )