org.apache.batik.dom.svg

Class SVGOMAnimatedMarkerOrientValue

public class SVGOMAnimatedMarkerOrientValue extends AbstractSVGAnimatedValue

A class that handles an {@link SVGAnimatedAngle} and an {@link SVGAnimatedEnumeration} for the 'marker' element's 'orient' attribute.
Nested Class Summary
protected classSVGOMAnimatedMarkerOrientValue.AnimatedAngle
The {@link SVGAnimatedAngle} component of the marker orient value.
protected classSVGOMAnimatedMarkerOrientValue.AnimatedEnumeration
The {@link SVGAnimatedEnumeration} component of the marker orient value.
protected classSVGOMAnimatedMarkerOrientValue.AnimSVGAngle
This class represents the SVGAngle returned by {@link AnimatedAngle#getAnimVal()}.
protected classSVGOMAnimatedMarkerOrientValue.BaseSVGAngle
This class represents the SVGAngle returned by {@link AnimatedAngle#getBaseVal()}.
Field Summary
protected SVGOMAnimatedMarkerOrientValue.AnimSVGAngleanimAngleVal
The current animated angle value.
protected SVGOMAnimatedMarkerOrientValue.AnimatedAngleanimatedAngle
The SVGAnimatedAngle.
protected SVGOMAnimatedMarkerOrientValue.AnimatedEnumerationanimatedEnumeration
The SVGAnimatedEnumeration.
protected shortanimEnumerationVal
The current animated enumeration value.
protected SVGOMAnimatedMarkerOrientValue.BaseSVGAnglebaseAngleVal
The current base angle value.
protected shortbaseEnumerationVal
The current base enumeration value.
protected booleanchanging
Whether the value is changing.
protected booleanvalid
Whether the base value is valid.
Constructor Summary
SVGOMAnimatedMarkerOrientValue(AbstractElement elt, String ns, String ln)
Creates a new SVGOMAnimatedMarkerOrientValue.
Method Summary
voidattrAdded(Attr node, String newv)
Called 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.
SVGAnimatedAnglegetAnimatedAngle()
Returns the {@link SVGAnimatedAngle} component of the orient value.
SVGAnimatedEnumerationgetAnimatedEnumeration()
Returns the {@link SVGAnimatedEnumeration} component of the orient value.
AnimatableValuegetUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an {@link AnimatableValue}.
voidresetAnimatedValue()
Resets the animated value.
voidsetAnimatedValueToAngle(short unitType, float value)
Sets the animated value to the given angle.
voidsetAnimatedValueToAuto()
Sets the animated value to the "auto" value.
protected voidupdateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link AnimatableValue}.

Field Detail

animAngleVal

protected SVGOMAnimatedMarkerOrientValue.AnimSVGAngle animAngleVal
The current animated angle value.

animatedAngle

protected SVGOMAnimatedMarkerOrientValue.AnimatedAngle animatedAngle
The SVGAnimatedAngle.

animatedEnumeration

protected SVGOMAnimatedMarkerOrientValue.AnimatedEnumeration animatedEnumeration
The SVGAnimatedEnumeration.

animEnumerationVal

protected short animEnumerationVal
The current animated enumeration value.

baseAngleVal

protected SVGOMAnimatedMarkerOrientValue.BaseSVGAngle baseAngleVal
The current base angle value.

baseEnumerationVal

protected short baseEnumerationVal
The current base enumeration value.

changing

protected boolean changing
Whether the value is changing.

valid

protected boolean valid
Whether the base value is valid.

Constructor Detail

SVGOMAnimatedMarkerOrientValue

public SVGOMAnimatedMarkerOrientValue(AbstractElement elt, String ns, String ln)
Creates a new SVGOMAnimatedMarkerOrientValue.

Parameters: elt The associated element. ns The attribute's namespace URI. ln The attribute's local name.

Method Detail

attrAdded

public void attrAdded(Attr node, String newv)
Called when an Attr node has been added.

attrModified

public void attrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified.

attrRemoved

public void attrRemoved(Attr node, String oldv)
Called when an Attr node has been removed.

getAnimatedAngle

public SVGAnimatedAngle getAnimatedAngle()
Returns the {@link SVGAnimatedAngle} component of the orient value.

getAnimatedEnumeration

public SVGAnimatedEnumeration getAnimatedEnumeration()
Returns the {@link SVGAnimatedEnumeration} component of the orient value.

getUnderlyingValue

public AnimatableValue getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an {@link AnimatableValue}.

resetAnimatedValue

public void resetAnimatedValue()
Resets the animated value.

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.

updateAnimatedValue

protected void updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link AnimatableValue}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.