public class LinearUnit
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static LinearUnit |
create()
Creates a new LinearUnit object
|
double |
getDistance()
Specifies the value of the linear distance.
|
Units |
getUnits()
Specifies the unit type of the linear distance.
|
void |
setDistance(double distance)
Set the distance parameter.
|
void |
setUnits(Units units)
Set the units parameter.
|
public static LinearUnit create()
public final double getDistance()
public final void setDistance(double distance)
distance
- - Specifies the value of the linear distance.public final Units getUnits()
public final void setUnits(Units units)
units
- - Specifies the unit type of the linear distance.