fcmodeler.io.dot
Class AbstractDotHandler

java.lang.Object
  |
  +--fcmodeler.io.dot.AbstractDotHandler
All Implemented Interfaces:
DotGraphHandler
Direct Known Subclasses:
RankClusterDotHandler, SimpleDotHandler

public abstract class AbstractDotHandler
extends java.lang.Object
implements DotGraphHandler

... is ...

Since:
JDK1.3
Version:
$Revision: 1.1 $
Author:
Julie Dickerson , Zach Cox

Field Summary
protected  java.awt.geom.Rectangle2D _boundingBox
           
protected  java.util.Map _edgeMap
           
protected  diva.graph.GraphView _graphView
           
protected  java.util.Map _nodeMap
           
 
Constructor Summary
AbstractDotHandler(diva.graph.GraphView graphView)
          Creates new AbstractDotHandler
 
Method Summary
abstract  void edgeAttribute(java.util.Map attributes)
           
abstract  void edgeDefinition(java.lang.String tail, java.lang.String head, java.util.Map attributes)
           
 java.awt.geom.Rectangle2D getBoundingBox()
           
abstract  void nodeAttribute(java.util.Map attributes)
           
abstract  void nodeDefinition(java.lang.String label, java.util.Map attributes)
           
 void setEdgeMap(java.util.Map edgeMap)
           
 void setNodeMap(java.util.Map nodeMap)
           
abstract  void subgraphAttribute(java.util.Map attributes)
           
abstract  void subgraphDefinition(java.lang.String label)
           
abstract  void subgraphTermination(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fcmodeler.io.dot.DotGraphHandler
configure
 

Field Detail

_edgeMap

protected java.util.Map _edgeMap

_nodeMap

protected java.util.Map _nodeMap

_graphView

protected diva.graph.GraphView _graphView

_boundingBox

protected java.awt.geom.Rectangle2D _boundingBox
Constructor Detail

AbstractDotHandler

public AbstractDotHandler(diva.graph.GraphView graphView)
Creates new AbstractDotHandler
Method Detail

edgeAttribute

public abstract void edgeAttribute(java.util.Map attributes)
Specified by:
edgeAttribute in interface DotGraphHandler

edgeDefinition

public abstract void edgeDefinition(java.lang.String tail,
                                    java.lang.String head,
                                    java.util.Map attributes)
Specified by:
edgeDefinition in interface DotGraphHandler

nodeAttribute

public abstract void nodeAttribute(java.util.Map attributes)
Specified by:
nodeAttribute in interface DotGraphHandler

nodeDefinition

public abstract void nodeDefinition(java.lang.String label,
                                    java.util.Map attributes)
Specified by:
nodeDefinition in interface DotGraphHandler

setEdgeMap

public void setEdgeMap(java.util.Map edgeMap)
Specified by:
setEdgeMap in interface DotGraphHandler

setNodeMap

public void setNodeMap(java.util.Map nodeMap)
Specified by:
setNodeMap in interface DotGraphHandler

subgraphAttribute

public abstract void subgraphAttribute(java.util.Map attributes)
Specified by:
subgraphAttribute in interface DotGraphHandler

subgraphDefinition

public abstract void subgraphDefinition(java.lang.String label)
Specified by:
subgraphDefinition in interface DotGraphHandler

subgraphTermination

public abstract void subgraphTermination(java.lang.String label)
Specified by:
subgraphTermination in interface DotGraphHandler

getBoundingBox

public java.awt.geom.Rectangle2D getBoundingBox()
Specified by:
getBoundingBox in interface DotGraphHandler