|
|||||||||||
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.AbstractSVGTransformList
This class is the implementation of
SVGTransformList
.
Nested Class Summary | |
protected class |
AbstractSVGTransformList.SVGTransformItem
An SVGTransform in the list. |
protected class |
AbstractSVGTransformList.TransformListBuilder
Helper class to interface the TransformListParser and the
ListHandler . |
Nested classes inherited from class org.apache.batik.dom.svg.AbstractSVGList |
AbstractSVGList.ListBuilder |
Field Summary | |
static String |
SVG_TRANSFORMATION_LIST_SEPARATOR
Separator for a point list. |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
itemList, valid |
Constructor Summary | |
AbstractSVGTransformList()
|
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGList |
appendItemImpl, clear, clear, createDOMException, getItemImpl, getNumberOfItems, getValueAsString, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, resetAttribute, resetAttribute, revalidate, setAttributeValue, setValueAsString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.svg.SVGTransformList |
clear, getNumberOfItems |
Field Detail |
public static final String SVG_TRANSFORMATION_LIST_SEPARATOR
Constructor Detail |
public AbstractSVGTransformList()
Method Detail |
protected String getItemSeparator()
getItemSeparator
in class AbstractSVGList
protected abstract SVGException createSVGException(short type, String key, Object[] args)
public SVGTransform initialize(SVGTransform newItem) throws DOMException, SVGException
SVGTransformList.initialize(SVGTransform)
.
initialize
in interface SVGTransformList
DOMException
SVGException
public SVGTransform getItem(int index) throws DOMException
SVGTransformList.getItem(int)
.
getItem
in interface SVGTransformList
DOMException
public SVGTransform insertItemBefore(SVGTransform newItem, int index) throws DOMException, SVGException
SVGTransformList.insertItemBefore(SVGTransform,int)
.
insertItemBefore
in interface SVGTransformList
DOMException
SVGException
public SVGTransform replaceItem(SVGTransform newItem, int index) throws DOMException, SVGException
SVGTransformList.replaceItem(SVGTransform,int)
.
replaceItem
in interface SVGTransformList
DOMException
SVGException
public SVGTransform removeItem(int index) throws DOMException
SVGTransformList.removeItem(int)
.
removeItem
in interface SVGTransformList
DOMException
public SVGTransform appendItem(SVGTransform newItem) throws DOMException, SVGException
SVGTransformList.appendItem(SVGTransform)
.
appendItem
in interface SVGTransformList
DOMException
SVGException
public SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix)
SVGTransformList.createSVGTransformFromMatrix(SVGMatrix)
.
createSVGTransformFromMatrix
in interface SVGTransformList
public SVGTransform consolidate()
SVGTransformList.consolidate()
.
consolidate
in interface SVGTransformList
public AffineTransform getAffineTransform()
AffineTransform
that represents the same transform
as that specified by this transform list.
protected SVGItem createSVGItem(Object newItem)
SVGItem
object from the given SVGTransform
.
createSVGItem
in class AbstractSVGList
newItem
- the SVG object
SVGItem
objectprotected void doParse(String value, ListHandler handler) throws ParseException
doParse
in class AbstractSVGList
value
- the transform list attribute valuehandler
- transform list handler
ParseException
protected void checkItemType(Object newItem)
SVGTransformList
.
checkItemType
in class AbstractSVGList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |