public class LorryOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
LorryOptions()
Constructor
|
LorryOptions(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
short |
getAxleWeight()
Returns the vehicle axle weight in 100 kg units (max 25.6 t).
|
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
boolean |
getDanger() |
boolean |
getExplosiveGoods() |
boolean |
getH2O() |
short |
getHeight()
Returns the vehicle height in 10 cm units (max 25.6 m).
|
short |
getLength()
Returns the length in 10 cm units (max 1638.4m).
|
boolean |
getTrailers() |
short |
getWeight()
Returns the vehicle weight in 100 kg units (max 409.6 t).
|
short |
getWidth()
Returns the vehicle width in 10 cm units (max 25.6 m).
|
boolean |
isLorry() |
void |
setAxleWeight(short axleWeight)
Sets the vehicle axle weight in 100 kg units (max 25.6 t).
|
void |
setDanger(boolean danger)
Sets whether streets which are forbidden for hazardous goods should be avoided
during route calculation.
|
void |
setExplosiveGoods(boolean explosiveGoods)
Sets whether streets which are forbidden for explosive goods should be avoided
during route calculation.
|
void |
setH2O(boolean h2O)
Sets whether streets which are forbidden for water polluting goods should be avoided
during route calculation.
|
void |
setHeight(short height)
Sets the vehicle height in 10 cm units (max 25.6 m).
|
void |
setLength(short length)
Sets the length in 10 cm units (max. 1638.4m).
|
void |
setTrailers(boolean trailers)
Sets whether streets which are forbidden for trailers should be avoided
during route calculation.
|
void |
setWeight(short weight)
Sets the vehicle weight in 100 kg units (max 409.6 t).
|
void |
setWidth(short width)
Sets the vehicle width in 10 cm units(max 25.6 m).
|
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public LorryOptions()
public LorryOptions(long cPtr, boolean cMemoryOwn)
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public short getWeight()
public void setWeight(short weight)
weight
- - vehicle the weight in 100 kg units.public short getLength()
public void setLength(short length)
length
- - the vehicle length in 10 cm units.public short getHeight()
public void setHeight(short height)
height
- - the vehicle height to set in 10 cm units.public short getWidth()
public void setWidth(short width)
width
- - the vehicle width to set in 10 cm units.public short getAxleWeight()
public void setAxleWeight(short axleWeight)
axleWeight
- - the vehicle axle weight to set in 100 kg units.public boolean getTrailers()
public void setTrailers(boolean trailers)
trailers
- - true if streets forbidden for trailers should be avoided.public boolean getExplosiveGoods()
public void setExplosiveGoods(boolean explosiveGoods)
explosiveGoods
- True if streets forbidden for explosive goods should
be avoided.public boolean getH2O()
public void setH2O(boolean h2O)
h2O
- True if streets forbidden for water polluting goods should
be avoided.public boolean getDanger()
public void setDanger(boolean danger)
danger
- True if streets forbidden for hazardous polluting goods should
be avoided.public boolean isLorry()
public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
public void delete()