KHTML
DOM::CSSValue Class Reference
TheCSSValue
interface represents a simple or a complexe value.
More...
#include <css_value.h>
Public Types | |
enum | UnitTypes { CSS_INHERIT = 0, CSS_PRIMITIVE_VALUE = 1, CSS_VALUE_LIST = 2, CSS_CUSTOM = 3, CSS_INITIAL = 4 } |
Public Member Functions | |
DOM::DOMString | cssText () const |
CSSValue (CSSValueImpl *impl) | |
CSSValue (const CSSValue &other) | |
CSSValue () | |
unsigned short | cssValueType () const |
CSSValueImpl * | handle () const |
bool | isCSSPrimitiveValue () const |
bool | isCSSValueList () const |
bool | isNull () const |
CSSValue & | operator= (const CSSValue &other) |
void | setCssText (const DOM::DOMString &) |
~CSSValue () | |
Protected Attributes | |
CSSValueImpl * | impl |
Detailed Description
TheCSSValue
interface represents a simple or a complexe value.
Definition at line 243 of file css_value.h.
Member Enumeration Documentation
An integer indicating which type of unit applies to the value.
All CSS2 constants are not supposed to be required by the implementation since all CSS2 interfaces are optionals.
Reimplemented in DOM::CSSPrimitiveValue.
Definition at line 261 of file css_value.h.
Constructor & Destructor Documentation
DOM::CSSValue::CSSValue | ( | ) |
Definition at line 169 of file css_value.cpp.
DOM::CSSValue::CSSValue | ( | const CSSValue & | other | ) |
Definition at line 174 of file css_value.cpp.
DOM::CSSValue::CSSValue | ( | CSSValueImpl * | impl | ) |
Definition at line 180 of file css_value.cpp.
DOM::CSSValue::~CSSValue | ( | ) |
Definition at line 196 of file css_value.cpp.
Member Function Documentation
DOMString DOM::CSSValue::cssText | ( | ) | const |
unsigned short DOM::CSSValue::cssValueType | ( | ) | const |
A code defining the type of the value as defined above.
Definition at line 213 of file css_value.cpp.
CSSValueImpl * DOM::CSSValue::handle | ( | ) | const |
Definition at line 231 of file css_value.cpp.
bool DOM::CSSValue::isCSSPrimitiveValue | ( | ) | const |
Definition at line 225 of file css_value.cpp.
bool DOM::CSSValue::isCSSValueList | ( | ) | const |
bool DOM::CSSValue::isNull | ( | ) | const |
Definition at line 236 of file css_value.cpp.
Reimplemented in DOM::CSSValueList, and DOM::CSSPrimitiveValue.
Definition at line 186 of file css_value.cpp.
void DOM::CSSValue::setCssText | ( | const DOM::DOMString & | ) |
see cssText
- 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 declaration is readonly.
Definition at line 207 of file css_value.cpp.
Member Data Documentation
CSSValueImpl* DOM::CSSValue::impl [protected] |
Definition at line 304 of file css_value.h.
The documentation for this class was generated from the following files: