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 Summary
Nested classes/interfaces inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGPathSegList
AbstractSVGPathSegList.PathSegListBuilder, AbstractSVGPathSegList.SVGPathSegArcItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem, AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem, AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem, AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem -
Field Summary
Fields inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGPathSegList
SVG_PATHSEG_LIST_SEPARATORFields inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGList
itemList, validFields inherited from interface io.sf.carte.echosvg.dom.svg.SVGPathSegConstants
PATHSEG_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 Summary
Constructors -
Method Summary
Modifier 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.AbstractSVGPathSegList
checkItemType, createPathSegItem, createSVGItem, doParse, getItemSeparatorMethods inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGList
appendItemImpl, clear, copyTo, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString, toString
-
Constructor Details
-
AnimSVGPathSegList
public AnimSVGPathSegList()Creates a new AnimSVGPathSegList.
-
-
Method Details
-
createDOMException
Create a DOMException.- Specified by:
createDOMExceptionin classAbstractSVGList
-
createSVGException
Create a SVGException.- Specified by:
createSVGExceptionin classAbstractSVGPathSegList- Returns:
- SVGException
-
getNumberOfItems
public int getNumberOfItems()DOM: ImplementsSVGPathSegList.getNumberOfItems().- Specified by:
getNumberOfItemsin interfaceSVGPathSegList- Overrides:
getNumberOfItemsin classAbstractSVGList
-
getItem
DOM: ImplementsSVGPathSegList.getItem(int).- Specified by:
getItemin interfaceSVGPathSegList- Overrides:
getItemin classAbstractSVGPathSegList- Throws:
DOMException
-
getValueAsString
Returns the value of the DOM attribute containing the point list.- Specified by:
getValueAsStringin classAbstractSVGList
-
setAttributeValue
Sets the DOM attribute value containing the point list.- Specified by:
setAttributeValuein classAbstractSVGList- Parameters:
value- the String representation of the list, or null if the list contains no items
-
clear
DOM: ImplementsSVGPathSegList.clear().- Specified by:
clearin interfaceSVGPathSegList- Overrides:
clearin classAbstractSVGList- Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
-
initialize
DOM: ImplementsSVGPathSegList.initialize(SVGPathSeg).- Specified by:
initializein interfaceSVGPathSegList- Overrides:
initializein classAbstractSVGPathSegList- Throws:
DOMExceptionSVGException
-
insertItemBefore
DOM: ImplementsSVGPathSegList.insertItemBefore(SVGPathSeg, int).- Specified by:
insertItemBeforein interfaceSVGPathSegList- Overrides:
insertItemBeforein classAbstractSVGPathSegList- Throws:
DOMExceptionSVGException
-
replaceItem
DOM: ImplementsSVGPathSegList.replaceItem(SVGPathSeg, int).- Specified by:
replaceItemin interfaceSVGPathSegList- Overrides:
replaceItemin classAbstractSVGPathSegList- Throws:
DOMExceptionSVGException
-
removeItem
DOM: ImplementsSVGPathSegList.removeItem(int).- Specified by:
removeItemin interfaceSVGPathSegList- Overrides:
removeItemin classAbstractSVGPathSegList- Throws:
DOMException
-
appendItem
DOM: ImplementsSVGPathSegList.appendItem(SVGPathSeg).- Specified by:
appendItemin interfaceSVGPathSegList- Overrides:
appendItemin classAbstractSVGPathSegList- Throws:
DOMException
-
newItem
Creates a new SVGPathSegItem from the given path command and array of parameter values. -
setAnimatedValue
protected void setAnimatedValue(short[] commands, float[] parameters) Sets the animated value. -
resetAttribute
protected void resetAttribute()Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.- Overrides:
resetAttributein classAbstractSVGList
-
resetAttribute
Resets the value of the associated attribute. Does nothing, since there is no attribute for an animated value.- Overrides:
resetAttributein classAbstractSVGList
-
revalidate
protected void revalidate()Initializes the list, if needed. Does nothing, since there is no attribute to read the list from.- Overrides:
revalidatein classAbstractSVGList
-