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