public class BrushTool extends PlugInTool implements Runnable
Constructor and Description |
---|
BrushTool() |
Modifier and Type | Method and Description |
---|---|
String |
getToolIcon()
Return the string encoding of the tool icon.
|
String |
getToolName()
Return the tool name.
|
void |
mouseDragged(ImagePlus imp,
MouseEvent e) |
void |
mousePressed(ImagePlus imp,
MouseEvent e) |
void |
mouseReleased(ImagePlus imp,
MouseEvent e) |
void |
run() |
void |
run(String arg)
This method is called when the plugin is loaded.
|
static void |
setBrushWidth(int width) |
void |
showOptionsDialog() |
getMacroProgram, mouseClicked, mouseEntered, mouseExited, mouseMoved, runMacroTool, runMenuTool, showPopupMenu
public void run(String arg)
PlugIn
run
in interface PlugIn
run
in class PlugInTool
public void mousePressed(ImagePlus imp, MouseEvent e)
mousePressed
in class PlugInTool
public void mouseDragged(ImagePlus imp, MouseEvent e)
mouseDragged
in class PlugInTool
public void mouseReleased(ImagePlus imp, MouseEvent e)
mouseReleased
in class PlugInTool
public void showOptionsDialog()
showOptionsDialog
in class PlugInTool
public String getToolName()
PlugInTool
getToolName
in class PlugInTool
public String getToolIcon()
PlugInTool
getToolIcon
in class PlugInTool
public static void setBrushWidth(int width)