KHTML
#include <css_rule.h>
Public Member Functions | |
CSSStyleRule () | |
CSSStyleRule (const CSSStyleRule &other) | |
CSSStyleRule (const CSSRule &other) | |
CSSStyleRule (CSSStyleRuleImpl *impl) | |
~CSSStyleRule () | |
CSSStyleRule & | operator= (const CSSStyleRule &other) |
CSSStyleRule & | operator= (const CSSRule &other) |
DOM::DOMString | selectorText () const |
void | setSelectorText (const DOM::DOMString &) |
CSSStyleDeclaration | style () const |
Public Member Functions inherited from DOM::CSSRule | |
CSSRule () | |
CSSRule (const CSSRule &other) | |
CSSRule (CSSRuleImpl *impl) | |
~CSSRule () | |
DOM::DOMString | cssText () const |
CSSRuleImpl * | handle () const |
bool | isNull () const |
CSSRule & | operator= (const CSSRule &other) |
CSSRule | parentRule () const |
CSSStyleSheet | parentStyleSheet () const |
void | setCssText (const DOM::DOMString &) |
unsigned short | type () const |
Additional Inherited Members | |
Public Types inherited from DOM::CSSRule | |
enum | RuleType { UNKNOWN_RULE = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3, MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6, NAMESPACE_RULE = 10, QUIRKS_RULE = 100 } |
Protected Member Functions inherited from DOM::CSSRule | |
void | assignOther (const CSSRule &other, RuleType thisType) |
Protected Attributes inherited from DOM::CSSRule | |
CSSRuleImpl * | impl |
Detailed Description
The CSSStyleRule
interface represents a single rule set in a CSS style sheet.
Definition at line 412 of file css_rule.h.
Constructor & Destructor Documentation
CSSStyleRule::CSSStyleRule | ( | ) |
Definition at line 377 of file css_rule.cpp.
CSSStyleRule::CSSStyleRule | ( | const CSSStyleRule & | other | ) |
Definition at line 381 of file css_rule.cpp.
CSSStyleRule::CSSStyleRule | ( | const CSSRule & | other | ) |
Definition at line 386 of file css_rule.cpp.
CSSStyleRule::CSSStyleRule | ( | CSSStyleRuleImpl * | impl | ) |
Definition at line 393 of file css_rule.cpp.
CSSStyleRule::~CSSStyleRule | ( | ) |
Definition at line 410 of file css_rule.cpp.
Member Function Documentation
CSSStyleRule & CSSStyleRule::operator= | ( | const CSSStyleRule & | other | ) |
Definition at line 398 of file css_rule.cpp.
CSSStyleRule & CSSStyleRule::operator= | ( | const CSSRule & | other | ) |
Definition at line 404 of file css_rule.cpp.
DOMString CSSStyleRule::selectorText | ( | ) | const |
The textual representation of the selector for the rule set.
The implementation may have stripped out insignificant whitespace while parsing the selector.
Definition at line 414 of file css_rule.cpp.
void CSSStyleRule::setSelectorText | ( | const DOM::DOMString & | value | ) |
see selectorText
- Exceptions
-
CSSException SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
- Exceptions
-
DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.
Definition at line 420 of file css_rule.cpp.
CSSStyleDeclaration CSSStyleRule::style | ( | ) | const |
The declaration-block of this rule set.
Definition at line 425 of file css_rule.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.