Package loggerForms.propertyInfos
Class RANGEinfo
java.lang.Object
loggerForms.propertyInfos.RANGEinfo
-
Constructor Summary
ConstructorDescriptionRANGEinfo
(ControlDescription relatedControl, int controlIndex, RangeUnitTypes unitType, RangeTypes type, int fixedLength) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getRangeMetres
(Double range) Get the correct range in metres using either the given value of the fixed value.getType()
-
Constructor Details
-
RANGEinfo
public RANGEinfo(ControlDescription relatedControl, int controlIndex, RangeUnitTypes unitType, RangeTypes type, int fixedLength)
-
-
Method Details
-
getRelatedControl
- Returns:
- the relatedControl
-
getFixedLength
public int getFixedLength()- Returns:
- the fixedLength
-
getControlIndex
public int getControlIndex() -
getRangeMetres
Get the correct range in metres using either the given value of the fixed value.- Parameters:
range
- in form units (m, km, nmi)- Returns:
- range in metres
-
getUnitType
-
getType
-