protected class SVGOMAnimatedTransformList.AnimSVGTransformList extends AbstractSVGTransformList
SVGTransformList
implementation for the animated transform list
value.AbstractSVGTransformList.SVGTransformItem, AbstractSVGTransformList.TransformListBuilder
SVG_TRANSFORMATION_LIST_SEPARATOR
itemList, 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,
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.
|
org.w3c.dom.svg.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.
|
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(java.util.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(java.lang.String value)
Sets the DOM attribute value containing the transform list.
|
checkItemType, createSVGItem, createSVGTransformFromMatrix, doParse, getAffineTransform, getItemSeparator
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
public AnimSVGTransformList()
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 AbstractSVGTransformList
public int getNumberOfItems()
SVGTransformList.getNumberOfItems()
.getNumberOfItems
in interface org.w3c.dom.svg.SVGTransformList
getNumberOfItems
in class AbstractSVGList
public org.w3c.dom.svg.SVGTransform getItem(int index) throws DOMException
SVGTransformList.getItem(int)
.getItem
in interface org.w3c.dom.svg.SVGTransformList
getItem
in class AbstractSVGTransformList
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
SVGTransformList.clear()
.clear
in interface org.w3c.dom.svg.SVGTransformList
clear
in class AbstractSVGList
DOMException
- 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.SVGTransformList
initialize
in class AbstractSVGTransformList
DOMException
org.w3c.dom.svg.SVGException
public 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.SVGTransformList
insertItemBefore
in class AbstractSVGTransformList
DOMException
org.w3c.dom.svg.SVGException
public 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.SVGTransformList
replaceItem
in class AbstractSVGTransformList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGTransform removeItem(int index) throws DOMException
SVGTransformList.removeItem(int)
.removeItem
in interface org.w3c.dom.svg.SVGTransformList
removeItem
in class AbstractSVGTransformList
DOMException
public org.w3c.dom.svg.SVGTransform appendItem(org.w3c.dom.svg.SVGTransform newItem) throws DOMException
SVGTransformList.appendItem(SVGTransform)
.appendItem
in interface org.w3c.dom.svg.SVGTransformList
appendItem
in class AbstractSVGTransformList
DOMException
public org.w3c.dom.svg.SVGTransform consolidate()
SVGTransformList.consolidate()
.consolidate
in interface org.w3c.dom.svg.SVGTransformList
consolidate
in class AbstractSVGTransformList
protected void setAnimatedValue(java.util.Iterator it)
protected void setAnimatedValue(org.w3c.dom.svg.SVGTransform transform)
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.