org.apache.batik.dom.svg
Class SVGOMAnimatedPoints.AnimSVGPointList
protected
class
SVGOMAnimatedPoints.AnimSVGPointList
extends AbstractSVGPointList
SVGPointList implementation for the animated point list value.
Method Summary |
SVGPoint | appendItem(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 SVGException | createSVGException(short type, String key, Object[] args)
Create a SVGException. |
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. |
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(String value)
Sets the DOM attribute value containing the point list. |
public AnimSVGPointList()
Creates a new AnimSVGPointList.
public SVGPoint appendItem(SVGPoint newItem)
DOM: Implements SVGPointList#appendItem(SVGPoint).
public void clear()
DOM: Implements SVGPointList#clear().
protected DOMException createDOMException(short type, String key, Object[] args)
Create a DOMException.
protected SVGException createSVGException(short type, String key, Object[] args)
Create a SVGException.
public SVGPoint getItem(int index)
DOM: Implements SVGPointList#getItem(int).
public int getNumberOfItems()
DOM: Implements SVGPointList#getNumberOfItems().
protected String getValueAsString()
Returns the value of the DOM attribute containing the point list.
public SVGPoint initialize(SVGPoint newItem)
DOM: Implements SVGPointList#initialize(SVGPoint).
public SVGPoint insertItemBefore(SVGPoint newItem, int index)
DOM: Implements SVGPointList#insertItemBefore(SVGPoint, int).
public SVGPoint removeItem(int index)
DOM: Implements SVGPointList#removeItem(int).
public SVGPoint replaceItem(SVGPoint newItem, int index)
DOM: Implements SVGPointList#replaceItem(SVGPoint, int).
protected void resetAttribute()
Resets the value of the associated attribute. Does nothing, since
there is no attribute for an animated value.
protected void resetAttribute(
SVGItem item)
Resets the value of the associated attribute. Does nothing, since
there is no attribute for an animated value.
protected void revalidate()
Initializes the list, if needed. Does nothing, since there is no
attribute to read the list from.
protected void setAnimatedValue(float[] pts)
Sets the animated value.
protected void setAttributeValue(String value)
Sets the DOM attribute value containing the point list.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.