public final class SelectRangeScalarMap extends ScalarMapAdapter
Display.SelectRange
.
Instances of this class have the the JavaBean properties of the superclass.
SCALAR_MAP, SCALAR_TYPE
Modifier | Constructor and Description |
---|---|
protected |
SelectRangeScalarMap(visad.RealType realType,
DisplayAdapter display)
Constructs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setControl()
Sets the control of the underlying
ScalarMap . |
void |
setRange(float min,
float max)
Sets the data range.
|
void |
setRange(visad.Real min,
visad.Real max)
Sets the data range.
|
addScalarMapListener, compareTo, equals, getControl, getDisplayType, getScalarType, hashCode, removeScalarMapListener, scalarMapChange, setScalarType
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDisplayRealType, removePropertyChangeListener, removePropertyChangeListener
protected SelectRangeScalarMap(visad.RealType realType, DisplayAdapter display) throws visad.VisADException, java.rmi.RemoteException
realType
- The type of data to be mapped to the X-axis.display
- The adapted, VisAD display for rendering.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setRange(float min, float max) throws visad.VisADException, java.rmi.RemoteException
min
- The minimum data value.max
- The maximum data value.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setRange(visad.Real min, visad.Real max) throws visad.VisADException, java.rmi.RemoteException
setRange
in class ScalarMapAdapter
min
- The minimum data value.max
- The maximum data value.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected void setControl() throws visad.VisADException, java.rmi.RemoteException
ScalarMap
. This is a
template method.setControl
in class ScalarMapAdapter
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.