public class SVGOMAnimatedLengthList.BaseSVGLengthList extends AbstractSVGLengthList
SVGLengthList implementation for the base length list value.AbstractSVGLengthList.LengthListBuilder, AbstractSVGLengthList.SVGLengthItem| Modifier and Type | Field and Description |
|---|---|
protected boolean |
malformed
Whether the value is malformed.
|
protected boolean |
missing
Whether the value is missing.
|
direction, SVG_LENGTH_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
BaseSVGLengthList()
Creates a new BaseSVGLengthList.
|
| Modifier and Type | Method and Description |
|---|---|
protected DOMException |
createDOMException(short type,
String key,
Object[] args)
Create a DOMException.
|
protected org.w3c.dom.svg.SVGException |
createSVGException(short type,
String key,
Object[] args)
Create a SVGException.
|
protected Element |
getElement()
Returns the element owning the attribute with which this length
list is associated.
|
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the length list.
|
protected void |
resetAttribute()
Resets the value of the associated attribute.
|
protected void |
resetAttribute(SVGItem item)
Appends the string representation of the given
SVGItem to
the DOM attribute. |
protected void |
revalidate()
Initializes the list, if needed.
|
protected void |
setAttributeValue(String value)
Sets the DOM attribute value containing the length list.
|
appendItem, checkItemType, createSVGItem, doParse, getItem, getItemSeparator, initialize, insertItemBefore, removeItem, replaceItemappendItemImpl, clear, clear, getItemImpl, getNumberOfItems, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getNumberOfItemsprotected boolean missing
protected boolean malformed
protected DOMException createDOMException(short type, String key, Object[] args)
createDOMException in class AbstractSVGListprotected org.w3c.dom.svg.SVGException createSVGException(short type, String key, Object[] args)
createSVGException in class AbstractSVGLengthListprotected Element getElement()
getElement in class AbstractSVGLengthListprotected String getValueAsString()
getValueAsString in class AbstractSVGListprotected void setAttributeValue(String value)
setAttributeValue in class AbstractSVGListvalue - the String representation of the list, or null
if the list contains no itemsprotected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
SVGItem to
the DOM attribute. This is called in response to an append to
the list.resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGListCopyright © 2000–2024 Apache Software Foundation. All rights reserved.