net.clackrouter.topology.graph
Class TopoInterfaceCell
java.lang.Object
DefaultPort
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mInterface
public TopologyModel.Interface mInterface
mPosition
public double mPosition
THRESHOLD
public static double THRESHOLD
mView
public TopoInterfaceView mView
TopoInterfaceCell
public TopoInterfaceCell(TopologyModel.Interface iface)
setXYPosition
public void setXYPosition(double x_fraction,
double y_fraction)
getInterface
public TopologyModel.Interface getInterface()