|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGLength
org.apache.batik.dom.svg.AbstractSVGAnimatedLength.BaseSVGLength
protected class AbstractSVGAnimatedLength.BaseSVGLength
This class represents the SVGLength returned by AbstractSVGAnimatedLength.getBaseVal()
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
---|
AbstractSVGLength.DefaultContext |
Field Summary | |
---|---|
protected boolean |
missing
Whether the attribute is missing. |
protected boolean |
valid
Whether this length is valid. |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
---|
context, direction, HORIZONTAL_LENGTH, OTHER_LENGTH, UNITS, unitType, value, VERTICAL_LENGTH |
Fields inherited from interface org.w3c.dom.svg.SVGLength |
---|
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 Summary | |
---|---|
AbstractSVGAnimatedLength.BaseSVGLength(short direction)
Creates a new BaseSVGLength. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGLength |
---|
convertToSpecifiedUnits, getUnitType, getValue, getValueAsString, getValueInSpecifiedUnits, newValueSpecifiedUnits, parse, setValue, setValueAsString, setValueInSpecifiedUnits |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean valid
protected boolean missing
Constructor Detail |
---|
public AbstractSVGAnimatedLength.BaseSVGLength(short direction)
direction
- is one of HORIZONTAL_LENGTH, VERTICAL_LENGTH, or OTHER_LENGTHMethod Detail |
---|
public void invalidate()
protected void reset()
reset
in class AbstractSVGLength
protected void revalidate()
revalidate
in class AbstractSVGLength
protected SVGOMElement getAssociatedElement()
getAssociatedElement
in class AbstractSVGLength
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |