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, showPopupMenupublic void run(String arg)
PlugInrun in interface PlugInrun in class PlugInToolpublic void mousePressed(ImagePlus imp, MouseEvent e)
mousePressed in class PlugInToolpublic void mouseDragged(ImagePlus imp, MouseEvent e)
mouseDragged in class PlugInToolpublic void mouseReleased(ImagePlus imp, MouseEvent e)
mouseReleased in class PlugInToolpublic void showOptionsDialog()
showOptionsDialog in class PlugInToolpublic String getToolName()
PlugInToolgetToolName in class PlugInToolpublic String getToolIcon()
PlugInToolgetToolIcon in class PlugInToolpublic static void setBrushWidth(int width)
Copyright © 1997–2018 NIH. All rights reserved.