protected class SVGOMAnimatedPoints.AnimSVGPointList extends AbstractSVGPointList
SVGOMAnimatedPoints.BaseSVGPointList
implementation for the animated point list value.AbstractSVGPointList.PointsListBuilder, AbstractSVGPointList.SVGPointItem
AbstractSVGList.ListBuilder
SVG_POINT_LIST_SEPARATOR
itemList, valid
Constructor and Description |
---|
SVGOMAnimatedPoints.AnimSVGPointList()
Creates a new AnimSVGPointList.
|
Modifier and Type | Method and Description |
---|---|
SVGPoint |
appendItem(SVGPoint newItem)
DOM: Implements
AbstractSVGPointList.appendItem(SVGPoint) . |
void |
clear()
DOM: Implements
AbstractSVGList.clear() . |
protected org.w3c.dom.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
AbstractSVGPointList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements
AbstractSVGList.getNumberOfItems() . |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
SVGPoint |
initialize(SVGPoint newItem)
DOM: Implements
AbstractSVGPointList.initialize(SVGPoint) . |
SVGPoint |
insertItemBefore(SVGPoint newItem,
int index)
DOM: Implements
AbstractSVGPointList.insertItemBefore(SVGPoint, int) . |
SVGPoint |
removeItem(int index)
DOM: Implements
AbstractSVGPointList.removeItem(int) . |
SVGPoint |
replaceItem(SVGPoint newItem,
int index)
DOM: Implements
AbstractSVGPointList.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, getItemSeparator
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
public SVGOMAnimatedPoints.AnimSVGPointList()
protected org.w3c.dom.DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException
in class AbstractSVGList
protected SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
createSVGException
in class AbstractSVGPointList
public int getNumberOfItems()
AbstractSVGList.getNumberOfItems()
.getNumberOfItems
in class AbstractSVGList
public SVGPoint getItem(int index) throws org.w3c.dom.DOMException
AbstractSVGPointList.getItem(int)
.getItem
in class AbstractSVGPointList
org.w3c.dom.DOMException
protected java.lang.String getValueAsString()
getValueAsString
in class AbstractSVGList
protected void setAttributeValue(java.lang.String value)
setAttributeValue
in class AbstractSVGList
value
- the String representation of the list, or null
if the list contains no itemspublic void clear() throws org.w3c.dom.DOMException
AbstractSVGList.clear()
.clear
in class AbstractSVGList
org.w3c.dom.DOMException
- NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public SVGPoint initialize(SVGPoint newItem) throws org.w3c.dom.DOMException, SVGException
AbstractSVGPointList.initialize(SVGPoint)
.initialize
in class AbstractSVGPointList
org.w3c.dom.DOMException
SVGException
public SVGPoint insertItemBefore(SVGPoint newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGPointList.insertItemBefore(SVGPoint, int)
.insertItemBefore
in class AbstractSVGPointList
org.w3c.dom.DOMException
SVGException
public SVGPoint replaceItem(SVGPoint newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGPointList.replaceItem(SVGPoint, int)
.replaceItem
in class AbstractSVGPointList
org.w3c.dom.DOMException
SVGException
public SVGPoint removeItem(int index) throws org.w3c.dom.DOMException
AbstractSVGPointList.removeItem(int)
.removeItem
in class AbstractSVGPointList
org.w3c.dom.DOMException
public SVGPoint appendItem(SVGPoint newItem) throws org.w3c.dom.DOMException
AbstractSVGPointList.appendItem(SVGPoint)
.appendItem
in class AbstractSVGPointList
org.w3c.dom.DOMException
protected void setAnimatedValue(float[] pts)
protected void resetAttribute()
resetAttribute
in class AbstractSVGList
protected void resetAttribute(SVGItem item)
resetAttribute
in class AbstractSVGList
protected void revalidate()
revalidate
in class AbstractSVGList
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.