|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jgraph.graph.AbstractCellView
|
+--org.jgraph.graph.VertexView
|
+--gograph.base.graph.GGVertexView
Implementation of a GoGraph vertex view.
| Field Summary | |
static GGVertexRenderer |
renderer
Renderer for the class. |
| Fields inherited from class org.jgraph.graph.VertexView |
bounds, groupBounds |
| Fields inherited from class org.jgraph.graph.AbstractCellView |
allAttributes, attributes, cell, cellEditor, childViews, graph, mapper, parent |
| Constructor Summary | |
GGVertexView(java.lang.Object cell,
org.jgraph.JGraph graph,
org.jgraph.graph.CellMapper cm)
Constructs a vertex view for the specified model object and the specified child views. |
|
| Method Summary | |
java.awt.Point |
getPerimeterPoint(java.awt.Point source,
java.awt.Point p)
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
Returns a renderer for the class. |
| Methods inherited from class org.jgraph.graph.VertexView |
childUpdated, getBounds, getCachedBounds, getCenterPoint, getHandle, isConstrainedSizeEvent, setCachedBounds, update, updateGroupBounds |
| Methods inherited from class org.jgraph.graph.AbstractCellView |
getAllAttributes, getAttributes, getBounds, getCell, getChildViews, getDescendantViews, getEditor, getGraph, getMapper, getModel, getParentView, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, scale, setAttributes, setBounds, translate, updateAllAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static GGVertexRenderer renderer
| Constructor Detail |
public GGVertexView(java.lang.Object cell,
org.jgraph.JGraph graph,
org.jgraph.graph.CellMapper cm)
graph - Source graph.cm - Grph cellmapper.cell - Reference to the model object.| Method Detail |
public java.awt.Point getPerimeterPoint(java.awt.Point source,
java.awt.Point p)
getPerimeterPoint in class org.jgraph.graph.VertexViewsource - Source of the straight line.p - Specified point.
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer in class org.jgraph.graph.VertexView
|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||