khtml Library API Documentation

DOM::CSSValue Class Reference

The CSSValue interface represents a simple or a complexe value. More...

#include <css_value.h>

Inheritance diagram for DOM::CSSValue:

DOM::CSS2Azimuth DOM::CSS2BackgroundPosition DOM::CSS2BorderSpacing DOM::CSS2Cursor DOM::CSS2PageSize DOM::CSS2PlayDuring DOM::CSSPrimitiveValue DOM::CSSValueList List of all members.

Public Types

enum  UnitTypes
 An integer indicating which type of unit applies to the value. More...


Public Methods

DOM::DOMString cssText () const
 A string representation of the current value.

void setCssText (const DOM::DOMString &)
 see cssText

unsigned short cssValueType () const
 A code defining the type of the value as defined above.


Detailed Description

The CSSValue interface represents a simple or a complexe value.

Definition at line 238 of file css_value.h.


Member Enumeration Documentation

enum DOM::CSSValue::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.

Reimplemented in DOM::CSSPrimitiveValue.

Definition at line 256 of file css_value.h.


Member Function Documentation

DOMString CSSValue::cssText  
 

A string representation of the current value.

Definition at line 182 of file css_value.cpp.

void 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.
DOMException  NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly.

Definition at line 188 of file css_value.cpp.

unsigned short CSSValue::cssValueType  
 

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

Definition at line 194 of file css_value.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:44 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001