net.clackrouter.topology.graph
Class TopoInterfaceView

java.lang.Object
  extended by PortView
      extended by net.clackrouter.topology.graph.TopoInterfaceView

public class TopoInterfaceView
extends PortView

View of an interface for the Topology Graph.


Nested Class Summary
static class TopoInterfaceView.TopoInterfaceRenderer
           
 
Field Summary
static int HEIGHT
           
protected  java.awt.Font mFont
           
protected  java.lang.String mName
           
protected static javax.swing.ImageIcon portIcon
           
protected static TopoInterfaceView.TopoInterfaceRenderer renderer
           
static int sIconHeight
           
static int sIconWidth
           
static java.awt.Font smDefaultFont
           
static int smDefaultFontSize
           
static int WIDTH
           
 
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
 

Field Detail

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
Constructor Detail

TopoInterfaceView

public TopoInterfaceView(java.lang.Object cell,
                         JGraph graph,
                         CellMapper cm)
Method Detail

getBounds

public java.awt.geom.Rectangle2D getBounds()
Returns the bounds for the port view.


getRenderer

public CellViewRenderer getRenderer()