public class ColorEnhancementSettings
extends java.lang.Object
implements java.lang.Cloneable
ColorEnhancementSettings
class stores palette and
enhancement function information for a color enhancement of a data
variable. The settings may be used to save and later restore
a color enhancement.ColorEnhancement
Constructor and Description |
---|
ColorEnhancementSettings(java.lang.String variableName,
Palette palette,
EnhancementFunction function)
Creates a new settings object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object.
|
EnhancementFunction |
getFunction()
Gets the color enhancement function.
|
java.lang.String |
getName()
Gets the variable name.
|
Palette |
getPalette()
Gets the color enhancement palette.
|
void |
setFunction(EnhancementFunction function)
Gets the color enhancement function.
|
void |
setPalette(Palette palette)
Sets the color enhancement palette.
|
public ColorEnhancementSettings(java.lang.String variableName, Palette palette, EnhancementFunction function)
variableName
- the data variable name.palette
- the color enhancement palette.function
- the color enhancement function.public java.lang.String getName()
public Palette getPalette()
public void setPalette(Palette palette)
public EnhancementFunction getFunction()
public void setFunction(EnhancementFunction function)
public java.lang.Object clone()
clone
in class java.lang.Object