public class Lasso_ extends AbstractTool implements MouseListener, MouseMotionListener, ToolWithOptions
AbstractTool.KeyProxy, AbstractTool.KeyProxyIfNotConsumed, AbstractTool.MouseMotionProxy, AbstractTool.MouseMotionProxyIfNotConsumed, AbstractTool.MouseProxy, AbstractTool.MouseWheelProxy, AbstractTool.MouseWheelProxyIfNotConsumed, AbstractTool.ToolbarMouseAdapter| Modifier and Type | Field and Description |
|---|---|
protected Lasso |
lasso |
protected Lasso.Mode |
mode |
clearToolsIfNecessary, ijKeyProxy, keyProxy, mouseMotionProxy, mouseProxy, mouseWheelProxy, savedToolName, sliceListener, sliceObservers, toolActive, toolbar, toolbarMouseListener, toolID, toolToggleListener| Constructor and Description |
|---|
Lasso_() |
| Modifier and Type | Method and Description |
|---|---|
String |
getToolIcon()
Return the string encoding of the tool icon as it will appear in the
toolbar.
|
String |
getToolName()
Return the tool name.
|
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 |
setMode(int mode) |
void |
setMode(Lasso.Mode mode) |
void |
setMode(String mode) |
void |
showOptionDialog()
When called, this method displays the configuration panel for the concrete
implementation of this tool.
|
void |
toggleMode() |
addKeyListener, addMouseMotionListener, addMouseWheelListener, getImageCanvas, getImagePlus, getImageWindow, getOffscreenX, getOffscreenXDouble, getOffscreenY, getOffscreenYDouble, getToolID, imageClosed, imageOpened, imageUpdated, isThisTool, maybeUnregister, registerTool, registerTool, registerTool, run, unregisterTool, unregisterTool, unregisterTool, wasToolbarCleared, windowGainedFocus, windowLostFocusprotected Lasso.Mode mode
protected Lasso lasso
public String getToolName()
AbstractToolgetToolName in class AbstractToolpublic String getToolIcon()
AbstractToolgetToolIcon in class AbstractToolpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseClicked(MouseEvent e)
mouseClicked 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 setMode(Lasso.Mode mode)
public void setMode(String mode)
public void setMode(int mode)
public void toggleMode()
public void showOptionDialog()
ToolWithOptionsshowOptionDialog in interface ToolWithOptionsCopyright © 2015–2021 Fiji. All rights reserved.