protected class SVGOMAnimatedTransformList.AnimSVGTransformList extends AbstractSVGTransformList
SVGTransformList implementation for the animated transform list
value.AbstractSVGTransformList.SVGTransformItem, AbstractSVGTransformList.TransformListBuilderAbstractSVGList.ListBuilderSVG_TRANSFORMATION_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
SVGOMAnimatedTransformList.AnimSVGTransformList()
Creates a new AnimSVGTransformList.
|
| Modifier and Type | Method and Description |
|---|---|
SVGTransform |
appendItem(SVGTransform newItem)
DOM: Implements
SVGTransformList#appendItem(SVGTransform). |
void |
clear()
DOM: Implements
SVGTransformList#clear(). |
SVGTransform |
consolidate()
DOM: Implements
SVGTransformList#consolidate(). |
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.
|
SVGTransform |
getItem(int index)
DOM: Implements
SVGTransformList#getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGTransformList#getNumberOfItems(). |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the transform list.
|
SVGTransform |
initialize(SVGTransform newItem)
DOM: Implements
SVGTransformList#initialize(SVGTransform). |
SVGTransform |
insertItemBefore(SVGTransform newItem,
int index)
DOM: Implements
SVGTransformList#insertItemBefore(SVGTransform, int). |
SVGTransform |
removeItem(int index)
DOM: Implements
SVGTransformList#removeItem(int). |
SVGTransform |
replaceItem(SVGTransform newItem,
int index)
DOM: Implements
SVGTransformList#replaceItem(SVGTransform, 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(java.util.Iterator it)
Sets the animated value to a list of transforms.
|
protected void |
setAnimatedValue(SVGTransform transform)
Sets the animated value to a single transform.
|
protected void |
setAttributeValue(java.lang.String value)
Sets the DOM attribute value containing the transform list.
|
checkItemType, createSVGItem, createSVGTransformFromMatrix, doParse, getAffineTransform, getItemSeparatorappendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringpublic SVGOMAnimatedTransformList.AnimSVGTransformList()
protected org.w3c.dom.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 AbstractSVGTransformListpublic int getNumberOfItems()
SVGTransformList#getNumberOfItems().getNumberOfItems in class AbstractSVGListpublic SVGTransform getItem(int index)
throws org.w3c.dom.DOMException
SVGTransformList#getItem(int).getItem in class AbstractSVGTransformListorg.w3c.dom.DOMExceptionprotected 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 org.w3c.dom.DOMException
SVGTransformList#clear().clear in class AbstractSVGListorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public SVGTransform initialize(SVGTransform newItem)
throws org.w3c.dom.DOMException,
SVGException
SVGTransformList#initialize(SVGTransform).initialize in class AbstractSVGTransformListorg.w3c.dom.DOMExceptionSVGExceptionpublic SVGTransform insertItemBefore(SVGTransform newItem,
int index)
throws org.w3c.dom.DOMException,
SVGException
SVGTransformList#insertItemBefore(SVGTransform, int).insertItemBefore in class AbstractSVGTransformListorg.w3c.dom.DOMExceptionSVGExceptionpublic SVGTransform replaceItem(SVGTransform newItem,
int index)
throws org.w3c.dom.DOMException,
SVGException
SVGTransformList#replaceItem(SVGTransform, int).replaceItem in class AbstractSVGTransformListorg.w3c.dom.DOMExceptionSVGExceptionpublic SVGTransform removeItem(int index)
throws org.w3c.dom.DOMException
SVGTransformList#removeItem(int).removeItem in class AbstractSVGTransformListorg.w3c.dom.DOMExceptionpublic SVGTransform appendItem(SVGTransform newItem)
throws org.w3c.dom.DOMException
SVGTransformList#appendItem(SVGTransform).appendItem in class AbstractSVGTransformListorg.w3c.dom.DOMExceptionpublic SVGTransform consolidate()
SVGTransformList#consolidate().consolidate in class AbstractSVGTransformListprotected void setAnimatedValue(java.util.Iterator it)
protected void setAnimatedValue(SVGTransform transform)
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.