Package ucar.visad.display
Class RGBConstantMaps
java.lang.Object
ucar.visad.display.ConstantMapComposite
ucar.visad.display.TupleOfConstantMaps
ucar.visad.display.RGBConstantMaps
- All Implemented Interfaces:
ConstantMaps
,Propertied
Provides support for a modifiable composite of adapted red, green, and blue,
VisAD ConstantMap-s.
Instances of this class have the following, bound, JavaBean
properties:
Name | Type | Access | Default | Description |
---|---|---|---|---|
color | Color |
set/get | white | The color of this instance |
- Version:
- $Revision: 1.7 $
- Author:
- Steven R. Emmerson
-
Nested Class Summary
Nested classes/interfaces inherited from interface ucar.visad.display.ConstantMaps
ConstantMaps.Visitor
-
Field Summary
FieldsFields inherited from interface ucar.visad.display.ConstantMaps
CONSTANT_MAP
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ucar.visad.display.ConstantMapComposite
accept, add, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getConstantMaps, remove, removePropertyChangeListener, removePropertyChangeListener, setDisplay
-
Field Details
-
COLOR
The name of the color property.- See Also:
-
-
Constructor Details
-
RGBConstantMaps
Constructs. The initial color is white.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
RGBConstantMaps
Constructs.- Parameters:
color
- The initial color for this instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
setColor
Sets the color of this instance.- Parameters:
color
- Color for this instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
getColor
Returns the color of this instance. This implementation just returns its argument.- Parameters:
color
- The color of this instance.- Returns:
- The color of this instance.
-