protected class AbstractSVGAnimatedLength.AnimSVGLength extends AbstractSVGLength
AbstractSVGAnimatedLength.getAnimVal()
.AbstractSVGLength.DefaultContext
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH
Constructor and Description |
---|
AbstractSVGAnimatedLength.AnimSVGLength(short direction)
Creates a new AnimSVGLength.
|
parse, reset, revalidate
public AbstractSVGAnimatedLength.AnimSVGLength(short direction)
direction
- is one of HORIZONTAL_LENGTH, VERTICAL_LENGTH, or OTHER_LENGTHpublic short getUnitType()
AbstractSVGLength.getUnitType()
.getUnitType
in class AbstractSVGLength
public float getValue()
AbstractSVGLength.getValue()
.getValue
in class AbstractSVGLength
public float getValueInSpecifiedUnits()
AbstractSVGLength.getValueInSpecifiedUnits()
.getValueInSpecifiedUnits
in class AbstractSVGLength
public java.lang.String getValueAsString()
AbstractSVGLength.getValueAsString()
.getValueAsString
in class AbstractSVGLength
public void setValue(float value) throws org.w3c.dom.DOMException
AbstractSVGLength.setValue(float)
.setValue
in class AbstractSVGLength
org.w3c.dom.DOMException
public void setValueInSpecifiedUnits(float value) throws org.w3c.dom.DOMException
AbstractSVGLength.setValueInSpecifiedUnits(float)
.setValueInSpecifiedUnits
in class AbstractSVGLength
org.w3c.dom.DOMException
public void setValueAsString(java.lang.String value) throws org.w3c.dom.DOMException
AbstractSVGLength.setValueAsString(String)
.setValueAsString
in class AbstractSVGLength
org.w3c.dom.DOMException
public void newValueSpecifiedUnits(short unit, float value)
AbstractSVGLength.newValueSpecifiedUnits(short,float)
.newValueSpecifiedUnits
in class AbstractSVGLength
public void convertToSpecifiedUnits(short unit)
AbstractSVGLength.convertToSpecifiedUnits(short)
.convertToSpecifiedUnits
in class AbstractSVGLength
protected 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 lengthCopyright ? 2009 Apache Software Foundation. All Rights Reserved.