com.isti.util
Interface MeasurementUnitsInformation

All Known Implementing Classes:
MeasurementUnits

public interface MeasurementUnitsInformation

Interface MeasurementUnitsInformation constants and methods for getting/setting the measurement units.


Field Summary
static int DEFAULT_MEASUREMENT_UNITS
          The default measurement units.
static int FEET
          Feet distance units.
static double FEET_TO_METER
          Feet to meters multiplier.
static int KILOM
          Kilometer distance units.
static double KM_TO_MILE
          Kilometers to miles multiplier.
static int METER
          Meter distance units.
static double METER_TO_FEET
          Meters to feet multiplier.
static double METER_TO_KM
          Meters to kilometers multiplier.
static double METER_TO_MILE
          Meters to miles multiplier.
static double MILE_TO_KM
          Miles to kilometers multiplier.
static double MILE_TO_METER
          Miles to meters multiplier.
static int MILES
          Miles distance units.
 
Method Summary
 int getMeasurementUnits()
          Gets the measurement units.
 void setMeasurementUnits(int mu)
          Sets the measurement units.
 

Field Detail

KILOM

public static final int KILOM
Kilometer distance units.

See Also:
Constant Field Values

METER

public static final int METER
Meter distance units.

See Also:
Constant Field Values

MILES

public static final int MILES
Miles distance units.

See Also:
Constant Field Values

FEET

public static final int FEET
Feet distance units.

See Also:
Constant Field Values

DEFAULT_MEASUREMENT_UNITS

public static final int DEFAULT_MEASUREMENT_UNITS
The default measurement units.

See Also:
Constant Field Values

FEET_TO_METER

public static final double FEET_TO_METER
Feet to meters multiplier.

See Also:
Constant Field Values

METER_TO_FEET

public static final double METER_TO_FEET
Meters to feet multiplier.

See Also:
Constant Field Values

MILE_TO_METER

public static final double MILE_TO_METER
Miles to meters multiplier.

See Also:
Constant Field Values

METER_TO_MILE

public static final double METER_TO_MILE
Meters to miles multiplier.

See Also:
Constant Field Values

MILE_TO_KM

public static final double MILE_TO_KM
Miles to kilometers multiplier.

See Also:
Constant Field Values

KM_TO_MILE

public static final double KM_TO_MILE
Kilometers to miles multiplier.

See Also:
Constant Field Values

METER_TO_KM

public static final double METER_TO_KM
Meters to kilometers multiplier.

See Also:
Constant Field Values
Method Detail

getMeasurementUnits

public int getMeasurementUnits()
Gets the measurement units.

Returns:
the measurement units.

setMeasurementUnits

public void setMeasurementUnits(int mu)
Sets the measurement units.

Parameters:
mu - the measurement units.