DOM::CSSValueList
DOM::CSSValueList Class Reference
#include <css_value.h>
Inheritance diagram for DOM::CSSValueList:

Public Member Functions | |
CSSValueList (const CSSValue &other) | |
CSSValueList (const CSSValueList &other) | |
CSSValueList (CSSValueListImpl *impl) | |
CSSValue | item (unsigned long index) |
unsigned long | length () const |
CSSValueList & | operator= (const CSSValue &other) |
CSSValueList & | operator= (const CSSValueList &other) |
![]() | |
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 |
CSSValue & | operator= (const CSSValue &other) |
void | setCssText (const DOM::DOMString &) |
Protected Attributes | |
CSSValueListImpl * | vimpl |
![]() | |
CSSValueImpl * | impl |
Additional Inherited Members | |
![]() | |
enum | UnitTypes { CSS_INHERIT = 0, CSS_PRIMITIVE_VALUE = 1, CSS_VALUE_LIST = 2, CSS_CUSTOM = 3, CSS_INITIAL = 4, CSS_SVG_VALUE = 1001 } |
Detailed Description
The CSSValueList
interface provides the absraction of an ordered collection of CSS values.
Definition at line 311 of file css_value.h.
Member Function Documentation
◆ item()
CSSValue DOM::CSSValueList::item | ( | unsigned long | index | ) |
Used to retrieve a CSS rule by ordinal index.
The order in this collection represents the order of the values in the CSS style property.
- Parameters
-
index Index into the collection.
- Returns
- The style rule at the
index
position in theCSSValueList
, ornull
if that is not valid index.
Definition at line 326 of file css_value.cpp.
◆ length()
unsigned long DOM::CSSValueList::length | ( | ) | const |
The number of CSSValue
s in the list.
The range of valid values indices is 0
to length-1
inclusive.
Definition at line 318 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 Sun Mar 26 2023 04:01:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:01:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.