protected class SVGOMAnimatedTransformList.AnimSVGTransformList extends AbstractSVGTransformList
SVGTransformList
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
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, getItemSeparator
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
public SVGOMAnimatedTransformList.AnimSVGTransformList()
protected 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()
SVGTransformList#getNumberOfItems()
.getNumberOfItems
in class AbstractSVGList
public SVGTransform getItem(int index) throws DOMException
SVGTransformList#getItem(int)
.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 class AbstractSVGList
DOMException
- 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 AbstractSVGTransformList
DOMException
SVGException
public SVGTransform insertItemBefore(SVGTransform newItem, int index) throws DOMException, SVGException
SVGTransformList#insertItemBefore(SVGTransform, int)
.insertItemBefore
in class AbstractSVGTransformList
DOMException
SVGException
public SVGTransform replaceItem(SVGTransform newItem, int index) throws DOMException, SVGException
SVGTransformList#replaceItem(SVGTransform, int)
.replaceItem
in class AbstractSVGTransformList
DOMException
SVGException
public SVGTransform removeItem(int index) throws DOMException
SVGTransformList#removeItem(int)
.removeItem
in class AbstractSVGTransformList
DOMException
public SVGTransform appendItem(SVGTransform newItem) throws DOMException
SVGTransformList#appendItem(SVGTransform)
.appendItem
in class AbstractSVGTransformList
DOMException
public SVGTransform consolidate()
SVGTransformList#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.