org.apache.batik.dom.svg

Class SVGOMAnimatedPathData.AnimSVGPathSegList

public class SVGOMAnimatedPathData.AnimSVGPathSegList extends AbstractSVGPathSegList

SVGPathSegList implementation for the animated path data value.
Constructor Summary
AnimSVGPathSegList()
Creates a new AnimSVGPathSegList.
Method Summary
SVGPathSegappendItem(SVGPathSeg newItem)
DOM: Implements SVGPathSegList#appendItem(SVGPathSeg).
voidclear()
DOM: Implements SVGPathSegList#clear().
protected DOMExceptioncreateDOMException(short type, String key, Object[] args)
Create a DOMException.
protected SVGExceptioncreateSVGException(short type, String key, Object[] args)
Create a SVGException.
SVGPathSeggetItem(int index)
DOM: Implements SVGPathSegList#getItem(int).
intgetNumberOfItems()
DOM: Implements SVGPathSegList#getNumberOfItems().
protected StringgetValueAsString()
Returns the value of the DOM attribute containing the point list.
SVGPathSeginitialize(SVGPathSeg newItem)
DOM: Implements SVGPathSegList#initialize(SVGPathSeg).
SVGPathSeginsertItemBefore(SVGPathSeg newItem, int index)
DOM: Implements SVGPathSegList#insertItemBefore(SVGPathSeg, int).
protected SVGPathSegItemnewItem(short command, float[] parameters, int[] j)
Creates a new SVGPathSegItem from the given path command and array of parameter values.
SVGPathSegremoveItem(int index)
DOM: Implements SVGPathSegList#removeItem(int).
SVGPathSegreplaceItem(SVGPathSeg newItem, int index)
DOM: Implements SVGPathSegList#replaceItem(SVGPathSeg, int).
protected voidresetAttribute()
Resets the value of the associated attribute.
protected voidresetAttribute(SVGItem item)
Resets the value of the associated attribute.
protected voidrevalidate()
Initializes the list, if needed.
protected voidsetAnimatedValue(short[] commands, float[] parameters)
Sets the animated value.
protected voidsetAttributeValue(String value)
Sets the DOM attribute value containing the point list.

Constructor Detail

AnimSVGPathSegList

public AnimSVGPathSegList()
Creates a new AnimSVGPathSegList.

Method Detail

appendItem

public SVGPathSeg appendItem(SVGPathSeg newItem)
DOM: Implements SVGPathSegList#appendItem(SVGPathSeg).

clear

public void clear()
DOM: Implements SVGPathSegList#clear().

createDOMException

protected DOMException createDOMException(short type, String key, Object[] args)
Create a DOMException.

createSVGException

protected SVGException createSVGException(short type, String key, Object[] args)
Create a SVGException.

getItem

public SVGPathSeg getItem(int index)
DOM: Implements SVGPathSegList#getItem(int).

getNumberOfItems

public int getNumberOfItems()
DOM: Implements SVGPathSegList#getNumberOfItems().

getValueAsString

protected String getValueAsString()
Returns the value of the DOM attribute containing the point list.

initialize

public SVGPathSeg initialize(SVGPathSeg newItem)
DOM: Implements SVGPathSegList#initialize(SVGPathSeg).

insertItemBefore

public SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index)
DOM: Implements SVGPathSegList#insertItemBefore(SVGPathSeg, int).

newItem

protected SVGPathSegItem newItem(short command, float[] parameters, int[] j)
Creates a new SVGPathSegItem from the given path command and array of parameter values.

removeItem

public SVGPathSeg removeItem(int index)
DOM: Implements SVGPathSegList#removeItem(int).

replaceItem

public SVGPathSeg replaceItem(SVGPathSeg newItem, int index)
DOM: Implements SVGPathSegList#replaceItem(SVGPathSeg, int).

resetAttribute

protected void resetAttribute()
Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.

resetAttribute

protected void resetAttribute(SVGItem item)
Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.

revalidate

protected void revalidate()
Initializes the list, if needed. Does nothing, since there is no attribute to read the list from.

setAnimatedValue

protected void setAnimatedValue(short[] commands, float[] parameters)
Sets the animated value.

setAttributeValue

protected void setAttributeValue(String value)
Sets the DOM attribute value containing the point list.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.