|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.svg.AbstractSVGAnimatedLength
This class provides an implementation of the SVGAnimatedLength
interface.
Inner Class Summary | |
protected class |
AbstractSVGAnimatedLength.BaseSVGLength
This class represents the SVGLength returned by getBaseVal(). |
Field Summary | |
protected AbstractSVGAnimatedLength.BaseSVGLength |
baseVal
The base value. |
protected boolean |
changing
Whether the value is changing. |
protected short |
direction
This length's direction. |
protected AbstractElement |
element
The associated element. |
static short |
HORIZONTAL_LENGTH
This constant represents horizontal lengths. |
protected java.lang.String |
localName
The attribute's local name. |
protected java.lang.String |
namespaceURI
The attribute's namespace URI. |
static short |
OTHER_LENGTH
This constant represents other lengths. |
protected static java.lang.String[] |
UNITS
The unit string representations. |
static short |
VERTICAL_LENGTH
This constant represents vertical lengths. |
Constructor Summary | |
protected |
AbstractSVGAnimatedLength(AbstractElement elt,
java.lang.String ns,
java.lang.String ln,
short dir)
Creates a new SVGAnimatedLength. |
Method Summary | |
void |
attrAdded(Attr node,
java.lang.String newv)
Called when an Attr node has been added. |
void |
attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
Called when an Attr node has been modified. |
void |
attrRemoved(Attr node,
java.lang.String oldv)
Called when an Attr node has been removed. |
SVGLength |
getAnimVal()
DOM: Implements SVGAnimatedLength.getAnimVal() . |
SVGLength |
getBaseVal()
DOM: Implements SVGAnimatedLength.getBaseVal() . |
protected abstract java.lang.String |
getDefaultValue()
Returns the default value to use when the associated attribute was not specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short HORIZONTAL_LENGTH
public static final short VERTICAL_LENGTH
public static final short OTHER_LENGTH
protected static final java.lang.String[] UNITS
protected AbstractElement element
protected java.lang.String namespaceURI
protected java.lang.String localName
protected short direction
protected AbstractSVGAnimatedLength.BaseSVGLength baseVal
protected boolean changing
Constructor Detail |
protected AbstractSVGAnimatedLength(AbstractElement elt, java.lang.String ns, java.lang.String ln, short dir)
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.dir
- The length's direction.Method Detail |
protected abstract java.lang.String getDefaultValue()
public SVGLength getBaseVal()
SVGAnimatedLength.getBaseVal()
.getBaseVal
in interface SVGAnimatedLength
public SVGLength getAnimVal()
SVGAnimatedLength.getAnimVal()
.getAnimVal
in interface SVGAnimatedLength
public void attrAdded(Attr node, java.lang.String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, java.lang.String oldv, java.lang.String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, java.lang.String oldv)
attrRemoved
in interface LiveAttributeValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |