ucar.unidata.view.geoloc
Class VertScaleInfo

java.lang.Object
  extended by ucar.unidata.view.geoloc.VertScaleInfo

public class VertScaleInfo
extends Object

A class to hold vertical scale settings for a VisAD display from the dialog box VertScaleDialog class. They are public member data to simply access.

Version:
$Revision: 1.6 $
Author:
IDV Development Team

Field Summary
 double maxVertScale
          maximum range of the vertical scale
 double minVertScale
          minimum range of the vertical scale
 Unit unit
          Units of the range values
 
Constructor Summary
VertScaleInfo(double min, double max)
          Construct a VertScaleInfo with the specified range.
VertScaleInfo(double min, double max, Unit unit)
          Construct a VertScaleInfo with the specified range..
 
Method Summary
 boolean equals(Object obj)
          is equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minVertScale

public double minVertScale
minimum range of the vertical scale


maxVertScale

public double maxVertScale
maximum range of the vertical scale


unit

public Unit unit
Units of the range values

Constructor Detail

VertScaleInfo

public VertScaleInfo(double min,
                     double max)
Construct a VertScaleInfo with the specified range. Unit is assumed to be meters.

Parameters:
min - minimum of the range
max - maximum of the range

VertScaleInfo

public VertScaleInfo(double min,
                     double max,
                     Unit unit)
Construct a VertScaleInfo with the specified range..

Parameters:
min - minimum of the range
max - maximum of the range
unit - unit of range values
Method Detail

equals

public boolean equals(Object obj)
is equals

Overrides:
equals in class Object
Parameters:
obj - object
Returns:
is equals