|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.view.DefaultGraph2DRenderer yext.svg.io.SVGGraph2DRenderer com.yworks.yfiles.server.svg.SVGGraph2DRewriteRenderer
This class visits all nodes in the generated SVG document after it has been created
and delegates to registered visitors so that they can make modifications on the nodes
and their attributes.
Invocation of the SVGGraphVisitor
s will be performed in order of registration.
SVGGraphVisitor
Constructor Summary | |
SVGGraph2DRewriteRenderer()
Creates a new instance of the SVGGraph2DRewriteRenderer. |
Method Summary | |
void |
addVisitor(SVGGraphVisitor visitor)
Adds a new SVGGraphVisitor to the chain of visitors. |
void |
removeVisitor(SVGGraphVisitor visitor)
Removes the given visitor from the chain of visitors. |
protected void |
writeDocument(Node node,
Writer writer)
|
Methods inherited from class yext.svg.io.SVGGraph2DRenderer |
addToSVGDefinition, createCDATASection, createElement, getSVGDocument, getSVGIOHandler, getTopLevelGroup, insertNodeAbove, insertNodeBelow, paint, paint, paintSloppy, paintSloppy, setSVGIOHandler, setTopLevelGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVGGraph2DRewriteRenderer()
Method Detail |
public void addVisitor(SVGGraphVisitor visitor)
SVGGraphVisitor
to the chain of visitors.
visitor
- The visitor that should be addedpublic void removeVisitor(SVGGraphVisitor visitor)
visitor
- The visitor that should be removedprotected final void writeDocument(Node node, Writer writer) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |