edu.jhu.ece.iacl.jist.pipeline.graph
Class PipePortView.ActivityRenderer

java.lang.Object
  extended by PortRenderer
      extended by edu.jhu.ece.iacl.jist.pipeline.graph.PipePortView.ActivityRenderer
Direct Known Subclasses:
PortChildView.ActivityRenderer, PortInputView.ActivityRenderer, PortOutputView.ActivityRenderer, PortParentView.ActivityRenderer
Enclosing class:
PipePortView

public abstract class PipePortView.ActivityRenderer
extends PortRenderer

The Class ActivityRenderer.


Constructor Summary
PipePortView.ActivityRenderer()
          Instantiates a new activity renderer.
 
Method Summary
abstract  java.awt.Shape createShape()
          Creates the shape.
 boolean isAttemptingToConnect()
          Checks if is attempting to connect.
protected abstract  boolean isCompatible()
          Checks if is compatible.
 boolean isConnected()
          Checks if is connected.
 boolean isValid()
           
 void paint(java.awt.Graphics g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipePortView.ActivityRenderer

public PipePortView.ActivityRenderer()
Instantiates a new activity renderer.

Method Detail

createShape

public abstract java.awt.Shape createShape()
Creates the shape.

Returns:
the shape

isAttemptingToConnect

public boolean isAttemptingToConnect()
Checks if is attempting to connect.

Returns:
true, if is attempting to connect

isCompatible

protected abstract boolean isCompatible()
Checks if is compatible.

Returns:
true, if is compatible

isConnected

public boolean isConnected()
Checks if is connected.

Returns:
true, if is connected

isValid

public boolean isValid()

paint

public void paint(java.awt.Graphics g)