net.clackrouter.topology.graph
Class TopoInterfaceCell

java.lang.Object
  extended by DefaultPort
      extended by net.clackrouter.topology.graph.TopoInterfaceCell

public class TopoInterfaceCell
extends DefaultPort

Subclass of DefaultPort to implement a component port within a JGraph GraphModel representing an VNS topology.


Field Summary
 TopologyModel.Interface mInterface
           
 double mPosition
           
 TopoInterfaceView mView
           
static double THRESHOLD
           
 
Constructor Summary
TopoInterfaceCell(TopologyModel.Interface iface)
           
 
Method Summary
 TopologyModel.Interface getInterface()
           
 void setXYPosition(double x_fraction, double y_fraction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mInterface

public TopologyModel.Interface mInterface

mPosition

public double mPosition

THRESHOLD

public static double THRESHOLD

mView

public TopoInterfaceView mView
Constructor Detail

TopoInterfaceCell

public TopoInterfaceCell(TopologyModel.Interface iface)
Method Detail

setXYPosition

public void setXYPosition(double x_fraction,
                          double y_fraction)

getInterface

public TopologyModel.Interface getInterface()