Class AbstractSingleColorPixelSelectorOverlay
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
-
- adams.flow.transformer.pixelselector.AbstractSingleColorPixelSelectorOverlay
-
- All Implemented Interfaces:
CleanUpHandler,Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<AbstractPixelSelectorOverlay>,SizeOfHandler,ImageOverlay,Serializable
- Direct Known Subclasses:
ClassificationOverlay,RectangleOverlay,SimpleOverlay
public abstract class AbstractSingleColorPixelSelectorOverlay extends AbstractPixelSelectorOverlay
Overlay that uses a single, user-defined color.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Colorm_Colorthe 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 AbstractSingleColorPixelSelectorOverlay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcolorTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.ColorgetColor()Returns the color for the overlay.protected ColorgetDefaultColor()Returns the default color.voidsetColor(Color value)Sets the color 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, toCommandLine, toString
-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
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_Color
protected Color m_Color
the color of the overlay.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
getDefaultColor
protected Color getDefaultColor()
Returns the default color.- Returns:
- the default color
-
setColor
public void setColor(Color value)
Sets the color for the overlay.- Parameters:
value- the color
-
getColor
public Color getColor()
Returns the color for the overlay.- Returns:
- the color
-
colorTipText
public String colorTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-