protected class AbstractSVGAnimatedLength.BaseSVGLength extends AbstractSVGLength
AbstractSVGAnimatedLength.getBaseVal().AbstractSVGLength.DefaultContext| Modifier and Type | Field | 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 | Description |
|---|---|
BaseSVGLength(short direction) |
Creates a new BaseSVGLength.
|
| Modifier and Type | Method | 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, setValueInSpecifiedUnitsprotected 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 AbstractSVGLengthprotected void revalidate()
revalidate in class AbstractSVGLengthprotected SVGOMElement getAssociatedElement()
getAssociatedElement in class AbstractSVGLengthCopyright ? 2018 Apache Software Foundation. All Rights Reserved.