org.w3c.dom.svg.SVGPointListSVGOMAnimatedPoints.AnimSVGPointList, SVGOMAnimatedPoints.BaseSVGPointListpublic abstract class AbstractSVGPointList extends AbstractSVGList implements org.w3c.dom.svg.SVGPointList
SVGPointList.| Modifier and Type | Class | Description |
|---|---|---|
protected class |
AbstractSVGPointList.PointsListBuilder |
Helper class to interface the
PointsParser and the
PointsHandler. |
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
SVG_POINT_LIST_SEPARATOR |
Separator for a point list.
|
itemList, valid| Constructor | Description |
|---|---|
AbstractSVGPointList() |
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.svg.SVGPoint |
appendItem(org.w3c.dom.svg.SVGPoint newItem) |
DOM: Implements
SVGPointList.appendItem(SVGPoint). |
protected void |
checkItemType(java.lang.Object newItem) |
Asserts that the given item is an
SVGPoint. |
protected abstract org.w3c.dom.svg.SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args) |
Create an SVGException when the checkItemType fails.
|
protected SVGItem |
createSVGItem(java.lang.Object newItem) |
Creates a new
SVGItem object from the given SVGPoint. |
protected void |
doParse(java.lang.String value,
ListHandler handler) |
Parses the 'points' attribute.
|
org.w3c.dom.svg.SVGPoint |
getItem(int index) |
DOM: Implements
SVGPointList.getItem(int). |
protected java.lang.String |
getItemSeparator() |
Return the separator between points in the list.
|
org.w3c.dom.svg.SVGPoint |
initialize(org.w3c.dom.svg.SVGPoint newItem) |
DOM: Implements
SVGPointList.initialize(SVGPoint). |
org.w3c.dom.svg.SVGPoint |
insertItemBefore(org.w3c.dom.svg.SVGPoint newItem,
int index) |
DOM: Implements
SVGPointList.insertItemBefore(SVGPoint,int). |
org.w3c.dom.svg.SVGPoint |
removeItem(int index) |
DOM: Implements
SVGPointList.removeItem(int). |
org.w3c.dom.svg.SVGPoint |
replaceItem(org.w3c.dom.svg.SVGPoint newItem,
int index) |
DOM: Implements
SVGPointList.replaceItem(SVGPoint,int). |
appendItemImpl, clear, clear, createDOMException, getItemImpl, getNumberOfItems, getValueAsString, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, resetAttribute, resetAttribute, revalidate, setAttributeValue, setValueAsStringpublic static final java.lang.String SVG_POINT_LIST_SEPARATOR
protected java.lang.String getItemSeparator()
getItemSeparator in class AbstractSVGListprotected abstract org.w3c.dom.svg.SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
public org.w3c.dom.svg.SVGPoint initialize(org.w3c.dom.svg.SVGPoint newItem)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.initialize(SVGPoint).initialize in interface org.w3c.dom.svg.SVGPointListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPoint getItem(int index)
throws org.w3c.dom.DOMException
SVGPointList.getItem(int).getItem in interface org.w3c.dom.svg.SVGPointListorg.w3c.dom.DOMExceptionpublic org.w3c.dom.svg.SVGPoint insertItemBefore(org.w3c.dom.svg.SVGPoint newItem,
int index)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.insertItemBefore(SVGPoint,int).insertItemBefore in interface org.w3c.dom.svg.SVGPointListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPoint replaceItem(org.w3c.dom.svg.SVGPoint newItem,
int index)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.replaceItem(SVGPoint,int).replaceItem in interface org.w3c.dom.svg.SVGPointListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPoint removeItem(int index)
throws org.w3c.dom.DOMException
SVGPointList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGPointListorg.w3c.dom.DOMExceptionpublic org.w3c.dom.svg.SVGPoint appendItem(org.w3c.dom.svg.SVGPoint newItem)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.appendItem(SVGPoint).appendItem in interface org.w3c.dom.svg.SVGPointListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionprotected SVGItem createSVGItem(java.lang.Object newItem)
SVGItem object from the given SVGPoint.createSVGItem in class AbstractSVGListnewItem - the SVG objectSVGItem objectprotected void doParse(java.lang.String value,
ListHandler handler)
throws ParseException
doParse in class AbstractSVGListvalue - 'points' attribute valuehandler - point list handlerParseExceptionprotected void checkItemType(java.lang.Object newItem)
throws org.w3c.dom.svg.SVGException
SVGPoint.checkItemType in class AbstractSVGListorg.w3c.dom.svg.SVGExceptionCopyright ? 2018 Apache Software Foundation. All Rights Reserved.