org.globus.cog.gui.grapheditor.targets.dot
Class DotGraphView
java.lang.Object
org.globus.cog.gui.grapheditor.canvas.views.AbstractView
org.globus.cog.gui.grapheditor.targets.dot.DotGraphView
- All Implemented Interfaces:
- CanvasView, StreamView
public class DotGraphView
- extends AbstractView
- implements StreamView
Methods inherited from class org.globus.cog.gui.grapheditor.canvas.views.AbstractView |
activate, addTransformation, getCanvas, getGraph, getName, getRenderer, getTransformations, getType, getViewport, isActive, isSelective, setGraph, setName, setRenderer, setTransformation, setType, setViewport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.globus.cog.gui.grapheditor.canvas.views.CanvasView |
activate, addTransformation, getGraph, getName, getRenderer, getViewport, isSelective, setGraph, setRenderer, setTransformation, setViewport |
DotGraphView
public DotGraphView()
DotGraphView
public DotGraphView(GraphLayoutEngine engine)
DotGraphView
public DotGraphView(GraphLayoutEngine engine,
String name)
getLayoutEngine
public GraphLayoutEngine getLayoutEngine()
setLayoutEngine
public void setLayoutEngine(GraphLayoutEngine layoutEngine)
getNewInstance
public CanvasView getNewInstance(GraphCanvas canvas)
- Specified by:
getNewInstance
in interface CanvasView
- Overrides:
getNewInstance
in class AbstractView
invalidate
public void invalidate()
- Description copied from interface:
CanvasView
- Forces the view to reevaluate its internal state. This method
is called whenever the structure of the graph changes
- Specified by:
invalidate
in interface CanvasView
- Overrides:
invalidate
in class AbstractView
reLayout
public void reLayout()
- Specified by:
reLayout
in interface CanvasView
- Overrides:
reLayout
in class AbstractView
invalidate
public void invalidate(boolean ignoreOld)
clean
public void clean()
- Description copied from interface:
CanvasView
- Cleans up this view. This method should be called when
a view is deactivated. The view can be reused later, by
invalidating it.
- Specified by:
clean
in interface CanvasView
- Overrides:
clean
in class AbstractView
render
public void render(Writer wr)
throws IOException
- Specified by:
render
in interface StreamView
- Throws:
IOException