|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGAnimatedValue
org.apache.batik.dom.svg.SVGOMAnimatedBoolean
public class SVGOMAnimatedBoolean
This class implements the SVGAnimatedBoolean
interface.
Field Summary | |
---|---|
protected boolean |
animVal
The current animated value. |
protected boolean |
baseVal
The current base value. |
protected boolean |
changing
Whether the value is changing. |
protected boolean |
defaultValue
The default value. |
protected boolean |
valid
Whether the base value is valid. |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGAnimatedValue |
---|
element, hasAnimVal, listeners, localName, namespaceURI |
Constructor Summary | |
---|---|
SVGOMAnimatedBoolean(AbstractElement elt,
java.lang.String ns,
java.lang.String ln,
boolean val)
Creates a new SVGOMAnimatedBoolean. |
Method Summary | |
---|---|
void |
attrAdded(org.w3c.dom.Attr node,
java.lang.String newv)
Called when an Attr node has been added. |
void |
attrModified(org.w3c.dom.Attr node,
java.lang.String oldv,
java.lang.String newv)
Called when an Attr node has been modified. |
void |
attrRemoved(org.w3c.dom.Attr node,
java.lang.String oldv)
Called when an Attr node has been removed. |
boolean |
getAnimVal()
DOM: Implements SVGAnimatedBoolean#getAnimVal() . |
boolean |
getBaseVal()
DOM: Implements SVGAnimatedBoolean#getBaseVal() . |
AnimatableValue |
getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an AnimatableValue . |
void |
setAnimatedValue(boolean animVal)
Sets the animated value. |
void |
setBaseVal(boolean baseVal)
DOM: Implements SVGAnimatedBoolean#setBaseVal(boolean) . |
protected void |
update()
Updates the base value from the attribute. |
protected void |
updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue . |
Methods inherited from class org.apache.batik.dom.svg.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 defaultValue
protected boolean valid
protected boolean baseVal
protected boolean animVal
protected boolean changing
Constructor Detail |
---|
public SVGOMAnimatedBoolean(AbstractElement elt, java.lang.String ns, java.lang.String ln, boolean val)
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.val
- The default value, if the attribute is not specified.Method Detail |
---|
public boolean getBaseVal()
SVGAnimatedBoolean#getBaseVal()
.
protected void update()
public void setBaseVal(boolean baseVal) throws org.w3c.dom.DOMException
SVGAnimatedBoolean#setBaseVal(boolean)
.
org.w3c.dom.DOMException
public boolean getAnimVal()
SVGAnimatedBoolean#getAnimVal()
.
public void setAnimatedValue(boolean animVal)
protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.
updateAnimatedValue
in class AbstractSVGAnimatedValue
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.
public void attrAdded(org.w3c.dom.Attr node, java.lang.String newv)
public void attrModified(org.w3c.dom.Attr node, java.lang.String oldv, java.lang.String newv)
public void attrRemoved(org.w3c.dom.Attr node, java.lang.String oldv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |