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
SVG_LENGTHTYPE_CM, SVG_LENGTHTYPE_EMS, SVG_LENGTHTYPE_EXS, SVG_LENGTHTYPE_IN, SVG_LENGTHTYPE_MM, SVG_LENGTHTYPE_NUMBER, SVG_LENGTHTYPE_PC, SVG_LENGTHTYPE_PERCENTAGE, SVG_LENGTHTYPE_PT, SVG_LENGTHTYPE_PX, SVG_LENGTHTYPE_UNKNOWN
Constructor and Description |
---|
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 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 © 2022 Apache Software Foundation. All Rights Reserved.