|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ToolHandler
The ToolHandler interface should be implemented by any tool handler that needs to paints to the screen.
| Method Summary | |
|---|---|
void |
installTool()
Callback code that allows post construct task to take place when the tool is selected via the AbstractDocumentView.setToolMode(int)
call. |
void |
paintTool(java.awt.Graphics g)
Paints the tools pre-annotation creation state. |
void |
uninstallTool()
Callback code that allows pre destroy task to take place when the tool is unselected via the AbstractDocumentView.setToolMode(int)
call. |
| Methods inherited from interface java.awt.event.MouseListener |
|---|
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from interface java.awt.event.MouseMotionListener |
|---|
mouseDragged, mouseMoved |
| Method Detail |
|---|
void paintTool(java.awt.Graphics g)
g - graphics contextvoid installTool()
AbstractDocumentView.setToolMode(int)
call.
void uninstallTool()
AbstractDocumentView.setToolMode(int)
call.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||