public static class DangerCloseCalculator.DangerCloseAlert extends WarningComponent.Alert
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlertGroupName()
Used to navigate within Overlay Manager when alert widget is clicked
|
double |
getBearing() |
java.lang.String |
getDirection() |
double |
getDistance()
returns the computed distance in meters between the hostile and friendly.
|
PointMapItem |
getFriendly() |
PointMapItem |
getHostile() |
java.lang.String |
getMessage()
Message to display in alert widget
|
int |
hashCode() |
boolean |
isValid() |
void |
onClick()
Invoked when alert widget is clicked, if this is the sole alert
Also invoked if alert is clicked in the overlay manager
|
java.lang.String |
toString() |
panTo
public PointMapItem getHostile()
public PointMapItem getFriendly()
public double getDistance()
public double getBearing()
public java.lang.String getDirection()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isValid()
public java.lang.String getMessage()
WarningComponent.Alert
getMessage
in class WarningComponent.Alert
public void onClick()
WarningComponent.Alert
onClick
in class WarningComponent.Alert
public java.lang.String getAlertGroupName()
WarningComponent.Alert
getAlertGroupName
in class WarningComponent.Alert
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object