protected class SVGOMAnimatedLengthList.AnimSVGLengthList extends AbstractSVGLengthList
SVGLengthList implementation for the animated length list value.AbstractSVGLengthList.LengthListBuilder, AbstractSVGLengthList.SVGLengthItemdirection, SVG_LENGTH_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
AnimSVGLengthList()
Creates a new AnimSVGLengthList.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.svg.SVGLength |
appendItem(org.w3c.dom.svg.SVGLength newItem)
DOM: Implements
SVGLengthList.appendItem(SVGLength). |
void |
clear()
DOM: Implements
SVGLengthList.clear(). |
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 this SVGLengthList.
|
org.w3c.dom.svg.SVGLength |
getItem(int index)
DOM: Implements
SVGLengthList.getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGLengthList.getNumberOfItems(). |
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
org.w3c.dom.svg.SVGLength |
initialize(org.w3c.dom.svg.SVGLength newItem)
DOM: Implements
SVGLengthList.initialize(SVGLength). |
org.w3c.dom.svg.SVGLength |
insertItemBefore(org.w3c.dom.svg.SVGLength newItem,
int index)
DOM: Implements
SVGLengthList.insertItemBefore(SVGLength, int). |
org.w3c.dom.svg.SVGLength |
removeItem(int index)
DOM: Implements
SVGLengthList.removeItem(int). |
org.w3c.dom.svg.SVGLength |
replaceItem(org.w3c.dom.svg.SVGLength newItem,
int index)
DOM: Implements
SVGLengthList.replaceItem(SVGLength, int). |
protected void |
resetAttribute()
Resets the value of the associated attribute.
|
protected void |
resetAttribute(SVGItem item)
Resets the value of the associated attribute.
|
protected void |
revalidate()
Initializes the list, if needed.
|
protected void |
setAnimatedValue(short[] types,
float[] values)
Sets the animated value.
|
protected void |
setAttributeValue(String value)
Sets the DOM attribute value containing the point list.
|
checkItemType, createSVGItem, doParse, getItemSeparatorappendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringprotected 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 AbstractSVGLengthListpublic int getNumberOfItems()
SVGLengthList.getNumberOfItems().getNumberOfItems in interface org.w3c.dom.svg.SVGLengthListgetNumberOfItems in class AbstractSVGListpublic org.w3c.dom.svg.SVGLength getItem(int index) throws DOMException
SVGLengthList.getItem(int).getItem in interface org.w3c.dom.svg.SVGLengthListgetItem in class AbstractSVGLengthListDOMExceptionprotected 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 itemspublic void clear()
throws DOMException
SVGLengthList.clear().clear in interface org.w3c.dom.svg.SVGLengthListclear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGLength initialize(org.w3c.dom.svg.SVGLength newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.initialize(SVGLength).initialize in interface org.w3c.dom.svg.SVGLengthListinitialize in class AbstractSVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGLength insertItemBefore(org.w3c.dom.svg.SVGLength newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.insertItemBefore(SVGLength, int).insertItemBefore in interface org.w3c.dom.svg.SVGLengthListinsertItemBefore in class AbstractSVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGLength replaceItem(org.w3c.dom.svg.SVGLength newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.replaceItem(SVGLength, int).replaceItem in interface org.w3c.dom.svg.SVGLengthListreplaceItem in class AbstractSVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGLength removeItem(int index) throws DOMException
SVGLengthList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGLengthListremoveItem in class AbstractSVGLengthListDOMExceptionpublic org.w3c.dom.svg.SVGLength appendItem(org.w3c.dom.svg.SVGLength newItem) throws DOMException
SVGLengthList.appendItem(SVGLength).appendItem in interface org.w3c.dom.svg.SVGLengthListappendItem in class AbstractSVGLengthListDOMExceptionprotected void setAnimatedValue(short[] types,
float[] values)
protected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGListCopyright © 2000–2020 Apache Software Foundation. All rights reserved.