Package ucar.visad.display
Class SelectRangeScalarMap
java.lang.Object
ucar.visad.display.MapAdapter
ucar.visad.display.ScalarMapAdapter
ucar.visad.display.SelectRangeScalarMap
- All Implemented Interfaces:
Comparable
,Propertied
Provides support for adapting ScalarMap-s of
Display.SelectRange
.
Instances of this class have the the JavaBean properties of the superclass.
- Version:
- $Revision: 1.8 $
- Author:
- Steven R. Emmerson
-
Field Summary
Fields inherited from class ucar.visad.display.ScalarMapAdapter
SCALAR_MAP, SCALAR_TYPE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SelectRangeScalarMap
(RealType realType, DisplayAdapter display) Constructs. -
Method Summary
Methods inherited from class ucar.visad.display.ScalarMapAdapter
addScalarMapListener, compareTo, equals, getControl, getDisplayType, getScalarType, hashCode, removeScalarMapListener, scalarMapChange, setScalarType
Methods inherited from class ucar.visad.display.MapAdapter
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDisplayRealType, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
SelectRangeScalarMap
protected SelectRangeScalarMap(RealType realType, DisplayAdapter display) throws VisADException, RemoteException Constructs.- Parameters:
realType
- The type of data to be mapped to the X-axis.display
- The adapted, VisAD display for rendering.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
setRange
Sets the data range.- Parameters:
min
- The minimum data value.max
- The maximum data value.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setRange
Sets the data range.- Overrides:
setRange
in classScalarMapAdapter
- Parameters:
min
- The minimum data value.max
- The maximum data value.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setControl
Sets the control of the underlyingScalarMap
. This is a template method.- Specified by:
setControl
in classScalarMapAdapter
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-