org.apache.batik.dom.svg
Class SVGOMAnimatedNumberList.AnimSVGNumberList
protected
class
SVGOMAnimatedNumberList.AnimSVGNumberList
extends AbstractSVGNumberList
{@link SVGNumberList} implementation for the animated number list value.
Method Summary |
SVGNumber | appendItem(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#appendItem(SVGNumber)}. |
void | clear()
DOM: Implements {@link SVGNumberList#clear()}. |
protected DOMException | createDOMException(short type, String key, Object[] args)
Create a DOMException. |
protected SVGException | createSVGException(short type, String key, Object[] args)
Create a SVGException. |
protected Element | getElement()
Returns the element owning this SVGNumberList. |
SVGNumber | getItem(int index)
DOM: Implements {@link SVGNumberList#getItem(int)}. |
int | getNumberOfItems()
DOM: Implements {@link SVGNumberList#getNumberOfItems()}. |
protected String | getValueAsString()
Returns the value of the DOM attribute containing the point list. |
SVGNumber | initialize(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#initialize(SVGNumber)}. |
SVGNumber | insertItemBefore(SVGNumber newItem, int index)
DOM: Implements {@link
SVGNumberList#insertItemBefore(SVGNumber, int)}. |
SVGNumber | removeItem(int index)
DOM: Implements {@link SVGNumberList#removeItem(int)}. |
SVGNumber | replaceItem(SVGNumber newItem, int index)
DOM: Implements {@link
SVGNumberList#replaceItem(SVGNumber, int)}. |
protected void | resetAttribute()
Resets the value of the associated attribute. |
protected void | resetAttribute(SVGItem item)
Resets the value of the associated attribute. |
protected void | revalidate()
Initializes the list, if needed. |
protected void | setAnimatedValue(float[] values)
Sets the animated value. |
protected void | setAttributeValue(String value)
Sets the DOM attribute value containing the point list. |
public AnimSVGNumberList()
Creates a new AnimSVGNumberList.
public SVGNumber appendItem(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#appendItem(SVGNumber)}.
public void clear()
DOM: Implements {@link SVGNumberList#clear()}.
protected DOMException createDOMException(short type, String key, Object[] args)
Create a DOMException.
protected SVGException createSVGException(short type, String key, Object[] args)
Create a SVGException.
protected Element getElement()
Returns the element owning this SVGNumberList.
public SVGNumber getItem(int index)
DOM: Implements {@link SVGNumberList#getItem(int)}.
public int getNumberOfItems()
DOM: Implements {@link SVGNumberList#getNumberOfItems()}.
protected String getValueAsString()
Returns the value of the DOM attribute containing the point list.
public SVGNumber initialize(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#initialize(SVGNumber)}.
public SVGNumber insertItemBefore(SVGNumber newItem, int index)
DOM: Implements {@link
SVGNumberList#insertItemBefore(SVGNumber, int)}.
public SVGNumber removeItem(int index)
DOM: Implements {@link SVGNumberList#removeItem(int)}.
public SVGNumber replaceItem(SVGNumber newItem, int index)
DOM: Implements {@link
SVGNumberList#replaceItem(SVGNumber, int)}.
protected void resetAttribute()
Resets the value of the associated attribute. Does nothing, since
there is no attribute for an animated value.
protected void resetAttribute(
SVGItem item)
Resets the value of the associated attribute. Does nothing, since
there is no attribute for an animated value.
protected void revalidate()
Initializes the list, if needed. Does nothing, since there is no
attribute to read the list from.
protected void setAnimatedValue(float[] values)
Sets the animated value.
protected void setAttributeValue(String value)
Sets the DOM attribute value containing the point list.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.