DOM::CSSValueList

Search for usage in LXR

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
 
CSSValueListoperator= (const CSSValue &other)
 
CSSValueListoperator= (const CSSValueList &other)
 
- Public Member Functions inherited from DOM::CSSValue
 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

CSSValueListImpl * vimpl
 
- Protected Attributes inherited from DOM::CSSValue
CSSValueImpl * impl
 

Additional Inherited Members

- Public Types inherited from DOM::CSSValue
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
indexIndex into the collection.
Returns
The style rule at the index position in the CSSValueList , or null 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-2022 The KDE developers.
Generated on Wed Jun 29 2022 04:11:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.