org.apache.batik.dom.svg

Class SVGOMAnimatedLengthList.AnimSVGLengthList

protected class SVGOMAnimatedLengthList.AnimSVGLengthList extends AbstractSVGLengthList

{@link SVGLengthList} implementation for the animated length list value.
Constructor Summary
AnimSVGLengthList()
Creates a new AnimSVGLengthList.
Method Summary
SVGLengthappendItem(SVGLength newItem)
DOM: Implements {@link SVGLengthList#appendItem(SVGLength)}.
voidclear()
DOM: Implements {@link SVGLengthList#clear()}.
protected DOMExceptioncreateDOMException(short type, String key, Object[] args)
Create a DOMException.
protected SVGExceptioncreateSVGException(short type, String key, Object[] args)
Create a SVGException.
protected ElementgetElement()
Returns the element owning this SVGLengthList.
SVGLengthgetItem(int index)
DOM: Implements {@link SVGLengthList#getItem(int)}.
intgetNumberOfItems()
DOM: Implements {@link SVGLengthList#getNumberOfItems()}.
protected StringgetValueAsString()
Returns the value of the DOM attribute containing the point list.
SVGLengthinitialize(SVGLength newItem)
DOM: Implements {@link SVGLengthList#initialize(SVGLength)}.
SVGLengthinsertItemBefore(SVGLength newItem, int index)
DOM: Implements {@link SVGLengthList#insertItemBefore(SVGLength, int)}.
SVGLengthremoveItem(int index)
DOM: Implements {@link SVGLengthList#removeItem(int)}.
SVGLengthreplaceItem(SVGLength newItem, int index)
DOM: Implements {@link SVGLengthList#replaceItem(SVGLength, 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[] types, float[] values)
Sets the animated value.
protected voidsetAttributeValue(String value)
Sets the DOM attribute value containing the point list.

Constructor Detail

AnimSVGLengthList

public AnimSVGLengthList()
Creates a new AnimSVGLengthList.

Method Detail

appendItem

public SVGLength appendItem(SVGLength newItem)
DOM: Implements {@link SVGLengthList#appendItem(SVGLength)}.

clear

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

getElement

protected Element getElement()
Returns the element owning this SVGLengthList.

getItem

public SVGLength getItem(int index)
DOM: Implements {@link SVGLengthList#getItem(int)}.

getNumberOfItems

public int getNumberOfItems()
DOM: Implements {@link SVGLengthList#getNumberOfItems()}.

getValueAsString

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

initialize

public SVGLength initialize(SVGLength newItem)
DOM: Implements {@link SVGLengthList#initialize(SVGLength)}.

insertItemBefore

public SVGLength insertItemBefore(SVGLength newItem, int index)
DOM: Implements {@link SVGLengthList#insertItemBefore(SVGLength, int)}.

removeItem

public SVGLength removeItem(int index)
DOM: Implements {@link SVGLengthList#removeItem(int)}.

replaceItem

public SVGLength replaceItem(SVGLength newItem, int index)
DOM: Implements {@link SVGLengthList#replaceItem(SVGLength, 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[] types, float[] values)
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.