|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgraph.graph.AbstractCellView
org.jgraph.graph.VertexView
com.jgraph.example.fastgraph.FastVertexView
com.jgraph.example.fastgraph.FastCircleView
public class FastCircleView
| Nested Class Summary | |
|---|---|
static class |
FastCircleView.JGraphEllipseRenderer
The renderer for this view |
| Nested classes/interfaces inherited from class org.jgraph.graph.VertexView |
|---|
org.jgraph.graph.VertexView.SizeHandle |
| Field Summary | |
|---|---|
static FastCircleView.JGraphEllipseRenderer |
renderer
The renderer for this view |
| Fields inherited from class org.jgraph.graph.VertexView |
|---|
defaultBounds, defaultCursors, xCursors, yCursors |
| Fields inherited from class org.jgraph.graph.AbstractCellView |
|---|
cellEditor |
| Constructor Summary | |
|---|---|
FastCircleView()
The default constructor |
|
FastCircleView(java.lang.Object cell)
Constructs a fast circle view associated this view with the specified cell |
|
| Method Summary | |
|---|---|
java.awt.geom.Point2D |
getPerimeterPoint(java.awt.geom.Point2D source,
java.awt.geom.Point2D 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()
|
| Methods inherited from class com.jgraph.example.fastgraph.FastVertexView |
|---|
changeAttributes, setAttributes |
| Methods inherited from class org.jgraph.graph.VertexView |
|---|
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, setCachedBounds, update |
| Methods inherited from class org.jgraph.graph.AbstractCellView |
|---|
childUpdated, getAllAttributes, getAttributes, getBounds, getCell, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, scale, setBounds, setCell, translate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static transient FastCircleView.JGraphEllipseRenderer renderer
| Constructor Detail |
|---|
public FastCircleView()
public FastCircleView(java.lang.Object cell)
cell - the model cell to associated this view with| Method Detail |
|---|
public java.awt.geom.Point2D getPerimeterPoint(java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
getPerimeterPoint in class org.jgraph.graph.VertexViewpublic org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer in class org.jgraph.graph.VertexView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||