Interface CustomizableTool
-
- All Superinterfaces:
CleanUpHandler,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,Serializable,Tool
- All Known Implementing Classes:
AbstractShapeTool,AbstractToolWithParameterPanel,BucketFill,Eraser,Export,Filter,Pencil,PolygonFill,SwitchLabel
public interface CustomizableTool extends Tool
Interface for tools with options.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyOptions()Applies the options.voidapplyOptionsQuietly()Applies the options quietly, i.e., doesn't trigger an event.Map<String,Object>getCurrentOptions()Returns the current options as a map.voidsetInitialOptions(Map<String,Object> value)Supplies initial options to use.-
Methods inherited from interface adams.core.CleanUpHandler
cleanUp
-
Methods inherited from interface adams.core.GlobalInfoSupporter
globalInfo
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel, setLoggingLevel
-
Methods inherited from interface adams.core.logging.LoggingSupporter
getLogger, isLoggingEnabled
-
Methods inherited from interface adams.gui.visualization.segmentation.tool.Tool
activate, annotationsChanged, deactivate, getActiveColor, getActiveCombinedSubLayer, getActiveImage, getActiveOverlay, getCanvas, getCursor, getIcon, getKeyListener, getLayerManager, getMouseListener, getMouseMotionListener, getName, getOptionPanel, getPaintOperation, getZoom, hasActiveCombinedSubLayer, hasActiveOverlay, hasAnyActive, isAutomaticUndoEnabled, setCanvas
-
-
-
-
Method Detail
-
applyOptions
void applyOptions()
Applies the options.
-
applyOptionsQuietly
void applyOptionsQuietly()
Applies the options quietly, i.e., doesn't trigger an event.
-
setInitialOptions
void setInitialOptions(Map<String,Object> value)
Supplies initial options to use.- Parameters:
value- the options to use
-
-