org.jgraph.graph
Class VertexView.SizeHandle
java.lang.Object
org.jgraph.graph.VertexView.SizeHandle
- VertexView
- CellHandle, Serializable
public static class VertexView.SizeHandle
extends java.lang.Object
cachedBounds
protected Rectangle2D cachedBounds
contextViews
protected CellView[] contextViews
cursors
public int[] cursors
Array that holds the cursors for the different control points.
editing
protected boolean editing
True if the cell is being edited.
firstDrag
protected boolean firstDrag
firstOverlayInvocation
protected boolean firstOverlayInvocation
initialBounds
protected Rectangle2D initialBounds
offgraphics
protected Graphics offgraphics
Reference to graph off screen graphics
r
protected Rectangle2D[] r
computeBounds
protected Rectangle2D computeBounds(MouseEvent event)
initOffscreen
protected void initOffscreen()
invalidate
protected void invalidate()
isConstrainedSizeEvent
public boolean isConstrainedSizeEvent(MouseEvent e)
mouseDragged
public void mouseDragged(MouseEvent event)
Process mouse dragged event.
- mouseDragged in interface CellHandle
mouseMoved
public void mouseMoved(MouseEvent event)
Invoked when the mouse pointer has been moved on a component (with no
buttons down).
- mouseMoved in interface CellHandle
mousePressed
public void mousePressed(MouseEvent event)
Process mouse pressed event.
- mousePressed in interface CellHandle
Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.