|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int KILOM
public static final int METER
public static final int MILES
public static final int FEET
public static final int DEFAULT_MEASUREMENT_UNITS
public static final double FEET_TO_METER
public static final double METER_TO_FEET
public static final double MILE_TO_METER
public static final double METER_TO_MILE
public static final double MILE_TO_KM
public static final double KM_TO_MILE
public static final double METER_TO_KM
Method Detail |
public int getMeasurementUnits()
public void setMeasurementUnits(int mu)
mu
- the measurement units.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |