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

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.graph.view.factory.FlexGraphViewFactory
All Implemented Interfaces:
GraphViewFactory, GraphVisitor

public class FlexGraphViewFactory
extends java.lang.Object
implements GraphViewFactory

Javadocs go here

Author:
Tony Burdett

Constructor Summary
FlexGraphViewFactory()
           
 
Method Summary
 ColorScheme getColorScheme()
          Get the ColorScheme being used for the produced Graph.
 GraphView getGraphView()
          Return the GraphView produced by this Factory
 java.util.Set<Node> getHiddenNodes()
           
 void setColorScheme(ColorScheme colorScheme)
          Sets the ColorScheme to use for the produced Graph
 void setHiddenNodes(java.util.Set<Node> hiddenNodes)
           
 void visit(Graph graph)
          Visits the supplied Graph.
protected  void walkGraph(Graph graph, NodeView parent, Edge edge, java.util.Set<Node> alreadyDone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexGraphViewFactory

public FlexGraphViewFactory()
Method Detail

getGraphView

public GraphView getGraphView()
Return the GraphView produced by this Factory

Specified by:
getGraphView in interface GraphViewFactory
Returns:
the generated graphview

getColorScheme

public ColorScheme getColorScheme()
Get the ColorScheme being used for the produced Graph.

Returns:
the ColorScheme being used

setColorScheme

public void setColorScheme(ColorScheme colorScheme)
Sets the ColorScheme to use for the produced Graph

Parameters:
colorScheme - the ColorScheme to use

getHiddenNodes

public java.util.Set<Node> getHiddenNodes()

setHiddenNodes

public void setHiddenNodes(java.util.Set<Node> hiddenNodes)

visit

public void visit(Graph graph)
Description copied from interface: GraphVisitor
Visits the supplied Graph.

Specified by:
visit in interface GraphVisitor
Parameters:
graph - the Graph to visit

walkGraph

protected void walkGraph(Graph graph,
                         NodeView parent,
                         Edge edge,
                         java.util.Set<Node> alreadyDone)


Copyright © 2010. All Rights Reserved.