Package org.loboevolution.svg.dom
Class SVGPathSegListImpl
java.lang.Object
org.loboevolution.svg.dom.SVGPathSegListImpl
- All Implemented Interfaces:
SVGPathSegList
SVGPathSegListImpl class.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for SVGPathSegListImpl.SVGPathSegListImpl(SVGPathSegList pathSegList) Constructor for SVGPathSegListImpl. -
Method Summary
Modifier and TypeMethodDescriptionappendItem(SVGPathSeg newItem) appendItem.voidclear()clear.getItem(int index) getItem.intgetNumberOfItems.initialize(SVGPathSeg newItem) initialize.insertItemBefore(SVGPathSeg newItem, int index) insertItemBefore.removeItem(int index) removeItem.replaceItem(SVGPathSeg newItem, int index) replaceItem.
-
Constructor Details
-
SVGPathSegListImpl
public SVGPathSegListImpl()Constructor for SVGPathSegListImpl.
-
SVGPathSegListImpl
Constructor for SVGPathSegListImpl.
- Parameters:
pathSegList- aSVGPathSegListobject.
-
-
Method Details
-
getNumberOfItems
public int getNumberOfItems()getNumberOfItems.
- Specified by:
getNumberOfItemsin interfaceSVGPathSegList- Returns:
- a
Integerobject.
-
clear
public void clear()clear.
- Specified by:
clearin interfaceSVGPathSegList
-
initialize
initialize.
- Specified by:
initializein interfaceSVGPathSegList- Parameters:
newItem- aSVGPathSegobject.- Returns:
- a
SVGPathSegobject. - Throws:
DOMException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
getItem
getItem.
- Specified by:
getItemin interfaceSVGPathSegList- Parameters:
index- aIntegerobject.- Returns:
- a
SVGPathSegobject.
-
insertItemBefore
insertItemBefore.
- Specified by:
insertItemBeforein interfaceSVGPathSegList- Parameters:
newItem- aSVGPathSegobject.index- aIntegerobject.- Returns:
- a
SVGPathSegobject. - Throws:
DOMException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
replaceItem
replaceItem.
- Specified by:
replaceItemin interfaceSVGPathSegList- Parameters:
newItem- aSVGPathSegobject.index- aIntegerobject.- Returns:
- a
SVGPathSegobject. - Throws:
DOMException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
removeItem
removeItem.
- Specified by:
removeItemin interfaceSVGPathSegList- Parameters:
index- aIntegerobject.- Returns:
- a
SVGPathSegobject.
-
appendItem
appendItem.
- Specified by:
appendItemin interfaceSVGPathSegList- Parameters:
newItem- aSVGPathSegobject.- Returns:
- a
SVGPathSegobject. - Throws:
DOMException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-