|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGList
org.apache.batik.dom.svg.AbstractSVGLengthList
org.apache.batik.dom.svg.SVGOMAnimatedLengthList.AnimSVGLengthList
protected class SVGOMAnimatedLengthList.AnimSVGLengthList
SVGLengthList
implementation for the animated length list value.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGLengthList |
---|
AbstractSVGLengthList.LengthListBuilder, AbstractSVGLengthList.SVGLengthItem |
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGList |
---|
AbstractSVGList.ListBuilder |
Field Summary |
---|
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGLengthList |
---|
direction, SVG_LENGTH_LIST_SEPARATOR |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
---|
itemList, valid |
Constructor Summary | |
---|---|
SVGOMAnimatedLengthList.AnimSVGLengthList()
Creates a new AnimSVGLengthList. |
Method Summary | |
---|---|
org.w3c.dom.svg.SVGLength |
appendItem(org.w3c.dom.svg.SVGLength newItem)
DOM: Implements SVGLengthList.appendItem(SVGLength) . |
void |
clear()
DOM: Implements SVGLengthList.clear() . |
protected org.w3c.dom.DOMException |
createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a DOMException. |
protected org.w3c.dom.svg.SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
Create a SVGException. |
protected org.w3c.dom.Element |
getElement()
Returns the element owning this SVGLengthList. |
org.w3c.dom.svg.SVGLength |
getItem(int index)
DOM: Implements SVGLengthList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements SVGLengthList.getNumberOfItems() . |
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the point list. |
org.w3c.dom.svg.SVGLength |
initialize(org.w3c.dom.svg.SVGLength newItem)
DOM: Implements SVGLengthList.initialize(SVGLength) . |
org.w3c.dom.svg.SVGLength |
insertItemBefore(org.w3c.dom.svg.SVGLength newItem,
int index)
DOM: Implements SVGLengthList.insertItemBefore(SVGLength, int) . |
org.w3c.dom.svg.SVGLength |
removeItem(int index)
DOM: Implements SVGLengthList.removeItem(int) . |
org.w3c.dom.svg.SVGLength |
replaceItem(org.w3c.dom.svg.SVGLength newItem,
int index)
DOM: Implements SVGLengthList.replaceItem(SVGLength, 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[] types,
float[] values)
Sets the animated value. |
protected void |
setAttributeValue(java.lang.String value)
Sets the DOM attribute value containing the point list. |
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGLengthList |
---|
checkItemType, createSVGItem, doParse, getItemSeparator |
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGList |
---|
appendItemImpl, clear, getItemImpl, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGOMAnimatedLengthList.AnimSVGLengthList()
Method Detail |
---|
protected org.w3c.dom.DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException
in class AbstractSVGList
protected org.w3c.dom.svg.SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
createSVGException
in class AbstractSVGLengthList
protected org.w3c.dom.Element getElement()
getElement
in class AbstractSVGLengthList
public int getNumberOfItems()
SVGLengthList.getNumberOfItems()
.
getNumberOfItems
in interface org.w3c.dom.svg.SVGLengthList
getNumberOfItems
in class AbstractSVGList
public org.w3c.dom.svg.SVGLength getItem(int index) throws org.w3c.dom.DOMException
SVGLengthList.getItem(int)
.
getItem
in interface org.w3c.dom.svg.SVGLengthList
getItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
protected java.lang.String getValueAsString()
getValueAsString
in class AbstractSVGList
protected void setAttributeValue(java.lang.String value)
setAttributeValue
in class AbstractSVGList
value
- the String representation of the list, or null
if the list contains no itemspublic void clear() throws org.w3c.dom.DOMException
SVGLengthList.clear()
.
clear
in interface org.w3c.dom.svg.SVGLengthList
clear
in class AbstractSVGList
org.w3c.dom.DOMException
- NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGLength initialize(org.w3c.dom.svg.SVGLength newItem) throws org.w3c.dom.DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.initialize(SVGLength)
.
initialize
in interface org.w3c.dom.svg.SVGLengthList
initialize
in class AbstractSVGLengthList
org.w3c.dom.DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGLength insertItemBefore(org.w3c.dom.svg.SVGLength newItem, int index) throws org.w3c.dom.DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.insertItemBefore(SVGLength, int)
.
insertItemBefore
in interface org.w3c.dom.svg.SVGLengthList
insertItemBefore
in class AbstractSVGLengthList
org.w3c.dom.DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGLength replaceItem(org.w3c.dom.svg.SVGLength newItem, int index) throws org.w3c.dom.DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.replaceItem(SVGLength, int)
.
replaceItem
in interface org.w3c.dom.svg.SVGLengthList
replaceItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGLength removeItem(int index) throws org.w3c.dom.DOMException
SVGLengthList.removeItem(int)
.
removeItem
in interface org.w3c.dom.svg.SVGLengthList
removeItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
public org.w3c.dom.svg.SVGLength appendItem(org.w3c.dom.svg.SVGLength newItem) throws org.w3c.dom.DOMException
SVGLengthList.appendItem(SVGLength)
.
appendItem
in interface org.w3c.dom.svg.SVGLengthList
appendItem
in class AbstractSVGLengthList
org.w3c.dom.DOMException
protected void setAnimatedValue(short[] types, float[] values)
protected void resetAttribute()
resetAttribute
in class AbstractSVGList
protected void resetAttribute(SVGItem item)
resetAttribute
in class AbstractSVGList
protected void revalidate()
revalidate
in class AbstractSVGList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |