net.clackrouter.topology.graph
Class TopoInterfaceView
java.lang.Object
PortView
net.clackrouter.topology.graph.TopoInterfaceView
public class TopoInterfaceView
- extends PortView
View of an interface for the Topology Graph.
Constructor Summary |
TopoInterfaceView(java.lang.Object cell,
JGraph graph,
CellMapper cm)
|
Method Summary |
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds for the port view. |
CellViewRenderer |
getRenderer()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portIcon
protected static javax.swing.ImageIcon portIcon
smDefaultFontSize
public static int smDefaultFontSize
smDefaultFont
public static java.awt.Font smDefaultFont
mFont
protected java.awt.Font mFont
mName
protected java.lang.String mName
WIDTH
public static int WIDTH
HEIGHT
public static int HEIGHT
sIconWidth
public static int sIconWidth
sIconHeight
public static int sIconHeight
renderer
protected static TopoInterfaceView.TopoInterfaceRenderer renderer
TopoInterfaceView
public TopoInterfaceView(java.lang.Object cell,
JGraph graph,
CellMapper cm)
getBounds
public java.awt.geom.Rectangle2D getBounds()
- Returns the bounds for the port view.
getRenderer
public CellViewRenderer getRenderer()