org.apache.batik.dom.svg

Class SVGOMAnimatedNumberList.AnimSVGNumberList

protected class SVGOMAnimatedNumberList.AnimSVGNumberList extends AbstractSVGNumberList

{@link SVGNumberList} implementation for the animated number list value.
Constructor Summary
AnimSVGNumberList()
Creates a new AnimSVGNumberList.
Method Summary
SVGNumberappendItem(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#appendItem(SVGNumber)}.
voidclear()
DOM: Implements {@link SVGNumberList#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 SVGNumberList.
SVGNumbergetItem(int index)
DOM: Implements {@link SVGNumberList#getItem(int)}.
intgetNumberOfItems()
DOM: Implements {@link SVGNumberList#getNumberOfItems()}.
protected StringgetValueAsString()
Returns the value of the DOM attribute containing the point list.
SVGNumberinitialize(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#initialize(SVGNumber)}.
SVGNumberinsertItemBefore(SVGNumber newItem, int index)
DOM: Implements {@link SVGNumberList#insertItemBefore(SVGNumber, int)}.
SVGNumberremoveItem(int index)
DOM: Implements {@link SVGNumberList#removeItem(int)}.
SVGNumberreplaceItem(SVGNumber newItem, int index)
DOM: Implements {@link SVGNumberList#replaceItem(SVGNumber, 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(float[] values)
Sets the animated value.
protected voidsetAttributeValue(String value)
Sets the DOM attribute value containing the point list.

Constructor Detail

AnimSVGNumberList

public AnimSVGNumberList()
Creates a new AnimSVGNumberList.

Method Detail

appendItem

public SVGNumber appendItem(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#appendItem(SVGNumber)}.

clear

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

getItem

public SVGNumber getItem(int index)
DOM: Implements {@link SVGNumberList#getItem(int)}.

getNumberOfItems

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

getValueAsString

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

initialize

public SVGNumber initialize(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#initialize(SVGNumber)}.

insertItemBefore

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

removeItem

public SVGNumber removeItem(int index)
DOM: Implements {@link SVGNumberList#removeItem(int)}.

replaceItem

public SVGNumber replaceItem(SVGNumber newItem, int index)
DOM: Implements {@link SVGNumberList#replaceItem(SVGNumber, 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(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.