|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGLength
org.apache.batik.dom.svg.AbstractSVGAnimatedLength.AnimSVGLength
protected class AbstractSVGAnimatedLength.AnimSVGLength
This class represents the SVGLength returned by AbstractSVGAnimatedLength.getAnimVal().
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
|---|
AbstractSVGLength.DefaultContext |
| Field Summary |
|---|
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
|---|
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH |
| Constructor Summary | |
|---|---|
AbstractSVGAnimatedLength.AnimSVGLength(short direction)
Creates a new AnimSVGLength. |
|
| Methods inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
|---|
parse, reset, revalidate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSVGAnimatedLength.AnimSVGLength(short direction)
direction - is one of HORIZONTAL_LENGTH, VERTICAL_LENGTH, or OTHER_LENGTH| Method Detail |
|---|
public short getUnitType()
AbstractSVGLength.getUnitType().
getUnitType in class AbstractSVGLengthpublic float getValue()
AbstractSVGLength.getValue().
getValue in class AbstractSVGLengthpublic float getValueInSpecifiedUnits()
AbstractSVGLength.getValueInSpecifiedUnits().
getValueInSpecifiedUnits in class AbstractSVGLengthpublic String getValueAsString()
AbstractSVGLength.getValueAsString().
getValueAsString in class AbstractSVGLength
public void setValue(float value)
throws DOMException
AbstractSVGLength.setValue(float).
setValue in class AbstractSVGLengthDOMException
public void setValueInSpecifiedUnits(float value)
throws DOMException
AbstractSVGLength.setValueInSpecifiedUnits(float).
setValueInSpecifiedUnits in class AbstractSVGLengthDOMException
public void setValueAsString(String value)
throws DOMException
AbstractSVGLength.setValueAsString(String).
setValueAsString in class AbstractSVGLengthDOMException
public void newValueSpecifiedUnits(short unit,
float value)
AbstractSVGLength.newValueSpecifiedUnits(short,float).
newValueSpecifiedUnits in class AbstractSVGLengthpublic void convertToSpecifiedUnits(short unit)
AbstractSVGLength.convertToSpecifiedUnits(short).
convertToSpecifiedUnits in class AbstractSVGLengthprotected SVGOMElement getAssociatedElement()
getAssociatedElement in class AbstractSVGLength
protected void setAnimatedValue(int type,
float val)
type - one of the values defines in org.w3c.dom.svg.SVGLengthval - the length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||