|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jgraph.graph.VertexView.SizeHandle
| Field Summary | |
protected java.awt.Rectangle |
cachedBounds
|
protected GraphContext |
context
|
protected CellView[] |
contextViews
|
int[] |
cursors
Array that holds the cursors for the different control points. |
protected boolean |
firstDrag
|
protected boolean |
firstOverlayInvocation
|
protected JGraph |
graph
|
protected int |
index
|
protected java.awt.Rectangle |
initialBounds
|
protected java.awt.Graphics |
offgraphics
|
protected java.awt.Image |
offscreen
|
protected PortView[] |
portViews
|
protected java.awt.Rectangle[] |
r
|
protected VertexView |
vertex
|
| Constructor Summary | |
VertexView.SizeHandle(VertexView vertexview,
GraphContext ctx)
|
|
| Method Summary | |
protected java.awt.Rectangle |
computeBounds(java.awt.event.MouseEvent event)
|
void |
mouseDragged(java.awt.event.MouseEvent event)
Process mouse dragged event. |
void |
mouseMoved(java.awt.event.MouseEvent event)
Invoked when the mouse pointer has been moved on a component (with no buttons down). |
void |
mousePressed(java.awt.event.MouseEvent event)
Process mouse pressed event. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Messaged when the drag operation has terminated with a drop. |
void |
overlay(java.awt.Graphics g)
Paint the handle on the given graphics object during mouse operations. |
void |
paint(java.awt.Graphics g)
Paint the handle on the given graphics object once. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient java.awt.Image offscreen
protected transient java.awt.Graphics offgraphics
protected transient boolean firstDrag
protected transient JGraph graph
protected transient VertexView vertex
protected transient PortView[] portViews
protected transient java.awt.Rectangle cachedBounds
protected transient GraphContext context
protected transient java.awt.Rectangle initialBounds
protected transient CellView[] contextViews
protected transient int index
protected transient java.awt.Rectangle[] r
protected boolean firstOverlayInvocation
public transient int[] cursors
| Constructor Detail |
public VertexView.SizeHandle(VertexView vertexview,
GraphContext ctx)
| Method Detail |
public void paint(java.awt.Graphics g)
CellHandle
paint in interface CellHandleg - the graphics object to paint the handle onpublic void overlay(java.awt.Graphics g)
CellHandle
overlay in interface CellHandleg - the graphics object to paint the handle onpublic void mouseMoved(java.awt.event.MouseEvent event)
mouseMoved in interface CellHandlepublic void mousePressed(java.awt.event.MouseEvent event)
mousePressed in interface CellHandlepublic void mouseDragged(java.awt.event.MouseEvent event)
mouseDragged in interface CellHandleevent - the drag event to be processedprotected java.awt.Rectangle computeBounds(java.awt.event.MouseEvent event)
public void mouseReleased(java.awt.event.MouseEvent e)
CellHandle
mouseReleased in interface CellHandle
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||