Class SVGOMAnimatedMarkerOrientValue
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedMarkerOrientValue
- All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue
A class that handles an
SVGAnimatedAngle and an
SVGAnimatedEnumeration for the 'marker' element's
'orient' attribute.- Version:
- $Id$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classTheSVGAnimatedAnglecomponent of the marker orient value.protected classTheSVGAnimatedEnumerationcomponent of the marker orient value.protected classThis class represents the SVGAngle returned bySVGOMAnimatedMarkerOrientValue.AnimatedAngle.getAnimVal().protected classThis class represents the SVGAngle returned bySVGOMAnimatedMarkerOrientValue.AnimatedAngle.getBaseVal(). -
Field Summary
FieldsModifier and TypeFieldDescriptionThe current animated angle value.The SVGAnimatedAngle.The SVGAnimatedEnumeration.protected shortThe current animated enumeration value.The current base angle value.protected shortThe current base enumeration value.protected booleanWhether the value is changing.protected booleanWhether the base value is valid.Fields inherited from class AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedMarkerOrientValue(AbstractElement elt, String ns, String ln) Creates a new SVGOMAnimatedMarkerOrientValue. -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an Attr node has been added.voidattrModified(Attr node, String oldv, String newv) Called when an Attr node has been modified.voidattrRemoved(Attr node, String oldv) Called when an Attr node has been removed.org.w3c.dom.svg.SVGAnimatedAngleReturns theSVGAnimatedAnglecomponent of the orient value.org.w3c.dom.svg.SVGAnimatedEnumerationReturns theSVGAnimatedEnumerationcomponent of the orient value.getUnderlyingValue(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue.voidResets the animated value.voidsetAnimatedValueToAngle(short unitType, float value) Sets the animated value to the given angle.voidSets the animated value to the "auto" value.protected voidUpdates the animated value with the givenAnimatableValue.
-
Field Details
-
valid
protected boolean validWhether the base value is valid. -
animatedAngle
The SVGAnimatedAngle. -
animatedEnumeration
The SVGAnimatedEnumeration. -
baseAngleVal
The current base angle value. -
baseEnumerationVal
protected short baseEnumerationValThe current base enumeration value. -
animAngleVal
The current animated angle value. -
animEnumerationVal
protected short animEnumerationValThe current animated enumeration value. -
changing
protected boolean changingWhether the value is changing.
-
-
Constructor Details
-
SVGOMAnimatedMarkerOrientValue
Creates a new SVGOMAnimatedMarkerOrientValue.- Parameters:
elt- The associated element.ns- The attribute's namespace URI.ln- The attribute's local name.
-
-
Method Details
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue. -
attrAdded
-
attrModified
-
attrRemoved
-
setAnimatedValueToAngle
public void setAnimatedValueToAngle(short unitType, float value) Sets the animated value to the given angle. -
setAnimatedValueToAuto
public void setAnimatedValueToAuto()Sets the animated value to the "auto" value. -
resetAnimatedValue
public void resetAnimatedValue()Resets the animated value. -
getAnimatedAngle
public org.w3c.dom.svg.SVGAnimatedAngle getAnimatedAngle()Returns theSVGAnimatedAnglecomponent of the orient value. -
getAnimatedEnumeration
public org.w3c.dom.svg.SVGAnimatedEnumeration getAnimatedEnumeration()Returns theSVGAnimatedEnumerationcomponent of the orient value.
-