org.jgraph.graph
public static class VertexView.SizeHandle extends Object implements CellHandle, Serializable
Field Summary | |
---|---|
protected Rectangle2D | cachedBounds |
protected GraphContext | context |
protected CellView[] | contextViews |
int[] | cursors Array that holds the cursors for the different control points. |
protected boolean | editing
True if the cell is being edited. |
protected boolean | firstDrag |
protected boolean | firstOverlayInvocation |
protected JGraph | graph |
protected int | index |
protected Rectangle2D | initialBounds |
protected Graphics | offgraphics Reference to graph off screen graphics |
protected CellView[] | portViews |
protected Rectangle2D[] | r |
protected VertexView | vertex |
Constructor Summary | |
---|---|
SizeHandle(VertexView vertexview, GraphContext ctx) |
Method Summary | |
---|---|
protected Rectangle2D | computeBounds(MouseEvent event) |
protected void | initOffscreen() |
protected void | invalidate() |
boolean | isConstrainedSizeEvent(MouseEvent e) |
void | mouseDragged(MouseEvent event) Process mouse dragged event. |
void | mouseMoved(MouseEvent event)
Invoked when the mouse pointer has been moved on a component (with no
buttons down). |
void | mousePressed(MouseEvent event) Process mouse pressed event. |
void | mouseReleased(MouseEvent e) |
void | overlay(Graphics g) |
void | paint(Graphics g) |