DOM::CSSValue

Search for usage in LXR

#include <css_value.h>

Inheritance diagram for DOM::CSSValue:

Public Types

enum  UnitTypes {
  CSS_INHERIT = 0, CSS_PRIMITIVE_VALUE = 1, CSS_VALUE_LIST = 2, CSS_CUSTOM = 3,
  CSS_INITIAL = 4, CSS_SVG_VALUE = 1001
}
 

Public Member Functions

 CSSValue (const CSSValue &other)
 
 CSSValue (CSSValueImpl *impl)
 
DOM::DOMString cssText () const
 
unsigned short cssValueType () const
 
CSSValueImpl * handle () const
 
bool isCSSPrimitiveValue () const
 
bool isCSSValueList () const
 
bool isNull () const
 
CSSValueoperator= (const CSSValue &other)
 
void setCssText (const DOM::DOMString &)
 

Protected Attributes

CSSValueImpl * impl
 

Detailed Description

The CSSValue interface represents a simple or a complexe value.

Definition at line 237 of file css_value.h.

Member Enumeration Documentation

◆ UnitTypes

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.

Enumerator
CSS_SVG_VALUE 

Not part of DOM.

Definition at line 255 of file css_value.h.

Member Function Documentation

◆ cssText()

DOMString DOM::CSSValue::cssText ( ) const

A string representation of the current value.

Definition at line 211 of file css_value.cpp.

◆ cssValueType()

unsigned short DOM::CSSValue::cssValueType ( ) const

A code defining the type of the value as defined above.

Definition at line 227 of file css_value.cpp.

◆ isCSSValueList()

bool DOM::CSSValue::isCSSValueList ( ) const

not part of the DOM

Definition at line 235 of file css_value.cpp.

◆ setCssText()

void DOM::CSSValue::setCssText ( const DOM::DOMString value)

see cssText

Exceptions
CSSExceptionSYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
DOMExceptionNO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly.

Definition at line 219 of file css_value.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:55:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.