protected class SVGOMAnimatedPoints.AnimSVGPointList extends AbstractSVGPointList
SVGPointList implementation for the animated point list value.AbstractSVGPointList.PointsListBuilderSVG_POINT_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
AnimSVGPointList()
Creates a new AnimSVGPointList.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.svg.SVGPoint |
appendItem(org.w3c.dom.svg.SVGPoint newItem)
DOM: Implements
SVGPointList.appendItem(SVGPoint). |
void |
clear()
DOM: Implements
SVGPointList.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.
|
org.w3c.dom.svg.SVGPoint |
getItem(int index)
DOM: Implements
SVGPointList.getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGPointList.getNumberOfItems(). |
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
org.w3c.dom.svg.SVGPoint |
initialize(org.w3c.dom.svg.SVGPoint newItem)
DOM: Implements
SVGPointList.initialize(SVGPoint). |
org.w3c.dom.svg.SVGPoint |
insertItemBefore(org.w3c.dom.svg.SVGPoint newItem,
int index)
DOM: Implements
SVGPointList.insertItemBefore(SVGPoint, int). |
org.w3c.dom.svg.SVGPoint |
removeItem(int index)
DOM: Implements
SVGPointList.removeItem(int). |
org.w3c.dom.svg.SVGPoint |
replaceItem(org.w3c.dom.svg.SVGPoint newItem,
int index)
DOM: Implements
SVGPointList.replaceItem(SVGPoint, 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(float[] pts)
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 AbstractSVGPointListpublic int getNumberOfItems()
SVGPointList.getNumberOfItems().getNumberOfItems in interface org.w3c.dom.svg.SVGPointListgetNumberOfItems in class AbstractSVGListpublic org.w3c.dom.svg.SVGPoint getItem(int index) throws DOMException
SVGPointList.getItem(int).getItem in interface org.w3c.dom.svg.SVGPointListgetItem in class AbstractSVGPointListDOMExceptionprotected 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
SVGPointList.clear().clear in interface org.w3c.dom.svg.SVGPointListclear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGPoint initialize(org.w3c.dom.svg.SVGPoint newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGPointList.initialize(SVGPoint).initialize in interface org.w3c.dom.svg.SVGPointListinitialize in class AbstractSVGPointListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPoint insertItemBefore(org.w3c.dom.svg.SVGPoint newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGPointList.insertItemBefore(SVGPoint, int).insertItemBefore in interface org.w3c.dom.svg.SVGPointListinsertItemBefore in class AbstractSVGPointListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPoint replaceItem(org.w3c.dom.svg.SVGPoint newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGPointList.replaceItem(SVGPoint, int).replaceItem in interface org.w3c.dom.svg.SVGPointListreplaceItem in class AbstractSVGPointListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPoint removeItem(int index) throws DOMException
SVGPointList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGPointListremoveItem in class AbstractSVGPointListDOMExceptionpublic org.w3c.dom.svg.SVGPoint appendItem(org.w3c.dom.svg.SVGPoint newItem) throws DOMException
SVGPointList.appendItem(SVGPoint).appendItem in interface org.w3c.dom.svg.SVGPointListappendItem in class AbstractSVGPointListDOMExceptionprotected void setAnimatedValue(float[] pts)
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.