Inheritance diagram for org.jgraph.graph.VertexView:
Public Member Functions | |
VertexView () | |
VertexView (Object cell) | |
void | update () |
Rectangle2D | getCachedBounds () |
void | setCachedBounds (Rectangle2D bounds) |
CellViewRenderer | getRenderer () |
CellHandle | getHandle (GraphContext context) |
Rectangle2D | getBounds () |
Point2D | getCenterPoint () |
Point2D | getPerimeterPoint (Point2D source, Point2D p) |
Point2D | getPerimeterPoint (EdgeView edge, Point2D source, Point2D p) |
Static Public Attributes | |
static transient VertexRenderer | renderer |
static final Rectangle2D | defaultBounds |
static transient int[] | defaultCursors |
static transient int[] | xCursors |
static transient int[] | yCursors |
Protected Attributes | |
Rectangle2D | bounds |
Static Package Functions | |
[static initializer] | |
Classes | |
class | SizeHandle |
|
Constructs an empty vertex view. |
|
Constructs a vertex view for the specified model object and the specified child views.
|
|
Reimplemented from org.jgraph.graph.AbstractCellView. |
|
Returns the cached bounds for the vertex. Reimplemented from org.jgraph.graph.AbstractCellView. |
|
|
|
|
|
Returns a cell handle for the view, if the graph and the view are sizeable. Implements org.jgraph.graph.AbstractCellView. |
|
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p. The specified point is expected not to intersect the bounds. Note: You must override this method if you use a different renderer. This is because this method relies on the VertexRenderer interface, which can not be safely assumed for subclassers. Reimplemented from org.jgraph.graph.AbstractCellView. |
|
|
|
Returns a renderer for the class. Implements org.jgraph.graph.AbstractCellView. |
|
|
|
Overrides the parent method to udpate the cached points. Reimplemented from org.jgraph.graph.AbstractCellView. |
|
Reference to the bounds attribute |
|
Initial value: new Rectangle2D.Double(10,
10, 20, 20)
|
|
Initial value: new int[] { Cursor.NW_RESIZE_CURSOR, Cursor.N_RESIZE_CURSOR, Cursor.NE_RESIZE_CURSOR, Cursor.W_RESIZE_CURSOR, Cursor.E_RESIZE_CURSOR, Cursor.SW_RESIZE_CURSOR, Cursor.S_RESIZE_CURSOR, Cursor.SE_RESIZE_CURSOR } |
|
Renderer for the class. |
|
Initial value: new int[] { Cursor.W_RESIZE_CURSOR, 0, Cursor.E_RESIZE_CURSOR, Cursor.W_RESIZE_CURSOR, Cursor.E_RESIZE_CURSOR, Cursor.W_RESIZE_CURSOR, 0, Cursor.E_RESIZE_CURSOR } |
|
Initial value: new int[] { Cursor.N_RESIZE_CURSOR, Cursor.N_RESIZE_CURSOR, Cursor.N_RESIZE_CURSOR, 0, 0, Cursor.S_RESIZE_CURSOR, Cursor.S_RESIZE_CURSOR, Cursor.S_RESIZE_CURSOR } |