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

#include <clientlib.h>

Inherits client::StyleSheet.

Public Member Functions

CSSRuleListget_cssRules ()
 
Stringget_cssText ()
 
void set_cssText (const String &)
 
Stringget_id ()
 
StyleSheetListget_imports ()
 
bool get_isAlternate ()
 
bool get_isPrefAlternate ()
 
CSSRuleget_ownerRule ()
 
Elementget_owningElement ()
 
Objectget_pages ()
 
bool get_readOnly ()
 
CSSRuleListget_rules ()
 
double addImport (const String &bstrURL)
 
double addImport (const String &bstrURL, double lIndex)
 
double addPageRule (const String &bstrSelector, const String &bstrStyle)
 
double addPageRule (const String &bstrSelector, const String &bstrStyle, double lIndex)
 
double addRule (const String &bstrSelector)
 
double addRule (const String &bstrSelector, const String &bstrStyle)
 
double addRule (const String &bstrSelector, const String &bstrStyle, double lIndex)
 
void deleteRule ()
 
void deleteRule (double index)
 
double insertRule (const String &rule)
 
double insertRule (const String &rule, double index)
 
void removeImport (double lIndex)
 
void removeRule (double lIndex)
 
CSSStyleSheetget_prototype ()
 
void set_prototype (CSSStyleSheet *)
 
 CSSStyleSheet ()
 
- Public Member Functions inherited from client::StyleSheet
bool get_disabled ()
 
void set_disabled (bool)
 
Stringget_href ()
 
MediaListget_media ()
 
Nodeget_ownerNode ()
 
StyleSheetget_parentStyleSheet ()
 
Stringget_title ()
 
Stringget_type ()
 
StyleSheetget_prototype ()
 
void set_prototype (StyleSheet *)
 
 StyleSheet ()
 
- 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

◆ CSSStyleSheet()

client::CSSStyleSheet::CSSStyleSheet ( )

Member Function Documentation

◆ addImport() [1/2]

double client::CSSStyleSheet::addImport ( const String bstrURL)

◆ addImport() [2/2]

double client::CSSStyleSheet::addImport ( const String bstrURL,
double  lIndex 
)

◆ addPageRule() [1/2]

double client::CSSStyleSheet::addPageRule ( const String bstrSelector,
const String bstrStyle 
)

◆ addPageRule() [2/2]

double client::CSSStyleSheet::addPageRule ( const String bstrSelector,
const String bstrStyle,
double  lIndex 
)

◆ addRule() [1/3]

double client::CSSStyleSheet::addRule ( const String bstrSelector)

◆ addRule() [2/3]

double client::CSSStyleSheet::addRule ( const String bstrSelector,
const String bstrStyle 
)

◆ addRule() [3/3]

double client::CSSStyleSheet::addRule ( const String bstrSelector,
const String bstrStyle,
double  lIndex 
)

◆ deleteRule() [1/2]

void client::CSSStyleSheet::deleteRule ( )

◆ deleteRule() [2/2]

void client::CSSStyleSheet::deleteRule ( double  index)

◆ get_cssRules()

CSSRuleList* client::CSSStyleSheet::get_cssRules ( )

◆ get_cssText()

String* client::CSSStyleSheet::get_cssText ( )

◆ get_id()

String* client::CSSStyleSheet::get_id ( )

◆ get_imports()

StyleSheetList* client::CSSStyleSheet::get_imports ( )

◆ get_isAlternate()

bool client::CSSStyleSheet::get_isAlternate ( )

◆ get_isPrefAlternate()

bool client::CSSStyleSheet::get_isPrefAlternate ( )

◆ get_ownerRule()

CSSRule* client::CSSStyleSheet::get_ownerRule ( )

◆ get_owningElement()

Element* client::CSSStyleSheet::get_owningElement ( )

◆ get_pages()

Object* client::CSSStyleSheet::get_pages ( )

◆ get_prototype()

CSSStyleSheet* client::CSSStyleSheet::get_prototype ( )

◆ get_readOnly()

bool client::CSSStyleSheet::get_readOnly ( )

◆ get_rules()

CSSRuleList* client::CSSStyleSheet::get_rules ( )

◆ insertRule() [1/2]

double client::CSSStyleSheet::insertRule ( const String rule)

◆ insertRule() [2/2]

double client::CSSStyleSheet::insertRule ( const String rule,
double  index 
)

◆ removeImport()

void client::CSSStyleSheet::removeImport ( double  lIndex)

◆ removeRule()

void client::CSSStyleSheet::removeRule ( double  lIndex)

◆ set_cssText()

void client::CSSStyleSheet::set_cssText ( const String )

◆ set_prototype()

void client::CSSStyleSheet::set_prototype ( CSSStyleSheet )