adams.flow.transformer.pixelselector
Class AbstractSingleColorPixelSelectorOverlay
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
adams.flow.transformer.pixelselector.AbstractSingleColorPixelSelectorOverlay
- All Implemented Interfaces:
- Debuggable, Destroyable, 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: 4776 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
|
Field Summary |
protected Color |
m_Color
the color of the overlay. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
m_Color
protected Color m_Color
- the color of the overlay.
AbstractSingleColorPixelSelectorOverlay
public AbstractSingleColorPixelSelectorOverlay()
defineOptions
public void defineOptions()
- Adds options to the internal list of options.
- Specified by:
defineOptions in interface OptionHandler- Overrides:
defineOptions in class AbstractOptionHandler
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.
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.