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 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 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 DOMException
SVGTransformList#getItem(int).getItem in class AbstractSVGTransformListDOMExceptionprotected 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
SVGTransformList#clear().clear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public SVGTransform initialize(SVGTransform newItem)
throws DOMException,
SVGException
SVGTransformList#initialize(SVGTransform).initialize in class AbstractSVGTransformListDOMExceptionSVGExceptionpublic SVGTransform insertItemBefore(SVGTransform newItem,
int index)
throws DOMException,
SVGException
SVGTransformList#insertItemBefore(SVGTransform, int).insertItemBefore in class AbstractSVGTransformListDOMExceptionSVGExceptionpublic SVGTransform replaceItem(SVGTransform newItem,
int index)
throws DOMException,
SVGException
SVGTransformList#replaceItem(SVGTransform, int).replaceItem in class AbstractSVGTransformListDOMExceptionSVGExceptionpublic SVGTransform removeItem(int index)
throws DOMException
SVGTransformList#removeItem(int).removeItem in class AbstractSVGTransformListDOMExceptionpublic SVGTransform appendItem(SVGTransform newItem)
throws DOMException
SVGTransformList#appendItem(SVGTransform).appendItem in class AbstractSVGTransformListDOMExceptionpublic 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.