net.sourceforge.fluxion.runcible.graph.view.factory
Class DotEdgeViewFactory

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.graph.view.factory.DotEdgeViewFactory
All Implemented Interfaces:
EdgeViewFactory, EdgeVisitor

public class DotEdgeViewFactory
extends java.lang.Object
implements EdgeViewFactory

A type of EdgeViewFactory that produces a dot-format view over edges. For more details on the dot syntax, see http://www.graphviz.org/doc/info/lang.html. This class produces views of a concrete type, DotEdgeView which can then be used to produce a graph imade using the GraphViz suite of tools.

Version:
0.1
Author:
Tony Burdett
See Also:
DotEdgeView, DotGraphViewFactory

Constructor Summary
DotEdgeViewFactory()
          Default constructor
 
Method Summary
 ColorScheme getColorScheme()
          Gets the ColorScheme being used by this particular DotEdgeViewFactory.
 DotEdgeView getEdgeView()
          Generate an EdgeView.
 void setColorScheme(ColorScheme colorScheme)
          Sets the ColorScheme to use for DotEdgeViewFactory.
 void visit(Edge edge)
          Visit this Edge
protected  void visit(IsAEdge edge)
           
protected  void visit(NestedEdge edge)
           
protected  void visit(ValueEdge edge)
           
protected  void visit(WalkEdge edge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotEdgeViewFactory

public DotEdgeViewFactory()
Default constructor

Method Detail

getEdgeView

public DotEdgeView getEdgeView()
Description copied from interface: EdgeViewFactory
Generate an EdgeView.

Specified by:
getEdgeView in interface EdgeViewFactory
Returns:
the generated EdgeView

getColorScheme

public ColorScheme getColorScheme()
Gets the ColorScheme being used by this particular DotEdgeViewFactory.

Returns:
the ColorScheme being used

setColorScheme

public void setColorScheme(ColorScheme colorScheme)
Sets the ColorScheme to use for DotEdgeViewFactory.

Parameters:
colorScheme - the ColorScheme being used

visit

public void visit(Edge edge)
Description copied from interface: EdgeVisitor
Visit this Edge

Specified by:
visit in interface EdgeVisitor
Parameters:
edge - the edge to visit

visit

protected void visit(NestedEdge edge)

visit

protected void visit(ValueEdge edge)

visit

protected void visit(WalkEdge edge)

visit

protected void visit(IsAEdge edge)


Copyright © 2010. All Rights Reserved.