edu.iastate.metnet.graphmodel
Class AlignmentMetaphor

java.lang.Object
  extended by edu.iastate.metnet.graphmodel.AbstractGraphMetaphor
      extended by edu.iastate.metnet.graphmodel.AlignmentMetaphor
All Implemented Interfaces:
IGraphMetaphor

public class AlignmentMetaphor
extends AbstractGraphMetaphor

given the alignment, metaphor the current graph view

Author:
Jie Li

Field Summary
(package private)  PathwayAlignment alignment
          alignment used to metaphor
(package private) static org.apache.log4j.Logger logger
          log4j facility
 
Fields inherited from class edu.iastate.metnet.graphmodel.AbstractGraphMetaphor
DEFAULT_BACKGROUND, DEFAULT_FOREGROUND, DEFAULT_LINE_WIDTH
 
Constructor Summary
AlignmentMetaphor()
          default constructor
 
Method Summary
 void run(org.jgraph.JGraph graph, java.lang.Object[] cells)
          apply metaphor for the graph.
 
Methods inherited from class edu.iastate.metnet.graphmodel.AbstractGraphMetaphor
autoSizeBox, changeEdgeColor, changeEdgeDualColor, changeEdgePattern, changeEdgeWidth, changeVertexBackgroundColor, changeVertexBorderColor, changeVertexBorderWidth, changeVertexDualColor, changeVertexForegroundColor, getEdgeType, getIncomingEdges, getIncomingNodes, getInteractionColorForEdge, getInteractionWidthForEdge, getIntersectionNodes, getLocationColorForVertex, getOutgoingEdges, getOutgoingNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
log4j facility


alignment

PathwayAlignment alignment
alignment used to metaphor

Constructor Detail

AlignmentMetaphor

public AlignmentMetaphor()
default constructor

Method Detail

run

public void run(org.jgraph.JGraph graph,
                java.lang.Object[] cells)
apply metaphor for the graph.

Specified by:
run in interface IGraphMetaphor
Overrides:
run in class AbstractGraphMetaphor
Parameters:
graph - the graph object
cells - the cell objects