org.apache.batik.dom.svg

Class SVGOMAnimatedPathData.AnimSVGPathSegList

public class SVGOMAnimatedPathData.AnimSVGPathSegList extends AbstractSVGPathSegList

{@link SVGPathSegList} implementation for the animated path data value.
Constructor Summary
AnimSVGPathSegList()
Creates a new AnimSVGPathSegList.
Method Summary
SVGPathSegappendItem(SVGPathSeg newItem)
DOM: Implements {@link SVGPathSegList#appendItem(SVGPathSeg)}.
voidclear()
DOM: Implements {@link 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 {@link SVGPathSegList#getItem(int)}.
intgetNumberOfItems()
DOM: Implements {@link SVGPathSegList#getNumberOfItems()}.
protected StringgetValueAsString()
Returns the value of the DOM attribute containing the point list.
SVGPathSeginitialize(SVGPathSeg newItem)
DOM: Implements {@link SVGPathSegList#initialize(SVGPathSeg)}.
SVGPathSeginsertItemBefore(SVGPathSeg newItem, int index)
DOM: Implements {@link 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 {@link SVGPathSegList#removeItem(int)}.
SVGPathSegreplaceItem(SVGPathSeg newItem, int index)
DOM: Implements {@link 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 {@link SVGPathSegList#appendItem(SVGPathSeg)}.

clear

public void clear()
DOM: Implements {@link 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 {@link SVGPathSegList#getItem(int)}.

getNumberOfItems

public int getNumberOfItems()
DOM: Implements {@link 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 {@link SVGPathSegList#initialize(SVGPathSeg)}.

insertItemBefore

public SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index)
DOM: Implements {@link 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 {@link SVGPathSegList#removeItem(int)}.

replaceItem

public SVGPathSeg replaceItem(SVGPathSeg newItem, int index)
DOM: Implements {@link 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) 2007 Apache Software Foundation. All Rights Reserved.