|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.batik.css.dom.CSSOMValue.AbstractComponent
|
+--org.apache.batik.css.dom.CSSOMValue.FloatComponent
|
+--org.apache.batik.css.dom.CSSOMValue.GreenComponent
To represents a green component.
| 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 |
| Fields inherited from interface org.w3c.dom.css.CSSValue |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST |
| Constructor Summary | |
protected |
CSSOMValue.GreenComponent()
|
| Method Summary | |
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). |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CSSOMValue.GreenComponent()
| Method Detail |
protected Value getValue()
getValue in class CSSOMValue.AbstractComponent
public void setCssText(java.lang.String cssText)
throws DOMException
CSSValue.setCssText(String).org.w3c.dom.css.CSSValueDOMException - SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error (according to the attached property) or is unparsable.
public void setFloatValue(short unitType,
float floatValue)
throws DOMException
CSSPrimitiveValue.setFloatValue(short,float).org.w3c.dom.css.CSSPrimitiveValueunitType - A unit code as defined above. The unit code can only
be a float unit type (i.e. CSS_NUMBER,
CSS_PERCENTAGE, CSS_EMS,
CSS_EXS, CSS_PX, CSS_CM,
CSS_MM, CSS_IN, CSS_PT,
CSS_PC, CSS_DEG, CSS_RAD,
CSS_GRAD, CSS_MS, CSS_S,
CSS_HZ, CSS_KHZ,
CSS_DIMENSION).floatValue - The new float value.DOMException - INVALID_ACCESS_ERR: Raised if the attached property doesn't support
the float value or the unit type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||