edu.jhu.ece.iacl.jist.pipeline.graph
Class PipeAlgorithmView

java.lang.Object
  extended by VertexView
      extended by edu.jhu.ece.iacl.jist.pipeline.graph.PipeAlgorithmView

public class PipeAlgorithmView
extends VertexView

Cell view renderer for algorithm.

Author:
Blake Lucas (bclucas@jhu.edu)

Nested Class Summary
static class PipeAlgorithmView.ActivityRenderer
          The Class ActivityRenderer.
 
Field Summary
static PipeAlgorithmView.ActivityRenderer renderer
          The renderer.
 
Constructor Summary
PipeAlgorithmView()
          Instantiates a new pipe algorithm view.
 
Method Summary
static int getArcSize(int width, int height)
          getArcSize calculates an appropriate arc for the corners of the rectangle for boundary size cases of width and height.
 PipeModuleCell getCell()
           
 CellViewRenderer getRenderer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderer

public static transient PipeAlgorithmView.ActivityRenderer renderer
The renderer.

Constructor Detail

PipeAlgorithmView

public PipeAlgorithmView()
Instantiates a new pipe algorithm view.

Method Detail

getArcSize

public static int getArcSize(int width,
                             int height)
getArcSize calculates an appropriate arc for the corners of the rectangle for boundary size cases of width and height.

Parameters:
width - the width
height - the height
Returns:
the arc size

getCell

public PipeModuleCell getCell()

getRenderer

public CellViewRenderer getRenderer()