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_URI
CSS_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(java.lang.String cssText)
DOM: Implements
CSSValue.setCssText(String) . |
void |
setFloatValue(short unitType,
float floatValue)
DOM: Implements
CSSPrimitiveValue.setFloatValue(short,float) . |
setStringValue
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
Copyright © 2022 Apache Software Foundation. All Rights Reserved.