org.apache.batik.dom.svg
protected class AbstractSVGAnimatedLength.BaseSVGLength extends AbstractSVGLength
AbstractSVGAnimatedLength.getBaseVal()
.AbstractSVGLength.DefaultContext
Modifier and Type | Field and Description |
---|---|
protected boolean |
missing
Whether the attribute is missing.
|
protected boolean |
valid
Whether this length is valid.
|
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH
Constructor and Description |
---|
AbstractSVGAnimatedLength.BaseSVGLength(short direction)
Creates a new BaseSVGLength.
|
Modifier and Type | Method and Description |
---|---|
protected SVGOMElement |
getAssociatedElement()
Returns the element this length is associated with.
|
void |
invalidate()
Invalidates this length.
|
protected void |
reset()
Resets the value of the associated attribute.
|
protected void |
revalidate()
Initializes the length, if needed.
|
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, setValue, setValueAsString, setValueInSpecifiedUnits
protected boolean valid
protected boolean missing
public AbstractSVGAnimatedLength.BaseSVGLength(short direction)
direction
- is one of HORIZONTAL_LENGTH, VERTICAL_LENGTH, or OTHER_LENGTHpublic void invalidate()
protected void reset()
reset
in class AbstractSVGLength
protected void revalidate()
revalidate
in class AbstractSVGLength
protected SVGOMElement getAssociatedElement()
getAssociatedElement
in class AbstractSVGLength
Copyright ? 2008 Apache Software Foundation. All Rights Reserved.