| Package | com.mapquest |
| Class | public class DistanceUnits |
| Inheritance | DistanceUnits MQType |
| Property | Defined by | ||
|---|---|---|---|
| KILOMETERS : DistanceUnits
[static]
| DistanceUnits | ||
| MILES : DistanceUnits
[static]
| DistanceUnits | ||
| Method | Defined by | ||
|---|---|---|---|
|
DistanceUnits(code:int)
Construct a new DistanceUnits object.
| DistanceUnits | ||
![]() |
equals(type:*):Boolean
Checks the equality of the values of two MQType objects.
| MQType | |
|
getClassName():String
Returns the text name of this class.
| DistanceUnits | ||
|
getObjectVersion():Number
Returns the version of this class.
| DistanceUnits | ||
|
getValue():int
| DistanceUnits | ||
![]() |
intValue():int
| MQType | |
| KILOMETERS | property |
public static var KILOMETERS:DistanceUnits
| MILES | property |
public static var MILES:DistanceUnits
| DistanceUnits | () | constructor |
public function DistanceUnits(code:int)Construct a new DistanceUnits object.
Parameterscode:int |
| getClassName | () | method |
public override function getClassName():StringReturns the text name of this class.
ReturnsString — The text name of this class.
|
| getObjectVersion | () | method |
public function getObjectVersion():NumberReturns the version of this class.
ReturnsNumber — The version of this class.
|
| getValue | () | method |
public function getValue():int
Returns
int |