public class RANGEinfo
extends java.lang.Object
Constructor and Description |
---|
RANGEinfo(ControlDescription relatedControl,
int controlIndex,
RangeUnitTypes unitType,
RangeTypes type,
int fixedLength) |
Modifier and Type | Method and Description |
---|---|
int |
getControlIndex() |
int |
getFixedLength() |
java.lang.Double |
getRangeMetres(java.lang.Double range)
Get the correct range in metres using
either the given value of the fixed value.
|
ControlDescription |
getRelatedControl() |
RangeTypes |
getType() |
RangeUnitTypes |
getUnitType() |
public RANGEinfo(ControlDescription relatedControl, int controlIndex, RangeUnitTypes unitType, RangeTypes type, int fixedLength)
public ControlDescription getRelatedControl()
public int getFixedLength()
public int getControlIndex()
public java.lang.Double getRangeMetres(java.lang.Double range)
range
- in form units (m, km, nmi)public RangeUnitTypes getUnitType()
public RangeTypes getType()