net.sourceforge.fluxion.runcible.graph.view
Class FlexGraphView
java.lang.Object
net.sourceforge.fluxion.runcible.graph.view.FlexGraphView
- All Implemented Interfaces:
- GraphView
public class FlexGraphView
- extends java.lang.Object
- implements GraphView
Javadocs go here
- Author:
- Tony Burdett
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlexGraphView
public FlexGraphView()
getGraph
public Graph getGraph()
- Specified by:
getGraph in interface GraphView
setGraph
public void setGraph(Graph graph)
- Specified by:
setGraph in interface GraphView
setColorScheme
public void setColorScheme(ColorScheme colourScheme)
- Specified by:
setColorScheme in interface GraphView
getColorScheme
public ColorScheme getColorScheme()
- Specified by:
getColorScheme in interface GraphView
render
public void render(java.io.OutputStream outputStream)
throws java.io.IOException
- Description copied from interface:
GraphView
- Renders this GraphView to the given output stream. This will then write
the graph description to this stream. Note that this method renders the
description of this GraphView in an implementation specific format, not the
actual graphics. So, for example, an implementation exists to render this
Graph to DOT format.
- Specified by:
render in interface GraphView
- Parameters:
outputStream - the output stream to render the dot description to
- Throws:
java.io.IOException - if the output stream cannot be written to
setNodeViews
public void setNodeViews(java.util.Set<NodeView> roots)
- Specified by:
setNodeViews in interface GraphView
addNodeView
public void addNodeView(NodeView root)
- Specified by:
addNodeView in interface GraphView
getNodeViews
public java.util.Set<NodeView> getNodeViews()
- Specified by:
getNodeViews in interface GraphView
setEdgeViews
public void setEdgeViews(java.util.Set<EdgeView> edgeViews)
- Specified by:
setEdgeViews in interface GraphView
addEdgeView
public void addEdgeView(EdgeView edge)
- Specified by:
addEdgeView in interface GraphView
getEdgeViews
public java.util.Set<EdgeView> getEdgeViews()
- Specified by:
getEdgeViews in interface GraphView
Copyright © 2010. All Rights Reserved.