net.clackrouter.router.graph
Class ComponentView
java.lang.Object
VertexView
net.clackrouter.router.graph.ComponentView
- All Implemented Interfaces:
- ClackPaintable
public class ComponentView
- extends VertexView
- implements ClackPaintable
Provides a view for the ComponentCell, representing a Clack Component.
Constructor Summary |
ComponentView(java.lang.Object cell,
JGraph graph,
CellMapper cm)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ERROR_FILL
public static java.awt.Color ERROR_FILL
mBorderColor
protected java.awt.Color mBorderColor
mFillColor
protected java.awt.Color mFillColor
mFont
protected java.awt.Font mFont
mFontSize
protected int mFontSize
mName
protected java.lang.String mName
mLabel
protected java.lang.String mLabel
STROKE
public static java.awt.BasicStroke STROKE
ERROR_STROKE
public static java.awt.BasicStroke ERROR_STROKE
ComponentView
public ComponentView(java.lang.Object cell,
JGraph graph,
CellMapper cm)
getDefaultBounds
public static java.awt.Rectangle getDefaultBounds(java.lang.String name,
java.awt.Point pt)
getClackView
public ClackView getClackView()
- Specified by:
getClackView
in interface ClackPaintable
clackPaint
public void clackPaint()
- Specified by:
clackPaint
in interface ClackPaintable
getRenderer
public CellViewRenderer getRenderer()