|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGList
org.apache.batik.dom.svg.AbstractSVGPathSegList
org.apache.batik.dom.svg.SVGOMAnimatedPathData.AnimSVGPathSegList
SVGPathSegList implementation for the animated path data value.
| Nested Class Summary |
| Nested classes inherited from class org.apache.batik.dom.svg.AbstractSVGList |
AbstractSVGList.ListBuilder |
| Field Summary |
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGPathSegList |
SVG_PATHSEG_LIST_SEPARATOR |
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
itemList, valid |
| Constructor Summary | |
SVGOMAnimatedPathData.AnimSVGPathSegList()
Creates a new AnimSVGPathSegList. |
|
| Method Summary | |
SVGPathSeg |
appendItem(SVGPathSeg newItem)
DOM: Implements SVGPathSegList.appendItem(SVGPathSeg). |
void |
clear()
DOM: Implements SVGPathSegList.clear(). |
protected DOMException |
createDOMException(short type,
String key,
Object[] args)
Create a DOMException. |
protected SVGException |
createSVGException(short type,
String key,
Object[] args)
Create a SVGException. |
SVGPathSeg |
getItem(int index)
DOM: Implements SVGPathSegList.getItem(int). |
int |
getNumberOfItems()
DOM: Implements SVGPathSegList.getNumberOfItems(). |
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the point list. |
SVGPathSeg |
initialize(SVGPathSeg newItem)
DOM: Implements SVGPathSegList.initialize(SVGPathSeg). |
SVGPathSeg |
insertItemBefore(SVGPathSeg newItem,
int index)
DOM: Implements SVGPathSegList.insertItemBefore(SVGPathSeg, int). |
protected AbstractSVGPathSegList.SVGPathSegItem |
newItem(short command,
float[] parameters,
int[] j)
Creates a new SVGPathSegItem from the given path command and array of parameter values. |
SVGPathSeg |
removeItem(int index)
DOM: Implements SVGPathSegList.removeItem(int). |
SVGPathSeg |
replaceItem(SVGPathSeg newItem,
int index)
DOM: Implements SVGPathSegList.replaceItem(SVGPathSeg, 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(short[] commands,
float[] parameters)
Sets the animated value. |
protected void |
setAttributeValue(String value)
Sets the DOM attribute value containing the point list. |
| Methods inherited from class org.apache.batik.dom.svg.AbstractSVGPathSegList |
checkItemType, createPathSegItem, createSVGItem, doParse, getItemSeparator |
| Methods inherited from class org.apache.batik.dom.svg.AbstractSVGList |
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SVGOMAnimatedPathData.AnimSVGPathSegList()
| Method Detail |
protected DOMException createDOMException(short type,
String key,
Object[] args)
createDOMException in class AbstractSVGList
protected SVGException createSVGException(short type,
String key,
Object[] args)
createSVGException in class AbstractSVGPathSegListpublic int getNumberOfItems()
SVGPathSegList.getNumberOfItems().
getNumberOfItems in interface SVGPathSegListgetNumberOfItems in class AbstractSVGList
public SVGPathSeg getItem(int index)
throws DOMException
SVGPathSegList.getItem(int).
getItem in interface SVGPathSegListgetItem in class AbstractSVGPathSegListDOMExceptionprotected 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 items
public void clear()
throws DOMException
SVGPathSegList.clear().
clear in interface SVGPathSegListclear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.
public SVGPathSeg initialize(SVGPathSeg newItem)
throws DOMException,
SVGException
SVGPathSegList.initialize(SVGPathSeg).
initialize in interface SVGPathSegListinitialize in class AbstractSVGPathSegListDOMException
SVGException
public SVGPathSeg insertItemBefore(SVGPathSeg newItem,
int index)
throws DOMException,
SVGException
SVGPathSegList.insertItemBefore(SVGPathSeg, int).
insertItemBefore in interface SVGPathSegListinsertItemBefore in class AbstractSVGPathSegListDOMException
SVGException
public SVGPathSeg replaceItem(SVGPathSeg newItem,
int index)
throws DOMException,
SVGException
SVGPathSegList.replaceItem(SVGPathSeg, int).
replaceItem in interface SVGPathSegListreplaceItem in class AbstractSVGPathSegListDOMException
SVGException
public SVGPathSeg removeItem(int index)
throws DOMException
SVGPathSegList.removeItem(int).
removeItem in interface SVGPathSegListremoveItem in class AbstractSVGPathSegListDOMException
public SVGPathSeg appendItem(SVGPathSeg newItem)
throws DOMException
SVGPathSegList.appendItem(SVGPathSeg).
appendItem in interface SVGPathSegListappendItem in class AbstractSVGPathSegListDOMException
protected AbstractSVGPathSegList.SVGPathSegItem newItem(short command,
float[] parameters,
int[] j)
protected void setAnimatedValue(short[] commands,
float[] parameters)
protected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGList
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||