org.apache.batik.dom.svg

Class SVGOMAnimatedNumberList.AnimSVGNumberList

protected class SVGOMAnimatedNumberList.AnimSVGNumberList extends AbstractSVGNumberList

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

clear

public void clear()
DOM: Implements 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 SVGNumberList#getItem(int).

getNumberOfItems

public int getNumberOfItems()
DOM: Implements 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 SVGNumberList#initialize(SVGNumber).

insertItemBefore

public SVGNumber insertItemBefore(SVGNumber newItem, int index)
DOM: Implements SVGNumberList#insertItemBefore(SVGNumber, int).

removeItem

public SVGNumber removeItem(int index)
DOM: Implements SVGNumberList#removeItem(int).

replaceItem

public SVGNumber replaceItem(SVGNumber newItem, int index)
DOM: Implements 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) 2008 Apache Software Foundation. All Rights Reserved.