protected class SVGOMAnimatedNumberList.AnimSVGNumberList extends AbstractSVGNumberList
SVGNumberList implementation for the animated number list value.AbstractSVGNumberList.NumberListBuilder, AbstractSVGNumberList.SVGNumberItemAbstractSVGList.ListBuilderSVG_NUMBER_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
SVGOMAnimatedNumberList.AnimSVGNumberList()
Creates a new AnimSVGNumberList.
|
| Modifier and Type | Method and Description |
|---|---|
SVGNumber |
appendItem(SVGNumber newItem)
DOM: Implements
SVGNumberList#appendItem(SVGNumber). |
void |
clear()
DOM: Implements
SVGNumberList#clear(). |
protected DOMException |
createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a DOMException.
|
protected SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a SVGException.
|
protected Element |
getElement()
Returns the element owning this SVGNumberList.
|
SVGNumber |
getItem(int index)
DOM: Implements
SVGNumberList#getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGNumberList#getNumberOfItems(). |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
SVGNumber |
initialize(SVGNumber newItem)
DOM: Implements
SVGNumberList#initialize(SVGNumber). |
SVGNumber |
insertItemBefore(SVGNumber newItem,
int index)
DOM: Implements
SVGNumberList#insertItemBefore(SVGNumber, int). |
SVGNumber |
removeItem(int index)
DOM: Implements
SVGNumberList#removeItem(int). |
SVGNumber |
replaceItem(SVGNumber newItem,
int index)
DOM: Implements
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(java.lang.String value)
Sets the DOM attribute value containing the point list.
|
checkItemType, createSVGItem, doParse, getItemSeparatorappendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringpublic SVGOMAnimatedNumberList.AnimSVGNumberList()
protected DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException in class AbstractSVGListprotected SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
createSVGException in class AbstractSVGNumberListprotected Element getElement()
getElement in class AbstractSVGNumberListpublic int getNumberOfItems()
SVGNumberList#getNumberOfItems().getNumberOfItems in class AbstractSVGListpublic SVGNumber getItem(int index)
throws DOMException
SVGNumberList#getItem(int).getItem in class AbstractSVGNumberListDOMExceptionprotected java.lang.String getValueAsString()
getValueAsString in class AbstractSVGListprotected void setAttributeValue(java.lang.String value)
setAttributeValue in class AbstractSVGListvalue - the String representation of the list, or null
if the list contains no itemspublic void clear()
throws DOMException
SVGNumberList#clear().clear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public SVGNumber initialize(SVGNumber newItem)
throws DOMException,
SVGException
SVGNumberList#initialize(SVGNumber).initialize in class AbstractSVGNumberListDOMExceptionSVGExceptionpublic SVGNumber insertItemBefore(SVGNumber newItem,
int index)
throws DOMException,
SVGException
SVGNumberList#insertItemBefore(SVGNumber, int).insertItemBefore in class AbstractSVGNumberListDOMExceptionSVGExceptionpublic SVGNumber replaceItem(SVGNumber newItem,
int index)
throws DOMException,
SVGException
SVGNumberList#replaceItem(SVGNumber, int).replaceItem in class AbstractSVGNumberListDOMExceptionSVGExceptionpublic SVGNumber removeItem(int index)
throws DOMException
SVGNumberList#removeItem(int).removeItem in class AbstractSVGNumberListDOMExceptionpublic SVGNumber appendItem(SVGNumber newItem)
throws DOMException
SVGNumberList#appendItem(SVGNumber).appendItem in class AbstractSVGNumberListDOMExceptionprotected void setAnimatedValue(float[] values)
protected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGListCopyright ? 2009 Apache Software Foundation. All Rights Reserved.