• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KHTML

DOM::CSSValue

DOM::CSSValue Class Reference

#include <css_value.h>

Inheritance diagram for DOM::CSSValue:

Inheritance graph
[legend]

List of all members.


Detailed Description

The CSSValue interface represents a simple or a complexe value.

Definition at line 240 of file 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

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.

Enumerator:
CSS_INHERIT 
CSS_PRIMITIVE_VALUE 
CSS_VALUE_LIST 
CSS_CUSTOM 
CSS_INITIAL 

Reimplemented in DOM::CSSPrimitiveValue.

Definition at line 258 of file css_value.h.


Constructor & Destructor Documentation

DOM::CSSValue::CSSValue (  ) 

Definition at line 139 of file css_value.cpp.

DOM::CSSValue::CSSValue ( const CSSValue &  other  ) 

Definition at line 144 of file css_value.cpp.

DOM::CSSValue::CSSValue ( CSSValueImpl *  impl  ) 

Definition at line 150 of file css_value.cpp.

DOM::CSSValue::~CSSValue (  ) 

Definition at line 166 of file css_value.cpp.


Member Function Documentation

DOMString DOM::CSSValue::cssText (  )  const

A string representation of the current value.

Definition at line 171 of file css_value.cpp.

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

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

Definition at line 183 of file css_value.cpp.

CSSValueImpl * DOM::CSSValue::handle (  )  const

Definition at line 201 of file css_value.cpp.

bool DOM::CSSValue::isCSSPrimitiveValue (  )  const

Definition at line 195 of file css_value.cpp.

bool DOM::CSSValue::isCSSValueList (  )  const

Definition at line 189 of file css_value.cpp.

bool DOM::CSSValue::isNull (  )  const

Definition at line 206 of file css_value.cpp.

CSSValue & DOM::CSSValue::operator= ( const CSSValue &  other  ) 

Reimplemented in DOM::CSSValueList, and DOM::CSSPrimitiveValue.

Definition at line 156 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 177 of file css_value.cpp.


Member Data Documentation

CSSValueImpl* DOM::CSSValue::impl [protected]

Definition at line 301 of file css_value.h.


The documentation for this class was generated from the following files:
  • css_value.h
  • css_value.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal