Package adams.gui.visualization.core
Interface ColorGradientGeneratorWithFixedNumberOfColors
-
- All Superinterfaces:
ColorGradientGenerator
,Comparable
,Destroyable
,OptionHandler
- All Known Implementing Classes:
BiColorGenerator
,ColorProviderBasedColorGradientGenerator
,ConfusionMatrixColorGenerator
public interface ColorGradientGeneratorWithFixedNumberOfColors extends ColorGradientGenerator
Interface for color gradient generators that use a user-defined, fixed number of colors.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumColors()
Returns the number of gradient colors to use.String
numColorsTipText()
Returns the tip text for this property.void
setNumColors(int value)
Sets the number of gradient colors to use.-
Methods inherited from interface adams.gui.visualization.core.ColorGradientGenerator
compareTo, equals, generate, shallowCopy, shallowCopy
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
setNumColors
void setNumColors(int value)
Sets the number of gradient colors to use.- Parameters:
value
- the number of colors
-
getNumColors
int getNumColors()
Returns the number of gradient colors to use.- Returns:
- the number of colors
-
numColorsTipText
String numColorsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-