public interface CellHandle
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent event)
Messaged when the user drags the selection.
|
void |
mouseMoved(MouseEvent event)
Messaged when the mouse is moved.
|
void |
mousePressed(MouseEvent event)
Messaged when a mouse button is pressed.
|
void |
mouseReleased(MouseEvent event)
Messaged when the drag operation has
terminated with a drop.
|
void |
overlay(Graphics g)
Paint the handle on the given graphics object during mouse
operations.
|
void |
paint(Graphics g)
Paint the handle on the given graphics object once.
|
void paint(Graphics g)
g
- the graphics object to paint the handle onvoid overlay(Graphics g)
g
- the graphics object to paint the handle onvoid mouseMoved(MouseEvent event)
event
- the mouse event to be processedvoid mousePressed(MouseEvent event)
event
- the mouse event to be processedvoid mouseDragged(MouseEvent event)
event
- the drag event to be processedvoid mouseReleased(MouseEvent event)
event
- the drop event to be processedCopyright (C) 2001-2009 JGraph Ltd. All rights reserved.