Module io.sf.carte.echosvg.anim
Package io.sf.carte.echosvg.anim.dom
Class SVGOMAnimatedPathData.AnimSVGPathSegList
java.lang.Object
io.sf.carte.echosvg.dom.svg.AbstractSVGList
io.sf.carte.echosvg.dom.svg.AbstractSVGPathSegList
io.sf.carte.echosvg.anim.dom.SVGOMAnimatedPathData.AnimSVGPathSegList
- All Implemented Interfaces:
- SVGPathSegConstants,- SVGPathSegList
- Enclosing class:
- SVGOMAnimatedPathData
SVGPathSegList implementation for the animated path data value.- 
Nested Class SummaryNested classes/interfaces inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGPathSegListAbstractSVGPathSegList.PathSegListBuilder, AbstractSVGPathSegList.SVGPathSegArcItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem, AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem, AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem, AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem
- 
Field SummaryFields inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGPathSegListSVG_PATHSEG_LIST_SEPARATORFields inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGListitemList, validFields inherited from interface io.sf.carte.echosvg.dom.svg.SVGPathSegConstantsPATHSEG_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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionappendItem(SVGPathSeg newItem) DOM: ImplementsSVGPathSegList.appendItem(SVGPathSeg).voidclear()DOM: ImplementsSVGPathSegList.clear().protected DOMExceptioncreateDOMException(short type, String key, Object[] args) Create a DOMException.protected SVGExceptioncreateSVGException(short type, String key, Object[] args) Create a SVGException.getItem(int index) DOM: ImplementsSVGPathSegList.getItem(int).intDOM: ImplementsSVGPathSegList.getNumberOfItems().protected StringReturns the value of the DOM attribute containing the point list.initialize(SVGPathSeg newItem) DOM: ImplementsSVGPathSegList.initialize(SVGPathSeg).insertItemBefore(SVGPathSeg newItem, int index) DOM: ImplementsSVGPathSegList.insertItemBefore(SVGPathSeg, int).protected SVGPathSegItemnewItem(short command, float[] parameters, int[] j) Creates a new SVGPathSegItem from the given path command and array of parameter values.removeItem(int index) DOM: ImplementsSVGPathSegList.removeItem(int).replaceItem(SVGPathSeg newItem, int index) DOM: ImplementsSVGPathSegList.replaceItem(SVGPathSeg, int).protected voidResets the value of the associated attribute.protected voidresetAttribute(SVGItem item) Resets the value of the associated attribute.protected voidInitializes the list, if needed.protected voidsetAnimatedValue(short[] commands, float[] parameters) Sets the animated value.protected voidsetAttributeValue(String value) Sets the DOM attribute value containing the point list.Methods inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGPathSegListcheckItemType, createPathSegItem, createSVGItem, doParse, getItemSeparatorMethods inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGListappendItemImpl, clear, copyTo, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString, toString
- 
Constructor Details- 
AnimSVGPathSegListpublic AnimSVGPathSegList()Creates a new AnimSVGPathSegList.
 
- 
- 
Method Details- 
createDOMExceptionCreate a DOMException.- Specified by:
- createDOMExceptionin class- AbstractSVGList
 
- 
createSVGExceptionCreate a SVGException.- Specified by:
- createSVGExceptionin class- AbstractSVGPathSegList
- Returns:
- SVGException
 
- 
getNumberOfItemspublic int getNumberOfItems()DOM: ImplementsSVGPathSegList.getNumberOfItems().- Specified by:
- getNumberOfItemsin interface- SVGPathSegList
- Overrides:
- getNumberOfItemsin class- AbstractSVGList
 
- 
getItemDOM: ImplementsSVGPathSegList.getItem(int).- Specified by:
- getItemin interface- SVGPathSegList
- Overrides:
- getItemin class- AbstractSVGPathSegList
- Throws:
- DOMException
 
- 
getValueAsStringReturns the value of the DOM attribute containing the point list.- Specified by:
- getValueAsStringin class- AbstractSVGList
 
- 
setAttributeValueSets the DOM attribute value containing the point list.- Specified by:
- setAttributeValuein class- AbstractSVGList
- Parameters:
- value- the String representation of the list, or null if the list contains no items
 
- 
clearDOM: ImplementsSVGPathSegList.clear().- Specified by:
- clearin interface- SVGPathSegList
- Overrides:
- clearin class- AbstractSVGList
- Throws:
- DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
 
- 
initializeDOM: ImplementsSVGPathSegList.initialize(SVGPathSeg).- Specified by:
- initializein interface- SVGPathSegList
- Overrides:
- initializein class- AbstractSVGPathSegList
- Throws:
- DOMException
- SVGException
 
- 
insertItemBeforeDOM: ImplementsSVGPathSegList.insertItemBefore(SVGPathSeg, int).- Specified by:
- insertItemBeforein interface- SVGPathSegList
- Overrides:
- insertItemBeforein class- AbstractSVGPathSegList
- Throws:
- DOMException
- SVGException
 
- 
replaceItemDOM: ImplementsSVGPathSegList.replaceItem(SVGPathSeg, int).- Specified by:
- replaceItemin interface- SVGPathSegList
- Overrides:
- replaceItemin class- AbstractSVGPathSegList
- Throws:
- DOMException
- SVGException
 
- 
removeItemDOM: ImplementsSVGPathSegList.removeItem(int).- Specified by:
- removeItemin interface- SVGPathSegList
- Overrides:
- removeItemin class- AbstractSVGPathSegList
- Throws:
- DOMException
 
- 
appendItemDOM: ImplementsSVGPathSegList.appendItem(SVGPathSeg).- Specified by:
- appendItemin interface- SVGPathSegList
- Overrides:
- appendItemin class- AbstractSVGPathSegList
- Throws:
- DOMException
 
- 
newItemCreates a new SVGPathSegItem from the given path command and array of parameter values.
- 
setAnimatedValueprotected void setAnimatedValue(short[] commands, float[] parameters) Sets the animated value.
- 
resetAttributeprotected void resetAttribute()Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.- Overrides:
- resetAttributein class- AbstractSVGList
 
- 
resetAttributeResets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.- Overrides:
- resetAttributein class- AbstractSVGList
 
- 
revalidateprotected void revalidate()Initializes the list, if needed. Does nothing, since there is no attribute to read the list from.- Overrides:
- revalidatein class- AbstractSVGList
 
 
-