public class MouseMaskDrawerTool extends MaskDrawerTool
Constructor and Description |
---|
MouseMaskDrawerTool(MaskDrawerPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
Cursor |
getToolCursor()
Cursor for the tool
|
void |
onToolActivate(ImageViewerPanelCanvas canvas)
Executed on activation of this tool
|
void |
onToolDeactivate(ImageViewerPanelCanvas canvas)
Executed on deactivation of this tool
|
boolean |
showGuides() |
boolean |
toolAllowLeftMouseDrag()
Returns true if left mouse dragging should be allowed
|
boolean |
toolIsActive(ImageViewerPanelCanvas canvas)
Returns true if the tool is active
|
getCategory, getCategoryIcon, getDescription, getIcon, getMaskDrawerPlugin, getName, getToolName, onHighlightColorChanged, postMaskChangedEvent, toolIsActive
beforeDraw, createPalettePanel, draw, getCurrentImage, getCurrentSlice, getCurrentSlicePosition, getViewerPanel, getWorkbench, onImageChanged, onSliceChanged, postprocessDraw, postprocessDrawForExport, uploadSliceToCanvas
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToggleButton, postprocessDraw
public MouseMaskDrawerTool(MaskDrawerPlugin plugin)
public Cursor getToolCursor()
ImageViewerPanelCanvasTool
public void onToolActivate(ImageViewerPanelCanvas canvas)
ImageViewerPanelCanvasTool
canvas
- the canvaspublic void onToolDeactivate(ImageViewerPanelCanvas canvas)
ImageViewerPanelCanvasTool
canvas
- the canvaspublic boolean toolAllowLeftMouseDrag()
ImageViewerPanelCanvasTool
public boolean toolIsActive(ImageViewerPanelCanvas canvas)
ImageViewerPanelCanvasTool
canvas
- the canvaspublic boolean showGuides()
showGuides
in class MaskDrawerTool
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.