|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.svg.SVGCSSNumberList
This class provides an implementation of SVGNumberList.
Field Summary | |
protected java.util.List |
list
The underlying list. |
Constructor Summary | |
SVGCSSNumberList()
|
Method Summary | |
SVGNumber |
appendItem(SVGNumber item)
Appends the item at the given index. |
void |
clear()
Clears this list. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
SVGNumber |
getItem(int index)
Returns the item at the given index. |
java.util.List |
getList()
Returns the underlying list. |
int |
getNumberOfItems()
returns the number of items in this list. |
SVGNumber |
initialize(SVGNumber item)
Initializes this list with the given item. |
SVGNumber |
insertItemBefore(SVGNumber item,
int index)
Inserts the given item at the given index. |
SVGNumber |
removeItem(int index)
Removes the item at the given index. |
SVGNumber |
replaceItem(SVGNumber item,
int index)
Inserts the item at the given index. |
java.lang.String |
toString()
Returns a printable representation of this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.List list
Constructor Detail |
public SVGCSSNumberList()
Method Detail |
public java.util.List getList()
public int getNumberOfItems()
getNumberOfItems
in interface SVGNumberList
public void clear() throws DOMException
clear
in interface SVGNumberList
public SVGNumber initialize(SVGNumber item) throws DOMException, SVGException
initialize
in interface SVGNumberList
public SVGNumber getItem(int index) throws DOMException
getItem
in interface SVGNumberList
public SVGNumber insertItemBefore(SVGNumber item, int index) throws DOMException, SVGException
insertItemBefore
in interface SVGNumberList
public SVGNumber replaceItem(SVGNumber item, int index) throws DOMException, SVGException
replaceItem
in interface SVGNumberList
public SVGNumber removeItem(int index) throws DOMException
removeItem
in interface SVGNumberList
public SVGNumber appendItem(SVGNumber item) throws DOMException, SVGException
appendItem
in interface SVGNumberList
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |