|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the requirements for objects that may be used as handles. Handles are used to interactively manipulate a cell's appearance.
Method Summary | |
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. |
Method Detail |
public void paint(Graphics g)
g
- the graphics object to paint the handle onpublic void overlay(Graphics g)
g
- the graphics object to paint the handle onpublic void mouseMoved(MouseEvent event)
event
- the mouse event to be processedpublic void mousePressed(MouseEvent event)
event
- the mouse event to be processedpublic void mouseDragged(MouseEvent event)
event
- the drag event to be processedpublic void mouseReleased(MouseEvent event)
event
- the drop event to be processed
|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |