public class FloodFillMaskDrawer2DTool extends MaskDrawer2DTool implements MouseClickedEventListener
Constructor and Description |
---|
FloodFillMaskDrawer2DTool(MaskDrawerPlugin2D plugin) |
Modifier and Type | Method and Description |
---|---|
Cursor |
getToolCursor()
Cursor for the tool
|
void |
onComponentMouseClicked(MouseClickedEvent event) |
void |
onToolActivate(ImageViewerPanelCanvas2D canvas)
Executed on activation of this tool
|
void |
onToolDeactivate(ImageViewerPanelCanvas2D canvas)
Executed on deactivation of this tool
|
boolean |
showGuides() |
buildDock, buildRibbon, buildStatusBar, getDescription, getIcon, getMaskDrawerPlugin, getName, getPanelIcon, getPanelLocation, getPanelName, getToolName, onHighlightColorChanged, postMaskChangedEvent, toolIsActive
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, onSliceChanged, postprocessDraw, postprocessDrawForExport, uploadSliceToCanvas
buildCustomPanel, buildPanel, getCurrentImage, getCurrentImagePlus, getDataSource, getDesktopWorkbench, getViewerPanel, getWorkbench, isActive, isBuildingCustomPanel, onImageChanged, onOverlayAdded, onOverlayRemoved, onOverlaysCleared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToggleButton, postprocessDraw, toolAllowLeftMouseDrag, toolIsActive
public FloodFillMaskDrawer2DTool(MaskDrawerPlugin2D plugin)
public Cursor getToolCursor()
ImageViewerPanelCanvas2DTool
getToolCursor
in interface ImageViewerPanelCanvas2DTool
public void onToolActivate(ImageViewerPanelCanvas2D canvas)
ImageViewerPanelCanvas2DTool
onToolActivate
in interface ImageViewerPanelCanvas2DTool
canvas
- the canvaspublic void onToolDeactivate(ImageViewerPanelCanvas2D canvas)
ImageViewerPanelCanvas2DTool
onToolDeactivate
in interface ImageViewerPanelCanvas2DTool
canvas
- the canvaspublic boolean showGuides()
showGuides
in class MaskDrawer2DTool
public void onComponentMouseClicked(MouseClickedEvent event)
onComponentMouseClicked
in interface MouseClickedEventListener
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.