public abstract class AbstractSVGPathSegList extends AbstractSVGList implements SVGPathSegConstants
SVGPathSegList.| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractSVGPathSegList.PathSegListBuilder |
class |
AbstractSVGPathSegList.SVGPathSegArcItem |
class |
AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem |
class |
AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem |
class |
AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem |
class |
AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem |
protected class |
AbstractSVGPathSegList.SVGPathSegItem
Internal representation of the item SVGPathSeg.
|
class |
AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem |
class |
AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem |
class |
AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem |
AbstractSVGList.ListBuilder| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SVG_PATHSEG_LIST_SEPARATOR
Separator for a point list.
|
itemList, validPATHSEG_ARC_ABS_LETTER, PATHSEG_ARC_REL_LETTER, PATHSEG_CLOSEPATH_LETTER, PATHSEG_CURVETO_CUBIC_ABS_LETTER, PATHSEG_CURVETO_CUBIC_REL_LETTER, PATHSEG_CURVETO_CUBIC_SMOOTH_ABS_LETTER, PATHSEG_CURVETO_CUBIC_SMOOTH_REL_LETTER, PATHSEG_CURVETO_QUADRATIC_ABS_LETTER, PATHSEG_CURVETO_QUADRATIC_REL_LETTER, PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS_LETTER, PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER, PATHSEG_LETTERS, PATHSEG_LINETO_ABS_LETTER, PATHSEG_LINETO_HORIZONTAL_ABS_LETTER, PATHSEG_LINETO_HORIZONTAL_REL_LETTER, PATHSEG_LINETO_REL_LETTER, PATHSEG_LINETO_VERTICAL_ABS_LETTER, PATHSEG_LINETO_VERTICAL_REL_LETTER, PATHSEG_MOVETO_ABS_LETTER, PATHSEG_MOVETO_REL_LETTER| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSVGPathSegList()
Creates a new SVGPathSegList.
|
| Modifier and Type | Method and Description |
|---|---|
SVGPathSeg |
appendItem(SVGPathSeg newItem) |
protected void |
checkItemType(java.lang.Object newItem)
Check if the item is an SVGPathSeg.
|
protected AbstractSVGPathSegList.SVGPathSegItem |
createPathSegItem(SVGPathSeg pathSeg)
create an SVGItem representing this SVGPathSeg.
|
protected abstract 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 an
SVGItem object that has the same values as those
in the specified SVG object. |
protected void |
doParse(java.lang.String value,
ListHandler handler)
Parse the 'd' attribute.
|
SVGPathSeg |
getItem(int index) |
protected java.lang.String |
getItemSeparator()
Return the separator between segments in the list.
|
SVGPathSeg |
initialize(SVGPathSeg newItem) |
SVGPathSeg |
insertItemBefore(SVGPathSeg newItem,
int index) |
SVGPathSeg |
removeItem(int index) |
SVGPathSeg |
replaceItem(SVGPathSeg newItem,
int index) |
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_PATHSEG_LIST_SEPARATOR
protected AbstractSVGPathSegList()
protected java.lang.String getItemSeparator()
getItemSeparator in class AbstractSVGListprotected abstract SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
public SVGPathSeg initialize(SVGPathSeg newItem)
throws org.w3c.dom.DOMException,
SVGException
org.w3c.dom.DOMExceptionSVGExceptionpublic SVGPathSeg getItem(int index)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic SVGPathSeg insertItemBefore(SVGPathSeg newItem,
int index)
throws org.w3c.dom.DOMException,
SVGException
org.w3c.dom.DOMExceptionSVGExceptionpublic SVGPathSeg replaceItem(SVGPathSeg newItem,
int index)
throws org.w3c.dom.DOMException,
SVGException
org.w3c.dom.DOMExceptionSVGExceptionpublic SVGPathSeg removeItem(int index)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic SVGPathSeg appendItem(SVGPathSeg newItem)
throws org.w3c.dom.DOMException,
SVGException
org.w3c.dom.DOMExceptionSVGExceptionprotected SVGItem createSVGItem(java.lang.Object newItem)
AbstractSVGListSVGItem object that has the same values as those
in the specified SVG object.createSVGItem in class AbstractSVGListnewItem - the SVG objectSVGItem objectprotected void doParse(java.lang.String value,
ListHandler handler)
throws ParseException
doParse in class AbstractSVGListvalue - 'd' attribute valuehandler - : list handlerParseExceptionprotected void checkItemType(java.lang.Object newItem)
checkItemType in class AbstractSVGListprotected AbstractSVGPathSegList.SVGPathSegItem createPathSegItem(SVGPathSeg pathSeg)
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.