public class SVGOMAnimatedPathData.AnimSVGPathSegList extends AbstractSVGPathSegList
SVGPathSegList implementation for the animated path data value.AbstractSVGPathSegList.PathSegListBuilder, AbstractSVGPathSegList.SVGPathSegArcItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem, AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem, AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem, AbstractSVGPathSegList.SVGPathSegMovetoLinetoItemSVG_PATHSEG_LIST_SEPARATORitemList, 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| Constructor and Description |
|---|
AnimSVGPathSegList()
Creates a new AnimSVGPathSegList.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.svg.SVGPathSeg |
appendItem(org.w3c.dom.svg.SVGPathSeg newItem)
DOM: Implements
SVGPathSegList.appendItem(SVGPathSeg). |
void |
clear()
DOM: Implements
SVGPathSegList.clear(). |
protected DOMException |
createDOMException(short type,
String key,
Object[] args)
Create a DOMException.
|
protected org.w3c.dom.svg.SVGException |
createSVGException(short type,
String key,
Object[] args)
Create a SVGException.
|
org.w3c.dom.svg.SVGPathSeg |
getItem(int index)
DOM: Implements
SVGPathSegList.getItem(int). |
int |
getNumberOfItems()
DOM: Implements
SVGPathSegList.getNumberOfItems(). |
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the point list.
|
org.w3c.dom.svg.SVGPathSeg |
initialize(org.w3c.dom.svg.SVGPathSeg newItem)
DOM: Implements
SVGPathSegList.initialize(SVGPathSeg). |
org.w3c.dom.svg.SVGPathSeg |
insertItemBefore(org.w3c.dom.svg.SVGPathSeg newItem,
int index)
DOM: Implements
SVGPathSegList.insertItemBefore(SVGPathSeg, int). |
protected SVGPathSegItem |
newItem(short command,
float[] parameters,
int[] j)
Creates a new SVGPathSegItem from the given path command and array
of parameter values.
|
org.w3c.dom.svg.SVGPathSeg |
removeItem(int index)
DOM: Implements
SVGPathSegList.removeItem(int). |
org.w3c.dom.svg.SVGPathSeg |
replaceItem(org.w3c.dom.svg.SVGPathSeg newItem,
int index)
DOM: Implements
SVGPathSegList.replaceItem(SVGPathSeg, int). |
protected void |
resetAttribute()
Resets the value of the associated attribute.
|
protected void |
resetAttribute(SVGItem item)
Resets the value of the associated attribute.
|
protected void |
revalidate()
Initializes the list, if needed.
|
protected void |
setAnimatedValue(short[] commands,
float[] parameters)
Sets the animated value.
|
protected void |
setAttributeValue(String value)
Sets the DOM attribute value containing the point list.
|
checkItemType, createPathSegItem, createSVGItem, doParse, getItemSeparatorappendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringprotected DOMException createDOMException(short type, String key, Object[] args)
createDOMException in class AbstractSVGListprotected org.w3c.dom.svg.SVGException createSVGException(short type, String key, Object[] args)
createSVGException in class AbstractSVGPathSegListpublic int getNumberOfItems()
SVGPathSegList.getNumberOfItems().getNumberOfItems in interface org.w3c.dom.svg.SVGPathSegListgetNumberOfItems in class AbstractSVGListpublic org.w3c.dom.svg.SVGPathSeg getItem(int index) throws DOMException
SVGPathSegList.getItem(int).getItem in interface org.w3c.dom.svg.SVGPathSegListgetItem in class AbstractSVGPathSegListDOMExceptionprotected String getValueAsString()
getValueAsString in class AbstractSVGListprotected void setAttributeValue(String value)
setAttributeValue in class AbstractSVGListvalue - the String representation of the list, or null
if the list contains no itemspublic void clear()
throws DOMException
SVGPathSegList.clear().clear in interface org.w3c.dom.svg.SVGPathSegListclear in class AbstractSVGListDOMException - NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGPathSeg initialize(org.w3c.dom.svg.SVGPathSeg newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGPathSegList.initialize(SVGPathSeg).initialize in interface org.w3c.dom.svg.SVGPathSegListinitialize in class AbstractSVGPathSegListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPathSeg insertItemBefore(org.w3c.dom.svg.SVGPathSeg newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGPathSegList.insertItemBefore(SVGPathSeg, int).insertItemBefore in interface org.w3c.dom.svg.SVGPathSegListinsertItemBefore in class AbstractSVGPathSegListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPathSeg replaceItem(org.w3c.dom.svg.SVGPathSeg newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGPathSegList.replaceItem(SVGPathSeg, int).replaceItem in interface org.w3c.dom.svg.SVGPathSegListreplaceItem in class AbstractSVGPathSegListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGPathSeg removeItem(int index) throws DOMException
SVGPathSegList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGPathSegListremoveItem in class AbstractSVGPathSegListDOMExceptionpublic org.w3c.dom.svg.SVGPathSeg appendItem(org.w3c.dom.svg.SVGPathSeg newItem) throws DOMException
SVGPathSegList.appendItem(SVGPathSeg).appendItem in interface org.w3c.dom.svg.SVGPathSegListappendItem in class AbstractSVGPathSegListDOMExceptionprotected SVGPathSegItem newItem(short command, float[] parameters, int[] j)
protected void setAnimatedValue(short[] commands,
float[] parameters)
protected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGListCopyright © 2000–2024 Apache Software Foundation. All rights reserved.