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_URI
CSS_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(java.lang.String cssText)
DOM: Implements
CSSValue.setCssText(String) . |
void |
setFloatValue(short unitType,
float floatValue)
DOM: Implements
CSSPrimitiveValue.setFloatValue(short,float) . |
void |
setStringValue(short stringType,
java.lang.String stringValue)
DOM: Implements
CSSPrimitiveValue.setStringValue(short,String) . |
getCounterValue, getCssText, getCssValueType, getFloatValue, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, item
protected Value getValue()
getValue
in class CSSOMValue.AbstractComponent
public void setCssText(java.lang.String cssText) throws DOMException
CSSValue.setCssText(String)
.DOMException
public void setFloatValue(short unitType, float floatValue) throws DOMException
CSSPrimitiveValue.setFloatValue(short,float)
.DOMException
public void setStringValue(short stringType, java.lang.String stringValue) throws DOMException
CSSPrimitiveValue.setStringValue(short,String)
.DOMException
Copyright © 2022 Apache Software Foundation. All Rights Reserved.