org.apache.batik.dom.svg
Class SVGOMAnimatedPoints.AnimSVGPointList
protected
class
SVGOMAnimatedPoints.AnimSVGPointList
extends AbstractSVGPointList
{@link SVGPointList} implementation for the animated point list value.
Method Summary |
SVGPoint | appendItem(SVGPoint newItem)
DOM: Implements {@link SVGPointList#appendItem(SVGPoint)}. |
void | clear()
DOM: Implements {@link 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 {@link SVGPointList#getItem(int)}. |
int | getNumberOfItems()
DOM: Implements {@link SVGPointList#getNumberOfItems()}. |
protected String | getValueAsString()
Returns the value of the DOM attribute containing the point list. |
SVGPoint | initialize(SVGPoint newItem)
DOM: Implements {@link SVGPointList#initialize(SVGPoint)}. |
SVGPoint | insertItemBefore(SVGPoint newItem, int index)
DOM: Implements {@link
SVGPointList#insertItemBefore(SVGPoint, int)}. |
SVGPoint | removeItem(int index)
DOM: Implements {@link SVGPointList#removeItem(int)}. |
SVGPoint | replaceItem(SVGPoint newItem, int index)
DOM: Implements {@link
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 {@link SVGPointList#appendItem(SVGPoint)}.
public void clear()
DOM: Implements {@link 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 {@link SVGPointList#getItem(int)}.
public int getNumberOfItems()
DOM: Implements {@link SVGPointList#getNumberOfItems()}.
protected String getValueAsString()
Returns the value of the DOM attribute containing the point list.
public SVGPoint initialize(SVGPoint newItem)
DOM: Implements {@link SVGPointList#initialize(SVGPoint)}.
public SVGPoint insertItemBefore(SVGPoint newItem, int index)
DOM: Implements {@link
SVGPointList#insertItemBefore(SVGPoint, int)}.
public SVGPoint removeItem(int index)
DOM: Implements {@link SVGPointList#removeItem(int)}.
public SVGPoint replaceItem(SVGPoint newItem, int index)
DOM: Implements {@link
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) 2007 Apache Software Foundation. All Rights Reserved.