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
public final class SelectRangeScalarMap
- extends ScalarMapAdapter
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
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.
setRange
public void setRange(float min,
float max)
throws VisADException,
RemoteException
- Sets the data range.
- Parameters:
min - The minimum data value.max - The maximum data value.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setRange
public void setRange(Real min,
Real max)
throws VisADException,
RemoteException
- Sets the data range.
- Overrides:
setRange in class ScalarMapAdapter
- Parameters:
min - The minimum data value.max - The maximum data value.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setControl
protected void setControl()
throws VisADException,
RemoteException
- Sets the control of the underlying
ScalarMap. This is a
template method.
- Specified by:
setControl in class ScalarMapAdapter
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.