protected class SVGOMAnimatedNumberList.AnimSVGNumberList extends AbstractSVGNumberList
SVGOMAnimatedNumberList.BaseSVGNumberList
implementation for the animated number list value.AbstractSVGNumberList.NumberListBuilder, AbstractSVGNumberList.SVGNumberItem
AbstractSVGList.ListBuilder
SVG_NUMBER_LIST_SEPARATOR
itemList, valid
Constructor and Description |
---|
SVGOMAnimatedNumberList.AnimSVGNumberList()
Creates a new AnimSVGNumberList.
|
Modifier and Type | Method and Description |
---|---|
SVGNumber |
appendItem(SVGNumber newItem)
DOM: Implements
AbstractSVGNumberList.appendItem(SVGNumber) . |
void |
clear()
DOM: Implements
AbstractSVGList.clear() . |
protected org.w3c.dom.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 org.w3c.dom.Element |
getElement()
Returns the element owning this SVGNumberList.
|
SVGNumber |
getItem(int index)
DOM: Implements
AbstractSVGNumberList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements
AbstractSVGList.getNumberOfItems() . |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
SVGNumber |
initialize(SVGNumber newItem)
DOM: Implements
AbstractSVGNumberList.initialize(SVGNumber) . |
SVGNumber |
insertItemBefore(SVGNumber newItem,
int index)
DOM: Implements
AbstractSVGNumberList.insertItemBefore(SVGNumber, int) . |
SVGNumber |
removeItem(int index)
DOM: Implements
AbstractSVGNumberList.removeItem(int) . |
SVGNumber |
replaceItem(SVGNumber newItem,
int index)
DOM: Implements
AbstractSVGNumberList.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, getItemSeparator
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
public SVGOMAnimatedNumberList.AnimSVGNumberList()
protected org.w3c.dom.DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException
in class AbstractSVGList
protected SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
createSVGException
in class AbstractSVGNumberList
protected org.w3c.dom.Element getElement()
getElement
in class AbstractSVGNumberList
public int getNumberOfItems()
AbstractSVGList.getNumberOfItems()
.getNumberOfItems
in class AbstractSVGList
public SVGNumber getItem(int index) throws org.w3c.dom.DOMException
AbstractSVGNumberList.getItem(int)
.getItem
in class AbstractSVGNumberList
org.w3c.dom.DOMException
protected java.lang.String getValueAsString()
getValueAsString
in class AbstractSVGList
protected void setAttributeValue(java.lang.String value)
setAttributeValue
in class AbstractSVGList
value
- the String representation of the list, or null
if the list contains no itemspublic void clear() throws org.w3c.dom.DOMException
AbstractSVGList.clear()
.clear
in class AbstractSVGList
org.w3c.dom.DOMException
- NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public SVGNumber initialize(SVGNumber newItem) throws org.w3c.dom.DOMException, SVGException
AbstractSVGNumberList.initialize(SVGNumber)
.initialize
in class AbstractSVGNumberList
org.w3c.dom.DOMException
SVGException
public SVGNumber insertItemBefore(SVGNumber newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGNumberList.insertItemBefore(SVGNumber, int)
.insertItemBefore
in class AbstractSVGNumberList
org.w3c.dom.DOMException
SVGException
public SVGNumber replaceItem(SVGNumber newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGNumberList.replaceItem(SVGNumber, int)
.replaceItem
in class AbstractSVGNumberList
org.w3c.dom.DOMException
SVGException
public SVGNumber removeItem(int index) throws org.w3c.dom.DOMException
AbstractSVGNumberList.removeItem(int)
.removeItem
in class AbstractSVGNumberList
org.w3c.dom.DOMException
public SVGNumber appendItem(SVGNumber newItem) throws org.w3c.dom.DOMException
AbstractSVGNumberList.appendItem(SVGNumber)
.appendItem
in class AbstractSVGNumberList
org.w3c.dom.DOMException
protected void setAnimatedValue(float[] values)
protected void resetAttribute()
resetAttribute
in class AbstractSVGList
protected void resetAttribute(SVGItem item)
resetAttribute
in class AbstractSVGList
protected void revalidate()
revalidate
in class AbstractSVGList
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.