protected class SVGOMAnimatedTransformList.AnimSVGTransformList extends AbstractSVGTransformList
SVGTransformList implementation for the animated transform list
value.AbstractSVGTransformList.SVGTransformItem, AbstractSVGTransformList.TransformListBuilderSVG_TRANSFORMATION_LIST_SEPARATORitemList, valid| Constructor and Description |
|---|
AnimSVGTransformList()
Creates a new AnimSVGTransformList.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.svg.SVGTransform |
appendItem(org.w3c.dom.svg.SVGTransform newItem)
DOM: Implements
SVGTransformList.appendItem(SVGTransform). |
void |
clear()
DOM: Implements
SVGTransformList.clear(). |
org.w3c.dom.svg.SVGTransform |
consolidate()
DOM: Implements
SVGTransformList.consolidate(). |
protected DOMException |
createDOMException(short type,
String key,
Object[] args)
Create a DOMException.
|
protected org.w3c.dom.svg.SVGException |
createSVGException(short type,
String key,
Object[] args)
Create a SVGException.
|
org.w3c.dom.svg.SVGTransform |
getItem(int index)
DOM: Implements
SVGTransformList.getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGTransformList.getNumberOfItems(). |
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the transform list.
|
org.w3c.dom.svg.SVGTransform |
initialize(org.w3c.dom.svg.SVGTransform newItem)
DOM: Implements
SVGTransformList.initialize(SVGTransform). |
org.w3c.dom.svg.SVGTransform |
insertItemBefore(org.w3c.dom.svg.SVGTransform newItem,
int index)
DOM: Implements
SVGTransformList.insertItemBefore(SVGTransform, int). |
org.w3c.dom.svg.SVGTransform |
removeItem(int index)
DOM: Implements
SVGTransformList.removeItem(int). |
org.w3c.dom.svg.SVGTransform |
replaceItem(org.w3c.dom.svg.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(Iterator it)
Sets the animated value to a list of transforms.
|
protected void |
setAnimatedValue(org.w3c.dom.svg.SVGTransform transform)
Sets the animated value to a single transform.
|
protected void |
setAttributeValue(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 AnimSVGTransformList()
protected DOMException createDOMException(short type, String key, Object[] args)
createDOMException in class AbstractSVGListprotected org.w3c.dom.svg.SVGException createSVGException(short type, String key, Object[] args)
createSVGException in class AbstractSVGTransformListpublic int getNumberOfItems()
SVGTransformList.getNumberOfItems().getNumberOfItems in interface org.w3c.dom.svg.SVGTransformListgetNumberOfItems in class AbstractSVGListpublic org.w3c.dom.svg.SVGTransform getItem(int index) throws DOMException
SVGTransformList.getItem(int).getItem in interface org.w3c.dom.svg.SVGTransformListgetItem in class AbstractSVGTransformListDOMExceptionprotected String getValueAsString()
getValueAsString in class AbstractSVGListprotected void setAttributeValue(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 interface org.w3c.dom.svg.SVGTransformListclear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGTransform initialize(org.w3c.dom.svg.SVGTransform newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGTransformList.initialize(SVGTransform).initialize in interface org.w3c.dom.svg.SVGTransformListinitialize in class AbstractSVGTransformListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGTransform insertItemBefore(org.w3c.dom.svg.SVGTransform newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGTransformList.insertItemBefore(SVGTransform, int).insertItemBefore in interface org.w3c.dom.svg.SVGTransformListinsertItemBefore in class AbstractSVGTransformListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGTransform replaceItem(org.w3c.dom.svg.SVGTransform newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGTransformList.replaceItem(SVGTransform, int).replaceItem in interface org.w3c.dom.svg.SVGTransformListreplaceItem in class AbstractSVGTransformListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGTransform removeItem(int index) throws DOMException
SVGTransformList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGTransformListremoveItem in class AbstractSVGTransformListDOMExceptionpublic org.w3c.dom.svg.SVGTransform appendItem(org.w3c.dom.svg.SVGTransform newItem) throws DOMException
SVGTransformList.appendItem(SVGTransform).appendItem in interface org.w3c.dom.svg.SVGTransformListappendItem in class AbstractSVGTransformListDOMExceptionpublic org.w3c.dom.svg.SVGTransform consolidate()
SVGTransformList.consolidate().consolidate in interface org.w3c.dom.svg.SVGTransformListconsolidate in class AbstractSVGTransformListprotected void setAnimatedValue(Iterator it)
protected void setAnimatedValue(org.w3c.dom.svg.SVGTransform transform)
protected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGListCopyright © 2000–2017 Apache Software Foundation. All rights reserved.