public class RGBConstantMaps extends TupleOfConstantMaps
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 |
ConstantMaps.Visitor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLOR
The name of the color property.
|
CONSTANT_MAP
Constructor and Description |
---|
RGBConstantMaps()
Constructs.
|
RGBConstantMaps(java.awt.Color color)
Constructs.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(java.awt.Color color)
Returns the color of this instance.
|
void |
setColor(java.awt.Color color)
Sets the color of this instance.
|
accept, add, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getConstantMaps, remove, removePropertyChangeListener, removePropertyChangeListener, setDisplay
public static final java.lang.String COLOR
public RGBConstantMaps() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public RGBConstantMaps(java.awt.Color color) throws visad.VisADException, java.rmi.RemoteException
color
- The initial color for this instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setColor(java.awt.Color color) throws visad.VisADException, java.rmi.RemoteException
color
- Color for this instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public java.awt.Color getColor(java.awt.Color color)
color
- The color of this instance.