public class ObjectView
extends org.jgraph.graph.VertexView
Modifier and Type | Field and Description |
---|---|
protected ObjectRenderer |
renderer |
Constructor and Description |
---|
ObjectView(java.lang.Object cell) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
getPerimeterPoint(org.jgraph.graph.EdgeView edge,
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()
Returns a renderer for the class.
|
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, setCachedBounds, update
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
protected final ObjectRenderer renderer
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)
org.jgraph.graph.VertexView
getPerimeterPoint
in interface org.jgraph.graph.CellView
getPerimeterPoint
in class org.jgraph.graph.VertexView