protected class SVGOMAnimatedPoints.AnimSVGPointList extends AbstractSVGPointList
SVGPointList implementation for the animated point list value.AbstractSVGPointList.PointsListBuilder, AbstractSVGPointList.SVGPointItemAbstractSVGList.ListBuilderSVG_POINT_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
SVGOMAnimatedPoints.AnimSVGPointList()
Creates a new AnimSVGPointList.
|
| Modifier and Type | Method and Description |
|---|---|
SVGPoint |
appendItem(SVGPoint newItem)
DOM: Implements
SVGPointList#appendItem(SVGPoint). |
void |
clear()
DOM: Implements
SVGPointList#clear(). |
protected DOMException |
createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a DOMException.
|
protected SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a SVGException.
|
SVGPoint |
getItem(int index)
DOM: Implements
SVGPointList#getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGPointList#getNumberOfItems(). |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
SVGPoint |
initialize(SVGPoint newItem)
DOM: Implements
SVGPointList#initialize(SVGPoint). |
SVGPoint |
insertItemBefore(SVGPoint newItem,
int index)
DOM: Implements
SVGPointList#insertItemBefore(SVGPoint, int). |
SVGPoint |
removeItem(int index)
DOM: Implements
SVGPointList#removeItem(int). |
SVGPoint |
replaceItem(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(java.lang.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, setValueAsStringpublic SVGOMAnimatedPoints.AnimSVGPointList()
protected DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException in class AbstractSVGListprotected SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
createSVGException in class AbstractSVGPointListpublic int getNumberOfItems()
SVGPointList#getNumberOfItems().getNumberOfItems in class AbstractSVGListpublic SVGPoint getItem(int index)
throws DOMException
SVGPointList#getItem(int).getItem in class AbstractSVGPointListDOMExceptionprotected java.lang.String getValueAsString()
getValueAsString in class AbstractSVGListprotected void setAttributeValue(java.lang.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 class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public SVGPoint initialize(SVGPoint newItem)
throws DOMException,
SVGException
SVGPointList#initialize(SVGPoint).initialize in class AbstractSVGPointListDOMExceptionSVGExceptionpublic SVGPoint insertItemBefore(SVGPoint newItem,
int index)
throws DOMException,
SVGException
SVGPointList#insertItemBefore(SVGPoint, int).insertItemBefore in class AbstractSVGPointListDOMExceptionSVGExceptionpublic SVGPoint replaceItem(SVGPoint newItem,
int index)
throws DOMException,
SVGException
SVGPointList#replaceItem(SVGPoint, int).replaceItem in class AbstractSVGPointListDOMExceptionSVGExceptionpublic SVGPoint removeItem(int index)
throws DOMException
SVGPointList#removeItem(int).removeItem in class AbstractSVGPointListDOMExceptionpublic SVGPoint appendItem(SVGPoint newItem)
throws DOMException
SVGPointList#appendItem(SVGPoint).appendItem 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 ? 2009 Apache Software Foundation. All Rights Reserved.