public class RoiPicker extends AbstractTool implements ActionListener, MouseListener, MouseMotionListener, MouseWheelListener, ToolWithOptions
Rois containing a specific x, y
position (obtained by a mouse click). Any Rois in the current
RoiManager containing that point will be added to this tool's list.
The Rois of the list can be itereated by repeated clicking.
NB: Known limitations to this tool:
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| Constructor and Description |
|---|
RoiPicker() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
String |
getToolIcon()
Return the string encoding of the tool icon as it will appear in the
toolbar.
|
String |
getToolName()
Return the tool name.
|
protected void |
handleRecording() |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent arg0) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent arg0) |
void |
mouseReleased(MouseEvent e)
Functional method of the RoiPicker.
|
void |
mouseWheelMoved(MouseWheelEvent e) |
void |
run(String arg) |
static void |
select(String style,
String x1,
String y1,
String x2,
String y2,
String width,
String headLength) |
void |
showOptionDialog()
When called, this method displays the configuration panel for the concrete
implementation of this tool.
|
addKeyListener, addMouseMotionListener, addMouseWheelListener, getImageCanvas, getImagePlus, getImageWindow, getOffscreenX, getOffscreenXDouble, getOffscreenY, getOffscreenYDouble, getToolID, imageClosed, imageOpened, imageUpdated, isThisTool, maybeUnregister, registerTool, registerTool, registerTool, unregisterTool, unregisterTool, unregisterTool, wasToolbarCleared, windowGainedFocus, windowLostFocuspublic void run(String arg)
run in interface ij.plugin.PlugInrun in class AbstractToolpublic String getToolName()
AbstractToolgetToolName in class AbstractToolpublic String getToolIcon()
AbstractToolgetToolIcon in class AbstractToolpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved in interface MouseWheelListenerpublic void showOptionDialog()
ToolWithOptionsshowOptionDialog in interface ToolWithOptionspublic void mouseDragged(MouseEvent arg0)
mouseDragged in interface MouseMotionListenerpublic void mousePressed(MouseEvent arg0)
mousePressed in interface MouseListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerprotected void handleRecording()
Copyright © 2015–2021 Fiji. All rights reserved.