adams.flow.transformer.pixelselector
Class AbstractColorProviderPixelSelectorOverlay

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
              extended by adams.flow.transformer.pixelselector.AbstractColorProviderPixelSelectorOverlay
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<AbstractPixelSelectorOverlay>, SizeOfHandler, ImageOverlay, Serializable

public abstract class AbstractColorProviderPixelSelectorOverlay
extends AbstractPixelSelectorOverlay

Overlay that uses a color provider for the painting the various elements of the overlay.

Version:
$Revision: 4776 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
protected  AbstractColorProvider 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_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractColorProviderPixelSelectorOverlay()
           
 
Method Summary
 String colorProviderTipText()
          Returns the tip text for this property.
 void defineOptions()
          Adds options to the internal list of options.
 AbstractColorProvider getColorProvider()
          Returns the color provider for the overlay.
protected  AbstractColorProvider getDefaultColorProvider()
          Returns the default color provider.
 void setColorProvider(AbstractColorProvider value)
          Sets the color provider for the overlay.
 
Methods inherited from class adams.flow.transformer.pixelselector.AbstractPixelSelectorOverlay
doPaintOverlay, getGlobalInfo, getImage, getSuggestedActions, globalInfo, paintOverlay, setImage, shallowCopy, shallowCopy
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_ColorProvider

protected AbstractColorProvider m_ColorProvider
the color of the overlay.

Constructor Detail

AbstractColorProviderPixelSelectorOverlay

public AbstractColorProviderPixelSelectorOverlay()
Method Detail

defineOptions

public void defineOptions()
Adds options to the internal list of options.

Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractOptionHandler

getDefaultColorProvider

protected AbstractColorProvider getDefaultColorProvider()
Returns the default color provider.

Returns:
the default color provider

setColorProvider

public void setColorProvider(AbstractColorProvider value)
Sets the color provider for the overlay.

Parameters:
value - the color provider

getColorProvider

public AbstractColorProvider getColorProvider()
Returns the color provider for the overlay.

Returns:
the color provider

colorProviderTipText

public String colorProviderTipText()
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.