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, windowLostFocus
protected Lasso.Mode mode
protected Lasso lasso
public String getToolName()
AbstractTool
getToolName
in class AbstractTool
public String getToolIcon()
AbstractTool
getToolIcon
in class AbstractTool
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public void setMode(Lasso.Mode mode)
public void setMode(String mode)
public void setMode(int mode)
public void toggleMode()
public void showOptionDialog()
ToolWithOptions
showOptionDialog
in interface ToolWithOptions
Copyright © 2015–2021 Fiji. All rights reserved.