Package rma.util
Class GrayscaleColorContour
java.lang.Object
rma.util.ColorContour
rma.util.GrayscaleColorContour
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class rma.util.ColorContour
_bright, _max, _maxClip, _maxMinusMin, _min, _minClip, _sat, _scaleToClipping, _typeToClass, ASPECT_SHADING_TYPE, GRAYSCALE_TYPE, LINEAR_TYPE, mPropertyChangeSupport, PRECIPITATION_TYPE, RED_GREEN_BLUE_TYPE, TERRAIN_TYPE, WATER_DEPTH_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.protected void
getRGB0
(double[] rgb, double val, double min, double max) protected double[]
getRGB0
(double val, double min, double max) boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.Methods inherited from class rma.util.ColorContour
addExtras, addPropertyChangeListener, clone, copyInto, createContourFromAttributes, getAttributes, getAttributes, getBrightness, getColor, getColor, getInstanceForType, getMaxClipping, getMaxValue, getMinClipping, getMinValue, getRGB, getRGB, getSaturation, getScaleToClipping, getType, getTypes, read, read0, removePropertyChangeSupport, setAttributes, setBrightness, setMaxClipping, setMaxValue, setMinClipping, setMinValue, setSaturation, setScaleToClipping, write
-
Constructor Details
-
GrayscaleColorContour
public GrayscaleColorContour()
-
-
Method Details
-
getRGB0
protected double[] getRGB0(double val, double min, double max) - Specified by:
getRGB0
in classColorContour
-
getRGB0
protected void getRGB0(double[] rgb, double val, double min, double max) - Specified by:
getRGB0
in classColorContour
-
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Overrides:
getFieldObject
in classColorContour
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in interfaceFieldAccessor
- Overrides:
setFieldObject
in classColorContour
- Parameters:
fld
- The java field object representing the member field to be setfobj
- The data to set in that field- Returns:
- returns true if successful
-