protected class CSSOMValue.ListComponent extends CSSOMValue.AbstractComponent
| Modifier and Type | Field and Description |
|---|---|
protected int |
index
The index of this component.
|
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URICSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST| Constructor and Description |
|---|
ListComponent(int idx)
Creates a new ListComponent.
|
| Modifier and Type | Method and Description |
|---|---|
protected Value |
getValue()
The returns the actual value of this component.
|
void |
setCssText(String cssText)
DOM: Implements
CSSValue.setCssText(String). |
void |
setFloatValue(short unitType,
float floatValue)
DOM: Implements
CSSPrimitiveValue.setFloatValue(short,float). |
void |
setStringValue(short stringType,
String stringValue)
DOM: Implements
CSSPrimitiveValue.setStringValue(short,String). |
getCounterValue, getCssText, getCssValueType, getFloatValue, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, itemprotected Value getValue()
getValue in class CSSOMValue.AbstractComponentpublic void setCssText(String cssText) throws DOMException
CSSValue.setCssText(String).DOMExceptionpublic void setFloatValue(short unitType,
float floatValue)
throws DOMException
CSSPrimitiveValue.setFloatValue(short,float).DOMExceptionpublic void setStringValue(short stringType,
String stringValue)
throws DOMException
CSSPrimitiveValue.setStringValue(short,String).DOMExceptionCopyright © 2000–2024 Apache Software Foundation. All rights reserved.