Interface CustomizableTool
-
- All Superinterfaces:
CleanUpHandler,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,Serializable,Tool
- All Known Implementing Classes:
AbstractToolWithParameterPanel,Annotator,Edit,Export,Move
public interface CustomizableTool extends Tool
Interface for tools that can apply 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.object.tools.Tool
activate, deactivate, getCanvas, getCursor, getIcon, getImage, getKeyListener, getMouseListener, getMouseMotionListener, getName, getOptionPanel, getZoom, hasImage, isModified, setCanvas, update
-
-
-
-
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
-
-