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

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.graph.view.factory.DotNodeViewFactory
All Implemented Interfaces:
NodeViewFactory, NodeVisitor

public class DotNodeViewFactory
extends java.lang.Object
implements NodeViewFactory

A type of NodeViewFactory that generates dot-format views over nodes in the graph. For more on the dot syntax, see http://www.graphviz.org/doc/info/lang.html.

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

Constructor Summary
DotNodeViewFactory()
          Default constructor
 
Method Summary
 ColorScheme getColorScheme()
          Get the ColorScheme being used for the produced Node.
 DotNodeView getNodeView()
           
 void setColorScheme(ColorScheme colorScheme)
          Sets the ColorScheme to use for the produced Node.
protected  void visit(DataConstantNode node)
           
protected  void visit(DataValueNode node)
           
protected  void visit(IndividualNode node)
           
protected  void visit(MemberOfNode node)
           
 void visit(Node node)
          Visit the given Node
protected  void visit(ObjectValueNode node)
           
protected  void visit(RestrictedNode node)
           
protected  void visit(WalkedToDataNode node)
           
protected  void visit(WalkedToObjectNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotNodeViewFactory

public DotNodeViewFactory()
Default constructor

Method Detail

getNodeView

public DotNodeView getNodeView()
Specified by:
getNodeView in interface NodeViewFactory

getColorScheme

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

Returns:
the ColorScheme being used

setColorScheme

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

Parameters:
colorScheme - the ColorScheme to set

visit

public void visit(Node node)
Description copied from interface: NodeVisitor
Visit the given Node

Specified by:
visit in interface NodeVisitor
Parameters:
node - the Node to visit

visit

protected void visit(DataValueNode node)

visit

protected void visit(DataConstantNode node)

visit

protected void visit(ObjectValueNode node)

visit

protected void visit(IndividualNode node)

visit

protected void visit(MemberOfNode node)

visit

protected void visit(RestrictedNode node)

visit

protected void visit(WalkedToObjectNode node)

visit

protected void visit(WalkedToDataNode node)


Copyright © 2010. All Rights Reserved.