Module io.sf.carte.echosvg.anim
Package io.sf.carte.echosvg.anim.dom
Class SVGOMAnimatedNumberList.AnimSVGNumberList
java.lang.Object
io.sf.carte.echosvg.dom.svg.AbstractSVGList
io.sf.carte.echosvg.dom.svg.AbstractSVGNumberList
io.sf.carte.echosvg.anim.dom.SVGOMAnimatedNumberList.AnimSVGNumberList
- All Implemented Interfaces:
SVGNumberList
- Enclosing class:
SVGOMAnimatedNumberList
SVGNumberList implementation for the animated number list value.-
Nested Class Summary
Nested classes/interfaces inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGNumberList
AbstractSVGNumberList.NumberListBuilder -
Field Summary
Fields inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGNumberList
SVG_NUMBER_LIST_SEPARATORFields inherited from class io.sf.carte.echosvg.dom.svg.AbstractSVGList
itemList, valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendItem(SVGNumber newItem) DOM: ImplementsSVGNumberList.appendItem(SVGNumber).voidclear()DOM: ImplementsSVGNumberList.clear().protected DOMExceptioncreateDOMException(short type, String key, Object[] args) Create a DOMException.protected SVGExceptioncreateSVGException(short type, String key, Object[] args) Create a SVGException.protected ElementReturns the element owning this SVGNumberList.getItem(int index) DOM: ImplementsSVGNumberList.getItem(int).intDOM: ImplementsSVGNumberList.getNumberOfItems().protected StringReturns the value of the DOM attribute containing the point list.initialize(SVGNumber newItem) DOM: ImplementsSVGNumberList.initialize(SVGNumber).insertItemBefore(SVGNumber newItem, int index) DOM: ImplementsSVGNumberList.insertItemBefore(SVGNumber, int).removeItem(int index) DOM: ImplementsSVGNumberList.removeItem(int).replaceItem(SVGNumber newItem, int index) DOM: ImplementsSVGNumberList.replaceItem(SVGNumber, 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(float[] values) 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.AbstractSVGNumberList
checkItemType, 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
-
AnimSVGNumberList
public AnimSVGNumberList()Creates a new AnimSVGNumberList.
-
-
Method Details
-
createDOMException
Create a DOMException.- Specified by:
createDOMExceptionin classAbstractSVGList
-
createSVGException
Create a SVGException.- Specified by:
createSVGExceptionin classAbstractSVGNumberList
-
getElement
Returns the element owning this SVGNumberList.- Specified by:
getElementin classAbstractSVGNumberList
-
getNumberOfItems
public int getNumberOfItems()DOM: ImplementsSVGNumberList.getNumberOfItems().- Specified by:
getNumberOfItemsin interfaceSVGNumberList- Overrides:
getNumberOfItemsin classAbstractSVGList
-
getItem
DOM: ImplementsSVGNumberList.getItem(int).- Specified by:
getItemin interfaceSVGNumberList- Overrides:
getItemin classAbstractSVGNumberList- 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: ImplementsSVGNumberList.clear().- Specified by:
clearin interfaceSVGNumberList- Overrides:
clearin classAbstractSVGList- Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
-
initialize
DOM: ImplementsSVGNumberList.initialize(SVGNumber).- Specified by:
initializein interfaceSVGNumberList- Overrides:
initializein classAbstractSVGNumberList- Throws:
DOMExceptionSVGException
-
insertItemBefore
DOM: ImplementsSVGNumberList.insertItemBefore(SVGNumber, int).- Specified by:
insertItemBeforein interfaceSVGNumberList- Overrides:
insertItemBeforein classAbstractSVGNumberList- Throws:
DOMExceptionSVGException
-
replaceItem
DOM: ImplementsSVGNumberList.replaceItem(SVGNumber, int).- Specified by:
replaceItemin interfaceSVGNumberList- Overrides:
replaceItemin classAbstractSVGNumberList- Throws:
DOMExceptionSVGException
-
removeItem
DOM: ImplementsSVGNumberList.removeItem(int).- Specified by:
removeItemin interfaceSVGNumberList- Overrides:
removeItemin classAbstractSVGNumberList- Throws:
DOMException
-
appendItem
DOM: ImplementsSVGNumberList.appendItem(SVGNumber).- Specified by:
appendItemin interfaceSVGNumberList- Overrides:
appendItemin classAbstractSVGNumberList- Throws:
DOMException
-
setAnimatedValue
protected void setAnimatedValue(float[] values) 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
-