public class TruckWarnings
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 |
---|
TruckWarnings()
Constructor
|
TruckWarnings(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
TruckWarnings(long cPtr,
com.ptvag.navigation.sdk.NativeObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
boolean |
isLateralWind()
Returns true if lateral wind.
|
boolean |
isRiskOfGrounding()
Returns true ist risk of grounding.
|
boolean |
isSharpCurves()
Returns true if sharp curves.
|
boolean |
isSteepHillDownwards()
Returns true, if steep hill downwards.
|
boolean |
isSteepHillUpwards()
Returns true, if steep hill upwards.
|
boolean |
isTreeOverhang()
Returns true, if trees overhanging the street.
|
void |
setIsLateralWind(boolean lateralWind)
Sets the lateral wind flag.
|
void |
setIsRiskOfGrounding(boolean riskOfGrounding)
Sets the risk of grounding flag.
|
void |
setIsSharpCurves(boolean sharpCurves)
Sets the sharp curves flag.
|
void |
setIsSteepHillDownwards(boolean steepHill)
.
|
void |
setIsSteepHillUpwards(boolean steepHill)
Sets the steep hill upwards information.
|
void |
setIsTreeOverhang(boolean treeOverhanging)
Sets the tree overhang flag.
|
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public TruckWarnings()
public TruckWarnings(long cPtr, boolean cMemoryOwn)
public TruckWarnings(long cPtr, com.ptvag.navigation.sdk.NativeObject parent)
public boolean isSteepHillDownwards()
public void setIsSteepHillDownwards(boolean steepHill)
steepHill
- - true, if steep hill downwards - else false.public boolean isSteepHillUpwards()
public void setIsSteepHillUpwards(boolean steepHill)
steepHill
- - true, if steep hill upwards - else false.public boolean isRiskOfGrounding()
public void setIsRiskOfGrounding(boolean riskOfGrounding)
riskOfGrounding
- - the risk of grounding flag.public boolean isSharpCurves()
public void setIsSharpCurves(boolean sharpCurves)
sharpCurves
- - the sharp curves flag.public boolean isLateralWind()
public void setIsLateralWind(boolean lateralWind)
lateralWind
- - the lateral wind flag.public boolean isTreeOverhang()
public void setIsTreeOverhang(boolean treeOverhanging)
treeOverhanging
- - the tree overhang flag.public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()