Class AbstractColorProviderPixelSelectorOverlay
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
-
- adams.flow.transformer.pixelselector.AbstractColorProviderPixelSelectorOverlay
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<AbstractPixelSelectorOverlay>
,SizeOfHandler
,ColorProviderHandler
,ImageOverlay
,Serializable
public abstract class AbstractColorProviderPixelSelectorOverlay extends AbstractPixelSelectorOverlay implements ColorProviderHandler
Overlay that uses a color provider for the painting the various elements of the overlay.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorProvider
m_ColorProvider
the color of the overlay.-
Fields inherited from class adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
m_Image
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractColorProviderPixelSelectorOverlay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
colorProviderTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.ColorProvider
getColorProvider()
Returns the color provider for the overlay.protected ColorProvider
getDefaultColorProvider()
Returns the default color provider.void
setColorProvider(ColorProvider value)
Sets the color provider for the overlay.-
Methods inherited from class adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
cleanUp, doPaintOverlay, getGlobalInfo, getImage, getSuggestedActions, globalInfo, overlayAdded, overlayRemoved, paintOverlay, setImage, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.gui.visualization.image.ImageOverlay
imageChanged
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
-
-
-
Field Detail
-
m_ColorProvider
protected ColorProvider m_ColorProvider
the color of the overlay.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
getDefaultColorProvider
protected ColorProvider getDefaultColorProvider()
Returns the default color provider.- Returns:
- the default color provider
-
setColorProvider
public void setColorProvider(ColorProvider value)
Sets the color provider for the overlay.- Specified by:
setColorProvider
in interfaceColorProviderHandler
- Parameters:
value
- the color provider
-
getColorProvider
public ColorProvider getColorProvider()
Returns the color provider for the overlay.- Specified by:
getColorProvider
in interfaceColorProviderHandler
- Returns:
- the color provider
-
colorProviderTipText
public String colorProviderTipText()
Returns the tip text for this property.- Specified by:
colorProviderTipText
in interfaceColorProviderHandler
- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-