Package noaa.coastwatch.render
Class ColorEnhancementSettings
java.lang.Object
noaa.coastwatch.render.ColorEnhancementSettings
- All Implemented Interfaces:
Cloneable
The
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.- Since:
- 3.1.7
- Author:
- Peter Hollemans
- See Also:
-
Constructor Summary
ConstructorDescriptionColorEnhancementSettings
(String variableName, Palette palette, EnhancementFunction function) Creates a new settings object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.Gets the color enhancement function.getName()
Gets the variable name.Gets the color enhancement palette.void
setFunction
(EnhancementFunction function) Gets the color enhancement function.void
setPalette
(Palette palette) Sets the color enhancement palette.
-
Constructor Details
-
ColorEnhancementSettings
Creates a new settings object.- Parameters:
variableName
- the data variable name.palette
- the color enhancement palette.function
- the color enhancement function.
-
-
Method Details
-
getName
Gets the variable name. -
getPalette
Gets the color enhancement palette. -
setPalette
Sets the color enhancement palette. -
getFunction
Gets the color enhancement function. -
setFunction
Gets the color enhancement function. -
clone
Creates and returns a copy of this object.
-