Package org.apache.batik.css.dom
Class CSSOMValue.RedComponent
- java.lang.Object
-
- org.apache.batik.css.dom.CSSOMValue.AbstractComponent
-
- org.apache.batik.css.dom.CSSOMValue.FloatComponent
-
- org.apache.batik.css.dom.CSSOMValue.RedComponent
-
- All Implemented Interfaces:
org.w3c.dom.css.CSSPrimitiveValue
,org.w3c.dom.css.CSSValue
- Enclosing class:
- CSSOMValue
protected class CSSOMValue.RedComponent extends CSSOMValue.FloatComponent
To represents a red component.
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RedComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Value
getValue()
The returns the actual value of this component.void
setCssText(java.lang.String cssText)
DOM: ImplementsCSSValue.setCssText(String)
.void
setFloatValue(short unitType, float floatValue)
DOM: ImplementsCSSPrimitiveValue.setFloatValue(short,float)
.-
Methods inherited from class org.apache.batik.css.dom.CSSOMValue.FloatComponent
setStringValue
-
Methods inherited from class org.apache.batik.css.dom.CSSOMValue.AbstractComponent
getCounterValue, getCssText, getCssValueType, getFloatValue, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, item
-
-
-
-
Method Detail
-
getValue
protected Value getValue()
The returns the actual value of this component.- Specified by:
getValue
in classCSSOMValue.AbstractComponent
-
setCssText
public void setCssText(java.lang.String cssText) throws org.w3c.dom.DOMException
DOM: ImplementsCSSValue.setCssText(String)
.- Throws:
org.w3c.dom.DOMException
-
setFloatValue
public void setFloatValue(short unitType, float floatValue) throws org.w3c.dom.DOMException
DOM: ImplementsCSSPrimitiveValue.setFloatValue(short,float)
.- Throws:
org.w3c.dom.DOMException
-
-