protected class SVGOMAnimatedTransformList.AnimSVGTransformList extends AbstractSVGTransformList
SVGOMAnimatedTransformList.BaseSVGTransformList
implementation for the animated transform list
value.AbstractSVGTransformList.SVGTransformItem, AbstractSVGTransformList.TransformListBuilder
AbstractSVGList.ListBuilder
SVG_TRANSFORMATION_LIST_SEPARATOR
itemList, valid
Constructor and Description |
---|
SVGOMAnimatedTransformList.AnimSVGTransformList()
Creates a new AnimSVGTransformList.
|
Modifier and Type | Method and Description |
---|---|
SVGTransform |
appendItem(SVGTransform newItem)
DOM: Implements
AbstractSVGTransformList.appendItem(SVGTransform) . |
void |
clear()
DOM: Implements
AbstractSVGList.clear() . |
SVGTransform |
consolidate()
DOM: Implements
AbstractSVGTransformList.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
AbstractSVGTransformList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements
AbstractSVGList.getNumberOfItems() . |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the transform list.
|
SVGTransform |
initialize(SVGTransform newItem)
DOM: Implements
AbstractSVGTransformList.initialize(SVGTransform) . |
SVGTransform |
insertItemBefore(SVGTransform newItem,
int index)
DOM: Implements
AbstractSVGTransformList.insertItemBefore(SVGTransform, int) . |
SVGTransform |
removeItem(int index)
DOM: Implements
AbstractSVGTransformList.removeItem(int) . |
SVGTransform |
replaceItem(SVGTransform newItem,
int index)
DOM: Implements
AbstractSVGTransformList.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, getItemSeparator
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
public SVGOMAnimatedTransformList.AnimSVGTransformList()
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 AbstractSVGTransformList
public int getNumberOfItems()
AbstractSVGList.getNumberOfItems()
.getNumberOfItems
in class AbstractSVGList
public SVGTransform getItem(int index) throws org.w3c.dom.DOMException
AbstractSVGTransformList.getItem(int)
.getItem
in class AbstractSVGTransformList
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 SVGTransform initialize(SVGTransform newItem) throws org.w3c.dom.DOMException, SVGException
AbstractSVGTransformList.initialize(SVGTransform)
.initialize
in class AbstractSVGTransformList
org.w3c.dom.DOMException
SVGException
public SVGTransform insertItemBefore(SVGTransform newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGTransformList.insertItemBefore(SVGTransform, int)
.insertItemBefore
in class AbstractSVGTransformList
org.w3c.dom.DOMException
SVGException
public SVGTransform replaceItem(SVGTransform newItem, int index) throws org.w3c.dom.DOMException, SVGException
AbstractSVGTransformList.replaceItem(SVGTransform, int)
.replaceItem
in class AbstractSVGTransformList
org.w3c.dom.DOMException
SVGException
public SVGTransform removeItem(int index) throws org.w3c.dom.DOMException
AbstractSVGTransformList.removeItem(int)
.removeItem
in class AbstractSVGTransformList
org.w3c.dom.DOMException
public SVGTransform appendItem(SVGTransform newItem) throws org.w3c.dom.DOMException
AbstractSVGTransformList.appendItem(SVGTransform)
.appendItem
in class AbstractSVGTransformList
org.w3c.dom.DOMException
public SVGTransform consolidate()
AbstractSVGTransformList.consolidate()
.consolidate
in class AbstractSVGTransformList
protected void setAnimatedValue(java.util.Iterator it)
protected void setAnimatedValue(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 ? 2009 Apache Software Foundation. All Rights Reserved.