protected class SVGOMAnimatedLengthList.AnimSVGLengthList extends AbstractSVGLengthList
SVGOMAnimatedLengthList.BaseSVGLengthList
implementation for the animated length list value.AbstractSVGLengthList.LengthListBuilder, AbstractSVGLengthList.SVGLengthItem
AbstractSVGList.ListBuilder
direction, SVG_LENGTH_LIST_SEPARATOR
itemList, valid
Constructor and Description |
---|
SVGOMAnimatedLengthList.AnimSVGLengthList()
Creates a new AnimSVGLengthList.
|
Modifier and Type | Method and Description |
---|---|
SVGLength |
appendItem(SVGLength newItem)
DOM: Implements
AbstractSVGLengthList.appendItem(SVGLength) . |
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 SVGLengthList.
|
SVGLength |
getItem(int index)
DOM: Implements
AbstractSVGLengthList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements
AbstractSVGList.getNumberOfItems() . |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
SVGLength |
initialize(SVGLength newItem)
DOM: Implements
AbstractSVGLengthList.initialize(SVGLength) . |
SVGLength |
insertItemBefore(SVGLength newItem,
int index)
DOM: Implements
AbstractSVGLengthList.insertItemBefore(SVGLength, int) . |
SVGLength |
removeItem(int index)
DOM: Implements
AbstractSVGLengthList.removeItem(int) . |
SVGLength |
replaceItem(SVGLength newItem,
int index)
DOM: Implements
AbstractSVGLengthList.replaceItem(SVGLength, 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(short[] types,
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 SVGOMAnimatedLengthList.AnimSVGLengthList()
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 AbstractSVGLengthList
protected org.w3c.dom.Element getElement()
getElement
in class AbstractSVGLengthList
public int getNumberOfItems()
AbstractSVGList.getNumberOfItems()
.getNumberOfItems
in class AbstractSVGList
public SVGLength getItem(int index) throws org.w3c.dom.DOMException
AbstractSVGLengthList.getItem(int)
.getItem
in class AbstractSVGLengthList
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 SVGLength initialize(SVGLength newItem) throws org.w3c.dom.DOMException, SVGException
AbstractSVGLengthList.initialize(SVGLength)
.initialize
in class AbstractSVGLengthList
org.w3c.dom.DOMException
SVGException
public SVGLength insertItemBefore(SVGLength newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGLengthList.insertItemBefore(SVGLength, int)
.insertItemBefore
in class AbstractSVGLengthList
org.w3c.dom.DOMException
SVGException
public SVGLength replaceItem(SVGLength newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGLengthList.replaceItem(SVGLength, int)
.replaceItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
SVGException
public SVGLength removeItem(int index) throws org.w3c.dom.DOMException
AbstractSVGLengthList.removeItem(int)
.removeItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
public SVGLength appendItem(SVGLength newItem) throws org.w3c.dom.DOMException
AbstractSVGLengthList.appendItem(SVGLength)
.appendItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
protected void setAnimatedValue(short[] types, 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.