java.lang.Object
ij.plugin.tool.PlugInTool
- All Implemented Interfaces:
PlugIn
- Direct Known Subclasses:
ArrowTool,BrushTool,MacroToolRunner,OverlayBrushTool,PixelInspectionTool,RoiRotationTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the string encoding of the tool icon.Return the tool name.voidmouseClicked(ImagePlus imp, MouseEvent e) voidmouseDragged(ImagePlus imp, MouseEvent e) voidmouseEntered(ImagePlus imp, MouseEvent e) voidmouseExited(ImagePlus imp, MouseEvent e) voidmouseMoved(ImagePlus imp, MouseEvent e) voidmousePressed(ImagePlus imp, MouseEvent e) voidmouseReleased(ImagePlus imp, MouseEvent e) voidThis method is called when the plugin is loaded.voidrunMacroTool(String name) These methods are overridden by MacroToolRunner.voidrunMenuTool(String name, String command) voidvoidshowPopupMenu(MouseEvent e, Toolbar tb)
-
Constructor Details
-
PlugInTool
public PlugInTool()
-
-
Method Details
-
run
Description copied from interface:PlugInThis method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. -
mousePressed
-
mouseReleased
-
mouseClicked
-
mouseDragged
-
mouseMoved
-
mouseEntered
-
mouseExited
-
showPopupMenu
-
getToolName
Return the tool name. -
getToolIcon
Return the string encoding of the tool icon. See http://rsb.info.nih.gov/ij/developer/macro/macros.html#icons The default icon is the first letter of the tool name. -
showOptionsDialog
public void showOptionsDialog() -
runMacroTool
These methods are overridden by MacroToolRunner. -
runMenuTool
-
getMacroProgram
-