public class SpotEditTool extends AbstractTool implements MouseMotionListener, MouseListener, KeyListener, ToolWithOptions
AbstractTool.KeyProxy, AbstractTool.KeyProxyIfNotConsumed, AbstractTool.MouseMotionProxy, AbstractTool.MouseMotionProxyIfNotConsumed, AbstractTool.MouseProxy, AbstractTool.MouseWheelProxy, AbstractTool.MouseWheelProxyIfNotConsumed, AbstractTool.ToolbarMouseAdapterclearToolsIfNecessary, ijKeyProxy, keyProxy, mouseMotionProxy, mouseProxy, mouseWheelProxy, savedToolName, sliceListener, sliceObservers, toolActive, toolbar, toolbarMouseListener, toolID, toolToggleListener| Modifier and Type | Method and Description |
|---|---|
ij.ImagePlus |
getImagePlus(ComponentEvent e)
Overridden so that we can keep track of the last ImagePlus actions are
taken on.
|
static SpotEditTool |
getInstance()
Return the singleton instance for this tool.
|
String |
getToolIcon()
Return the string encoding of the tool icon as it will appear in the
toolbar.
|
String |
getToolName()
Return the tool name.
|
static boolean |
isLaunched()
Return true if the tool is currently present in ImageJ toolbar.
|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
register(ij.ImagePlus lImp,
HyperStackDisplayer displayer)
Register the given
HyperStackDisplayer. |
void |
showOptionDialog()
When called, this method displays the configuration panel for the concrete
implementation of this tool.
|
addKeyListener, addMouseMotionListener, addMouseWheelListener, getImageCanvas, getImageWindow, getOffscreenX, getOffscreenXDouble, getOffscreenY, getOffscreenYDouble, getToolID, imageClosed, imageOpened, imageUpdated, isThisTool, maybeUnregister, registerTool, registerTool, registerTool, run, unregisterTool, unregisterTool, unregisterTool, wasToolbarCleared, windowGainedFocus, windowLostFocuspublic static SpotEditTool getInstance()
public static boolean isLaunched()
public String getToolName()
AbstractToolgetToolName in class AbstractToolpublic String getToolIcon()
AbstractToolgetToolIcon in class AbstractToolpublic ij.ImagePlus getImagePlus(ComponentEvent e)
getImagePlus in class AbstractToolpublic void register(ij.ImagePlus lImp,
HyperStackDisplayer displayer)
HyperStackDisplayer. If this method id not
called, the tool will not respond.public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void showOptionDialog()
ToolWithOptionsshowOptionDialog in interface ToolWithOptionsCopyright © 2015–2021 Fiji. All rights reserved.