|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.svg.SVGList
This class is used to implement SVG lists.
Field Summary | |
protected java.util.List |
list
The list implementation. |
Constructor Summary | |
SVGList()
|
Method Summary | |
java.lang.Object |
appendItem(java.lang.Object item)
Appends the given item to the end of the list. |
void |
clear()
Clears the list. |
java.lang.Object |
getItem(int index)
Returns the item at the given index. |
int |
getNumberOfItems()
Returns the number of items in the list. |
java.lang.Object |
initialize(java.lang.Object item)
Clears the list and adds the given item to the list. |
java.lang.Object |
insertItemBefore(java.lang.Object item,
int index)
Inserts an item in the list before the item at the given position. |
java.util.Iterator |
iterator()
Returns an iterator over the list. |
java.lang.Object |
removeItem(int index)
Removes the item at the given index. |
java.lang.Object |
replaceItem(java.lang.Object item,
int index)
Replaces the item at the given index with the given item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List list
Constructor Detail |
public SVGList()
Method Detail |
public int getNumberOfItems()
public void clear()
public java.lang.Object initialize(java.lang.Object item)
public java.lang.Object getItem(int index) throws DOMException
public java.lang.Object insertItemBefore(java.lang.Object item, int index)
public java.lang.Object replaceItem(java.lang.Object item, int index) throws DOMException
public java.lang.Object removeItem(int index) throws DOMException
public java.lang.Object appendItem(java.lang.Object item)
public java.util.Iterator iterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |