endrov.typeText
Class TextAnnotImageTool
java.lang.Object
endrov.typeText.TextAnnotImageTool
- All Implemented Interfaces:
- GeneralTool, Viewer2DTool
public class TextAnnotImageTool
- extends java.lang.Object
- implements Viewer2DTool
Create and edit image annotation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextAnnotImageTool
public TextAnnotImageTool(Viewer2DWindow w,
TextAnnotImageRenderer r)
getMenuItem
public javax.swing.JMenuItem getMenuItem()
- Description copied from interface:
Viewer2DTool
- Get the menu item to be placed in the tools menu
- Specified by:
getMenuItem
in interface Viewer2DTool
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e,
java.awt.Component invoker)
- Specified by:
mouseClicked
in interface GeneralTool
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e,
int dx,
int dy)
- Specified by:
mouseDragged
in interface GeneralTool
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface GeneralTool
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface GeneralTool
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e,
int dx,
int dy)
- Specified by:
mouseMoved
in interface GeneralTool
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface GeneralTool
paintComponent
public void paintComponent(java.awt.Graphics g)
- Specified by:
paintComponent
in interface GeneralTool
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interface GeneralTool
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interface GeneralTool
deselected
public void deselected()
- Description copied from interface:
Viewer2DTool
- Called when the tool has been deselected
- Specified by:
deselected
in interface Viewer2DTool