net.clackrouter.topology.graph
Class TopoVirtualHostView

java.lang.Object
  extended by VertexView
      extended by net.clackrouter.topology.graph.TopoVirtualHostView

public class TopoVirtualHostView
extends VertexView

View for a virtual host in a Topology JGraph.


Field Summary
static java.awt.Image mActiveRouterIcon
           
static java.awt.Image mActiveServerIcon
           
protected  java.awt.Color mBorderColor
           
protected  java.awt.Font mFont
           
protected  int mFontSize
           
static java.awt.Image mInactiveRouterIcon
           
static java.awt.Image mInactiveServerIcon
           
protected  boolean mIsReserved
           
protected  java.lang.String mName
           
protected  java.awt.Color mNonReservedFillColor
           
protected  java.awt.Color mReservedFillColor
           
protected  java.awt.BasicStroke mStroke
           
static int ROUTE_ENTRY_HIGHLIGHT_MSEC
           
static java.lang.String sActiveRouterIconFile
           
static int sBORDER
           
static int shPAD
           
static int sIconHeight
           
static int sIconWidth
           
static java.lang.String sInactiveRouterIconFile
           
static java.awt.Font smDefaultFont
           
static int smDefaultFontSize
           
static int swPAD
           
 
Constructor Summary
TopoVirtualHostView(TopoHostCell cell, JGraph graph, CellMapper cm)
           
 
Method Summary
 java.awt.Rectangle getDefaultBounds(java.lang.String name, java.awt.Point pt)
           
 CellViewRenderer getRenderer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sBORDER

public static int sBORDER

smDefaultFontSize

public static int smDefaultFontSize

smDefaultFont

public static java.awt.Font smDefaultFont

swPAD

public static int swPAD

shPAD

public static int shPAD

sIconWidth

public static int sIconWidth

sIconHeight

public static int sIconHeight

sActiveRouterIconFile

public static java.lang.String sActiveRouterIconFile

sInactiveRouterIconFile

public static java.lang.String sInactiveRouterIconFile

mActiveRouterIcon

public static java.awt.Image mActiveRouterIcon

mInactiveRouterIcon

public static java.awt.Image mInactiveRouterIcon

mActiveServerIcon

public static java.awt.Image mActiveServerIcon

mInactiveServerIcon

public static java.awt.Image mInactiveServerIcon

mBorderColor

protected java.awt.Color mBorderColor

mReservedFillColor

protected java.awt.Color mReservedFillColor

mNonReservedFillColor

protected java.awt.Color mNonReservedFillColor

mFont

protected java.awt.Font mFont

mFontSize

protected int mFontSize

mName

protected java.lang.String mName

mIsReserved

protected boolean mIsReserved

mStroke

protected java.awt.BasicStroke mStroke

ROUTE_ENTRY_HIGHLIGHT_MSEC

public static int ROUTE_ENTRY_HIGHLIGHT_MSEC
Constructor Detail

TopoVirtualHostView

public TopoVirtualHostView(TopoHostCell cell,
                           JGraph graph,
                           CellMapper cm)
Method Detail

getDefaultBounds

public java.awt.Rectangle getDefaultBounds(java.lang.String name,
                                           java.awt.Point pt)

getRenderer

public CellViewRenderer getRenderer()