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 TypeMethodDescriptionvoidclone()getAttributes(Map map) getColor()protected ImageIconprotected voidgetRGB0(double[] rgb, double val, double min, double max) protected double[]getRGB0(double val, double min, double max) protected voidread0(String type, String param, BufferedReader input) protected voidsetAttributes(Map attributes) voidvoidwrite(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, setScaleToClippingMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hec.io.FieldAccessor
getFieldObject, setFieldObject
-
Field Details
-
_color
-
_rgb
protected double[] _rgb
-
-
Constructor Details
-
AspectShadingColorContour
public AspectShadingColorContour()
-
-
Method Details
-
clone
- Overrides:
clonein classColorContour
-
read0
- Overrides:
read0in classColorContour- Throws:
IOException
-
write
- Overrides:
writein classColorContour- Throws:
IOException
-
getAttributes
- Overrides:
getAttributesin classColorContour
-
setAttributes
- Overrides:
setAttributesin classColorContour
-
getColor
- Specified by:
getColorin interfaceSingleColorContour
-
setColor
- Specified by:
setColorin interfaceSingleColorContour
-
getRGB0
protected double[] getRGB0(double val, double min, double max) - Specified by:
getRGB0in classColorContour
-
getRGB0
protected void getRGB0(double[] rgb, double val, double min, double max) - Specified by:
getRGB0in classColorContour
-
addExtras
- Overrides:
addExtrasin classColorContour
-
getColorIcon
-