protected class SVGOMAnimatedNumberList.AnimSVGNumberList extends AbstractSVGNumberList
SVGNumberList
implementation for the animated number list value.AbstractSVGNumberList.NumberListBuilder
SVG_NUMBER_LIST_SEPARATOR
itemList, valid
Constructor and Description |
---|
AnimSVGNumberList()
Creates a new AnimSVGNumberList.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.svg.SVGNumber |
appendItem(org.w3c.dom.svg.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 org.w3c.dom.svg.SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a SVGException.
|
protected Element |
getElement()
Returns the element owning this SVGNumberList.
|
org.w3c.dom.svg.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.
|
org.w3c.dom.svg.SVGNumber |
initialize(org.w3c.dom.svg.SVGNumber newItem)
DOM: Implements
SVGNumberList.initialize(SVGNumber) . |
org.w3c.dom.svg.SVGNumber |
insertItemBefore(org.w3c.dom.svg.SVGNumber newItem,
int index)
DOM: Implements
SVGNumberList.insertItemBefore(SVGNumber, int) . |
org.w3c.dom.svg.SVGNumber |
removeItem(int index)
DOM: Implements
SVGNumberList.removeItem(int) . |
org.w3c.dom.svg.SVGNumber |
replaceItem(org.w3c.dom.svg.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, getItemSeparator
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
protected DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException
in class AbstractSVGList
protected org.w3c.dom.svg.SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
createSVGException
in class AbstractSVGNumberList
protected Element getElement()
getElement
in class AbstractSVGNumberList
public int getNumberOfItems()
SVGNumberList.getNumberOfItems()
.getNumberOfItems
in interface org.w3c.dom.svg.SVGNumberList
getNumberOfItems
in class AbstractSVGList
public org.w3c.dom.svg.SVGNumber getItem(int index) throws DOMException
SVGNumberList.getItem(int)
.getItem
in interface org.w3c.dom.svg.SVGNumberList
getItem
in class AbstractSVGNumberList
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 DOMException
SVGNumberList.clear()
.clear
in interface org.w3c.dom.svg.SVGNumberList
clear
in class AbstractSVGList
DOMException
- NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGNumber initialize(org.w3c.dom.svg.SVGNumber newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGNumberList.initialize(SVGNumber)
.initialize
in interface org.w3c.dom.svg.SVGNumberList
initialize
in class AbstractSVGNumberList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGNumber insertItemBefore(org.w3c.dom.svg.SVGNumber newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGNumberList.insertItemBefore(SVGNumber, int)
.insertItemBefore
in interface org.w3c.dom.svg.SVGNumberList
insertItemBefore
in class AbstractSVGNumberList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGNumber replaceItem(org.w3c.dom.svg.SVGNumber newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGNumberList.replaceItem(SVGNumber, int)
.replaceItem
in interface org.w3c.dom.svg.SVGNumberList
replaceItem
in class AbstractSVGNumberList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGNumber removeItem(int index) throws DOMException
SVGNumberList.removeItem(int)
.removeItem
in interface org.w3c.dom.svg.SVGNumberList
removeItem
in class AbstractSVGNumberList
DOMException
public org.w3c.dom.svg.SVGNumber appendItem(org.w3c.dom.svg.SVGNumber newItem) throws DOMException
SVGNumberList.appendItem(SVGNumber)
.appendItem
in interface org.w3c.dom.svg.SVGNumberList
appendItem
in class AbstractSVGNumberList
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 © 2022 Apache Software Foundation. All Rights Reserved.