|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface DiagramComponent.ContextualDrawing
An interface for additional drawing to be performed in specific context
| Method Summary | |
|---|---|
boolean |
consumeKeyEvent(java.awt.event.KeyEvent e)
During this specific context, the key events can be consumed and thus nt handled as in normal mode |
boolean |
consumeMouseEvent(java.awt.event.MouseEvent e)
During this specific context, the mouse events can be consumed and thus nt handled as in normal mode |
void |
draw(java.awt.Graphics2D g2,
java.awt.Point max)
Do the additional drawing |
| Method Detail |
|---|
void draw(java.awt.Graphics2D g2,
java.awt.Point max)
g2 - the current graphicmax - the max point to compute diagram sizeboolean consumeMouseEvent(java.awt.event.MouseEvent e)
e - the mouse event (including motion events)
boolean consumeKeyEvent(java.awt.event.KeyEvent e)
e - the key event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||