|
||||||||||
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.AbstractSVGPointList
org.apache.batik.anim.dom.SVGOMAnimatedPoints.AnimSVGPointList
protected class SVGOMAnimatedPoints.AnimSVGPointList
SVGPointList
implementation for the animated point list value.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGPointList |
---|
AbstractSVGPointList.PointsListBuilder |
Field Summary |
---|
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGPointList |
---|
SVG_POINT_LIST_SEPARATOR |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
---|
itemList, valid |
Constructor Summary | |
---|---|
SVGOMAnimatedPoints.AnimSVGPointList()
Creates a new AnimSVGPointList. |
Method Summary | |
---|---|
org.w3c.dom.svg.SVGPoint |
appendItem(org.w3c.dom.svg.SVGPoint newItem)
DOM: Implements SVGPointList.appendItem(SVGPoint) . |
void |
clear()
DOM: Implements SVGPointList.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.SVGPoint |
getItem(int index)
DOM: Implements SVGPointList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements SVGPointList.getNumberOfItems() . |
protected String |
getValueAsString()
Returns the value of the DOM attribute containing the point list. |
org.w3c.dom.svg.SVGPoint |
initialize(org.w3c.dom.svg.SVGPoint newItem)
DOM: Implements SVGPointList.initialize(SVGPoint) . |
org.w3c.dom.svg.SVGPoint |
insertItemBefore(org.w3c.dom.svg.SVGPoint newItem,
int index)
DOM: Implements SVGPointList.insertItemBefore(SVGPoint, int) . |
org.w3c.dom.svg.SVGPoint |
removeItem(int index)
DOM: Implements SVGPointList.removeItem(int) . |
org.w3c.dom.svg.SVGPoint |
replaceItem(org.w3c.dom.svg.SVGPoint newItem,
int index)
DOM: Implements SVGPointList.replaceItem(SVGPoint, 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(float[] pts)
Sets the animated value. |
protected void |
setAttributeValue(String value)
Sets the DOM attribute value containing the point list. |
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGPointList |
---|
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 SVGOMAnimatedPoints.AnimSVGPointList()
Method Detail |
---|
protected DOMException createDOMException(short type, String key, Object[] args)
createDOMException
in class AbstractSVGList
protected org.w3c.dom.svg.SVGException createSVGException(short type, String key, Object[] args)
createSVGException
in class AbstractSVGPointList
public int getNumberOfItems()
SVGPointList.getNumberOfItems()
.
getNumberOfItems
in interface org.w3c.dom.svg.SVGPointList
getNumberOfItems
in class AbstractSVGList
public org.w3c.dom.svg.SVGPoint getItem(int index) throws DOMException
SVGPointList.getItem(int)
.
getItem
in interface org.w3c.dom.svg.SVGPointList
getItem
in class AbstractSVGPointList
DOMException
protected String getValueAsString()
getValueAsString
in class AbstractSVGList
protected void setAttributeValue(String value)
setAttributeValue
in class AbstractSVGList
value
- the String representation of the list, or null
if the list contains no itemspublic void clear() throws DOMException
SVGPointList.clear()
.
clear
in interface org.w3c.dom.svg.SVGPointList
clear
in class AbstractSVGList
DOMException
- NO_MODIFICATION_ALLOWED_ERR:
Raised when the list cannot be modified.public org.w3c.dom.svg.SVGPoint initialize(org.w3c.dom.svg.SVGPoint newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGPointList.initialize(SVGPoint)
.
initialize
in interface org.w3c.dom.svg.SVGPointList
initialize
in class AbstractSVGPointList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPoint insertItemBefore(org.w3c.dom.svg.SVGPoint newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGPointList.insertItemBefore(SVGPoint, int)
.
insertItemBefore
in interface org.w3c.dom.svg.SVGPointList
insertItemBefore
in class AbstractSVGPointList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPoint replaceItem(org.w3c.dom.svg.SVGPoint newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGPointList.replaceItem(SVGPoint, int)
.
replaceItem
in interface org.w3c.dom.svg.SVGPointList
replaceItem
in class AbstractSVGPointList
DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPoint removeItem(int index) throws DOMException
SVGPointList.removeItem(int)
.
removeItem
in interface org.w3c.dom.svg.SVGPointList
removeItem
in class AbstractSVGPointList
DOMException
public org.w3c.dom.svg.SVGPoint appendItem(org.w3c.dom.svg.SVGPoint newItem) throws DOMException
SVGPointList.appendItem(SVGPoint)
.
appendItem
in interface org.w3c.dom.svg.SVGPointList
appendItem
in class AbstractSVGPointList
DOMException
protected void setAnimatedValue(float[] pts)
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 |