net.sourceforge.fluxion.runcible.graph.view
Class DotGraphView

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.graph.view.DotGraphView
All Implemented Interfaces:
GraphView

public class DotGraphView
extends java.lang.Object
implements GraphView

Javadocs go here.

Version:
1.0 date: 18-Aug-2006
Author:
Tony Burdett

Constructor Summary
DotGraphView()
           
 
Method Summary
 void addEdgeView(EdgeView edge)
           
 void addNodeView(NodeView root)
           
 ColorScheme getColorScheme()
           
 java.util.Set<EdgeView> getEdgeViews()
           
 Graph getGraph()
           
 java.util.Set<NodeView> getNodeViews()
           
 void render(java.io.OutputStream outputStream)
          Renders this GraphView to the given output stream.
 void setColorScheme(ColorScheme colourScheme)
           
 void setEdgeViews(java.util.Set<EdgeView> edgeViews)
           
 void setGraph(Graph graph)
           
 void setNodeViews(java.util.Set<NodeView> roots)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotGraphView

public DotGraphView()
Method Detail

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.