|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedMarkerOrientValue
public class SVGOMAnimatedMarkerOrientValue
A class that handles an SVGAnimatedAngle
and an
SVGAnimatedEnumeration
for the 'marker' element's
'orient' attribute.
Nested Class Summary | |
---|---|
protected class |
SVGOMAnimatedMarkerOrientValue.AnimatedAngle
The SVGAnimatedAngle component of the marker orient value. |
protected class |
SVGOMAnimatedMarkerOrientValue.AnimatedEnumeration
The SVGAnimatedEnumeration component of the marker orient value. |
protected class |
SVGOMAnimatedMarkerOrientValue.AnimSVGAngle
This class represents the SVGAngle returned by SVGOMAnimatedMarkerOrientValue.AnimatedAngle.getAnimVal() . |
protected class |
SVGOMAnimatedMarkerOrientValue.BaseSVGAngle
This class represents the SVGAngle returned by SVGOMAnimatedMarkerOrientValue.AnimatedAngle.getBaseVal() . |
Field Summary | |
---|---|
protected SVGOMAnimatedMarkerOrientValue.AnimSVGAngle |
animAngleVal
The current animated angle value. |
protected SVGOMAnimatedMarkerOrientValue.AnimatedAngle |
animatedAngle
The SVGAnimatedAngle. |
protected SVGOMAnimatedMarkerOrientValue.AnimatedEnumeration |
animatedEnumeration
The SVGAnimatedEnumeration. |
protected short |
animEnumerationVal
The current animated enumeration value. |
protected SVGOMAnimatedMarkerOrientValue.BaseSVGAngle |
baseAngleVal
The current base angle value. |
protected short |
baseEnumerationVal
The current base enumeration value. |
protected boolean |
changing
Whether the value is changing. |
protected boolean |
valid
Whether the base value is valid. |
Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
---|
element, hasAnimVal, listeners, localName, namespaceURI |
Constructor Summary | |
---|---|
SVGOMAnimatedMarkerOrientValue(AbstractElement elt,
String ns,
String ln)
Creates a new SVGOMAnimatedMarkerOrientValue. |
Method Summary | |
---|---|
void |
attrAdded(Attr node,
String newv)
Called when an Attr node has been added. |
void |
attrModified(Attr node,
String oldv,
String newv)
Called when an Attr node has been modified. |
void |
attrRemoved(Attr node,
String oldv)
Called when an Attr node has been removed. |
org.w3c.dom.svg.SVGAnimatedAngle |
getAnimatedAngle()
Returns the SVGAnimatedAngle component of the orient value. |
org.w3c.dom.svg.SVGAnimatedEnumeration |
getAnimatedEnumeration()
Returns the SVGAnimatedEnumeration component of the orient value. |
AnimatableValue |
getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue . |
void |
resetAnimatedValue()
Resets the animated value. |
void |
setAnimatedValueToAngle(short unitType,
float value)
Sets the animated value to the given angle. |
void |
setAnimatedValueToAuto()
Sets the animated value to the "auto" value. |
protected void |
updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue . |
Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
---|
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean valid
protected SVGOMAnimatedMarkerOrientValue.AnimatedAngle animatedAngle
protected SVGOMAnimatedMarkerOrientValue.AnimatedEnumeration animatedEnumeration
protected SVGOMAnimatedMarkerOrientValue.BaseSVGAngle baseAngleVal
protected short baseEnumerationVal
protected SVGOMAnimatedMarkerOrientValue.AnimSVGAngle animAngleVal
protected short animEnumerationVal
protected boolean changing
Constructor Detail |
---|
public SVGOMAnimatedMarkerOrientValue(AbstractElement elt, String ns, String ln)
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.Method Detail |
---|
protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.
updateAnimatedValue
in class AbstractSVGAnimatedValue
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.
public void attrAdded(Attr node, String newv)
public void attrModified(Attr node, String oldv, String newv)
public void attrRemoved(Attr node, String oldv)
public void setAnimatedValueToAngle(short unitType, float value)
public void setAnimatedValueToAuto()
public void resetAnimatedValue()
public org.w3c.dom.svg.SVGAnimatedAngle getAnimatedAngle()
SVGAnimatedAngle
component of the orient value.
public org.w3c.dom.svg.SVGAnimatedEnumeration getAnimatedEnumeration()
SVGAnimatedEnumeration
component of the orient value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |