org.apache.batik.dom.svg

Class AbstractSVGAnimatedLength.BaseSVGLength

protected class AbstractSVGAnimatedLength.BaseSVGLength extends AbstractSVGLength

This class represents the SVGLength returned by {@link AbstractSVGAnimatedLength#getBaseVal() }.
Field Summary
protected booleanvalid
Whether this length is valid.
Constructor Summary
BaseSVGLength(short direction)
Creates a new BaseSVGLength.
Method Summary
protected SVGOMElementgetAssociatedElement()
Returns the element this length is associated with.
voidinvalidate()
Invalidates this length.
protected voidreset()
Resets the value of the associated attribute.
protected voidrevalidate()
Initializes the length, if needed.

Field Detail

valid

protected boolean valid
Whether this length is valid.

Constructor Detail

BaseSVGLength

public BaseSVGLength(short direction)
Creates a new BaseSVGLength.

Parameters: direction is one of HORIZONTAL_LENGTH, VERTICAL_LENGTH, or OTHER_LENGTH

Method Detail

getAssociatedElement

protected SVGOMElement getAssociatedElement()
Returns the element this length is associated with.

invalidate

public void invalidate()
Invalidates this length.

reset

protected void reset()
Resets the value of the associated attribute.

revalidate

protected void revalidate()
Initializes the length, if needed.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.