|
||||||||||
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
easik.sketch.util.graph.EntityView
public class EntityView
A view class for the entity cell type.
Nested Class Summary | |
---|---|
static class |
EntityView.EntityRenderer
The renderer for the circle vertices. |
Nested classes/interfaces inherited from class org.jgraph.graph.VertexView |
---|
org.jgraph.graph.VertexView.SizeHandle |
Field Summary | |
---|---|
static EntityView.EntityRenderer |
_renderer
The renderer for this view |
Fields inherited from class org.jgraph.graph.VertexView |
---|
bounds, defaultBounds, defaultCursors, renderer, xCursors, yCursors |
Fields inherited from class org.jgraph.graph.AbstractCellView |
---|
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
Constructor Summary | |
---|---|
EntityView()
Creates a new entity view. |
|
EntityView(java.lang.Object cell)
Sets the cell that this view will be used to render. |
Method Summary | |
---|---|
java.awt.geom.Point2D |
getPerimeterPoint(org.jgraph.graph.EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
Overridden method to return the proper perimeter point for edges to use |
org.jgraph.graph.CellViewRenderer |
getRenderer()
Returns the current renderer |
Methods inherited from class org.jgraph.graph.VertexView |
---|
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, setCachedBounds, update |
Methods inherited from class org.jgraph.graph.AbstractCellView |
---|
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBounds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static transient EntityView.EntityRenderer _renderer
Constructor Detail |
---|
public EntityView()
public EntityView(java.lang.Object cell)
cell
- The cell to be rendered by this view.Method Detail |
---|
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class org.jgraph.graph.VertexView
public java.awt.geom.Point2D getPerimeterPoint(org.jgraph.graph.EdgeView edge, java.awt.geom.Point2D source, java.awt.geom.Point2D p)
getPerimeterPoint
in interface org.jgraph.graph.CellView
getPerimeterPoint
in class org.jgraph.graph.VertexView
edge
- The edgesource
- The source of the edgep
- The desitination of the edge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |