org.apache.batik.dom.svg

Class SVGOMAnimatedTransformList.AnimSVGTransformList

protected class SVGOMAnimatedTransformList.AnimSVGTransformList extends AbstractSVGTransformList

{@link SVGTransformList} implementation for the animated transform list value.
Constructor Summary
AnimSVGTransformList()
Creates a new AnimSVGTransformList.
Method Summary
SVGTransformappendItem(SVGTransform newItem)
DOM: Implements {@link SVGTransformList#appendItem(SVGTransform)}.
voidclear()
DOM: Implements {@link SVGTransformList#clear()}.
SVGTransformconsolidate()
DOM: Implements {@link SVGTransformList#consolidate()}.
protected DOMExceptioncreateDOMException(short type, String key, Object[] args)
Create a DOMException.
protected SVGExceptioncreateSVGException(short type, String key, Object[] args)
Create a SVGException.
SVGTransformgetItem(int index)
DOM: Implements {@link SVGTransformList#getItem(int)}.
intgetNumberOfItems()
DOM: Implements {@link SVGTransformList#getNumberOfItems()}.
protected StringgetValueAsString()
Returns the value of the DOM attribute containing the transform list.
SVGTransforminitialize(SVGTransform newItem)
DOM: Implements {@link SVGTransformList#initialize(SVGTransform)}.
SVGTransforminsertItemBefore(SVGTransform newItem, int index)
DOM: Implements {@link SVGTransformList#insertItemBefore(SVGTransform, int)}.
SVGTransformremoveItem(int index)
DOM: Implements {@link SVGTransformList#removeItem(int)}.
SVGTransformreplaceItem(SVGTransform newItem, int index)
DOM: Implements {@link SVGTransformList#replaceItem(SVGTransform, int)}.
protected voidresetAttribute()
Resets the value of the associated attribute.
protected voidresetAttribute(SVGItem item)
Resets the value of the associated attribute.
protected voidrevalidate()
Initializes the list, if needed.
protected voidsetAnimatedValue(Iterator it)
Sets the animated value to a list of transforms.
protected voidsetAnimatedValue(SVGTransform transform)
Sets the animated value to a single transform.
protected voidsetAttributeValue(String value)
Sets the DOM attribute value containing the transform list.

Constructor Detail

AnimSVGTransformList

public AnimSVGTransformList()
Creates a new AnimSVGTransformList.

Method Detail

appendItem

public SVGTransform appendItem(SVGTransform newItem)
DOM: Implements {@link SVGTransformList#appendItem(SVGTransform)}.

clear

public void clear()
DOM: Implements {@link SVGTransformList#clear()}.

consolidate

public SVGTransform consolidate()
DOM: Implements {@link SVGTransformList#consolidate()}.

createDOMException

protected DOMException createDOMException(short type, String key, Object[] args)
Create a DOMException.

createSVGException

protected SVGException createSVGException(short type, String key, Object[] args)
Create a SVGException.

getItem

public SVGTransform getItem(int index)
DOM: Implements {@link SVGTransformList#getItem(int)}.

getNumberOfItems

public int getNumberOfItems()
DOM: Implements {@link SVGTransformList#getNumberOfItems()}.

getValueAsString

protected String getValueAsString()
Returns the value of the DOM attribute containing the transform list.

initialize

public SVGTransform initialize(SVGTransform newItem)
DOM: Implements {@link SVGTransformList#initialize(SVGTransform)}.

insertItemBefore

public SVGTransform insertItemBefore(SVGTransform newItem, int index)
DOM: Implements {@link SVGTransformList#insertItemBefore(SVGTransform, int)}.

removeItem

public SVGTransform removeItem(int index)
DOM: Implements {@link SVGTransformList#removeItem(int)}.

replaceItem

public SVGTransform replaceItem(SVGTransform newItem, int index)
DOM: Implements {@link SVGTransformList#replaceItem(SVGTransform, int)}.

resetAttribute

protected void resetAttribute()
Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.

resetAttribute

protected void resetAttribute(SVGItem item)
Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.

revalidate

protected void revalidate()
Initializes the list, if needed. Does nothing, since there is no attribute to read the list from.

setAnimatedValue

protected void setAnimatedValue(Iterator it)
Sets the animated value to a list of transforms.

setAnimatedValue

protected void setAnimatedValue(SVGTransform transform)
Sets the animated value to a single transform.

setAttributeValue

protected void setAttributeValue(String value)
Sets the DOM attribute value containing the transform list.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.