protected class CSSOMValue.RedComponent extends CSSOMValue.FloatComponent
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| Modifier | Constructor and Description |
|---|---|
protected |
RedComponent() |
| 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). |
setStringValuegetCounterValue, 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).DOMExceptionCopyright © 2000–2020 Apache Software Foundation. All rights reserved.