Package rma.util
Class AspectShadingColorContour
java.lang.Object
rma.util.ColorContour
rma.util.AspectShadingColorContour
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,SingleColorContour
public class AspectShadingColorContour
extends ColorContour
implements Cloneable, Serializable, AsciiSerializable, SingleColorContour
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoid
clone()
getAttributes
(Map map) getColor()
protected ImageIcon
protected void
getRGB0
(double[] rgb, double val, double min, double max) protected double[]
getRGB0
(double val, double min, double max) protected void
read0
(String type, String param, BufferedReader input) protected void
setAttributes
(Map attributes) void
void
write
(BufferedWriter output) Methods inherited from class rma.util.ColorContour
addPropertyChangeListener, copyInto, createContourFromAttributes, getAttributes, getBrightness, getColor, getColor, getFieldObject, getInstanceForType, getMaxClipping, getMaxValue, getMinClipping, getMinValue, getRGB, getRGB, getSaturation, getScaleToClipping, getType, getTypes, read, removePropertyChangeSupport, setBrightness, setFieldObject, setMaxClipping, setMaxValue, setMinClipping, setMinValue, setSaturation, setScaleToClipping
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hec.io.FieldAccessor
getFieldObject, setFieldObject
-
Field Details
-
_color
-
_rgb
protected double[] _rgb
-
-
Constructor Details
-
AspectShadingColorContour
public AspectShadingColorContour()
-
-
Method Details
-
clone
- Overrides:
clone
in classColorContour
-
read0
- Overrides:
read0
in classColorContour
- Throws:
IOException
-
write
- Overrides:
write
in classColorContour
- Throws:
IOException
-
getAttributes
- Overrides:
getAttributes
in classColorContour
-
setAttributes
- Overrides:
setAttributes
in classColorContour
-
getColor
- Specified by:
getColor
in interfaceSingleColorContour
-
setColor
- Specified by:
setColor
in interfaceSingleColorContour
-
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
-
addExtras
- Overrides:
addExtras
in classColorContour
-
getColorIcon
-