public class MedLineView extends java.lang.Object implements PointMapItem.OnPointChangedListener
Modifier and Type | Class and Description |
---|---|
static interface |
MedLineView.ExternalMedevacProcessor
When a plugin wants to send a Casevac/Medevac digitally using a transport method other than CoT
(such as VMF), the plugin should register a runnable with this class.
|
Modifier and Type | Field and Description |
---|---|
protected static MedLineView |
_instance |
static java.lang.String |
PREF_MEDLINE_CALLSIGN |
static java.lang.String |
PREF_MEDLINE_FREQ |
static java.lang.String |
TAG |
Modifier | Constructor and Description |
---|---|
protected |
MedLineView(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
void |
addExternalMedevacProcessor(android.graphics.drawable.Drawable icon,
java.lang.String txt,
MedLineView.ExternalMedevacProcessor eflp)
Installs and external Medevac Processor.
|
java.lang.String |
getCallSign() |
java.lang.String |
getFreq() |
java.lang.String |
getHLZObstacles() |
static MedLineView |
getInstance(MapView mapView) |
java.lang.String |
getLineEightText() |
java.lang.String |
getLineFiveText() |
java.lang.String |
getLineFourOther() |
java.lang.String |
getLineFourText() |
java.lang.String |
getLineNineOther() |
java.lang.String |
getLineNineText() |
java.lang.String |
getLineOneText() |
java.lang.String |
getLineSevenOther() |
java.lang.String |
getLineSevenText() |
java.lang.String |
getLineSixText() |
java.lang.String |
getLineThreeText() |
java.lang.String |
getMarkedBy() |
PointMapItem |
getMarker() |
boolean |
getReopening() |
android.view.View |
getView() |
boolean |
hasExternalMedevacProcessors()
Returns true if the number of external Medevac processors is greater than 0.
|
void |
onPointChanged(PointMapItem item) |
void |
removeExternalMedevacProcessor(MedLineView.ExternalMedevacProcessor eflp)
Removes an External Medevac Processor.
|
void |
saveData() |
boolean |
setMarker(PointMapItem pmi) |
void |
shutdown(boolean save) |
void |
toggleReopening() |
public static final java.lang.String TAG
protected static MedLineView _instance
public static final java.lang.String PREF_MEDLINE_FREQ
public static final java.lang.String PREF_MEDLINE_CALLSIGN
protected MedLineView(MapView mapView)
public void addExternalMedevacProcessor(android.graphics.drawable.Drawable icon, java.lang.String txt, MedLineView.ExternalMedevacProcessor eflp)
icon
- the icon used when the selection dialog is shown.txt
- the text that appears under the icon.eflp
- the External Medevac Processor implementation.public boolean hasExternalMedevacProcessors()
public void removeExternalMedevacProcessor(MedLineView.ExternalMedevacProcessor eflp)
eflp
- the External Medevac Processor.
processor.public static MedLineView getInstance(MapView mapView)
public boolean getReopening()
public void toggleReopening()
public PointMapItem getMarker()
public boolean setMarker(PointMapItem pmi)
public void saveData()
public java.lang.String getLineOneText()
public java.lang.String getCallSign()
public java.lang.String getFreq()
public java.lang.String getLineThreeText()
public java.lang.String getLineFourText()
public java.lang.String getLineFourOther()
public java.lang.String getLineFiveText()
public java.lang.String getLineSixText()
public java.lang.String getLineSevenText()
public java.lang.String getLineSevenOther()
public java.lang.String getLineEightText()
public java.lang.String getLineNineText()
public java.lang.String getLineNineOther()
public java.lang.String getMarkedBy()
public java.lang.String getHLZObstacles()
public void onPointChanged(PointMapItem item)
onPointChanged
in interface PointMapItem.OnPointChangedListener
public android.view.View getView()
public void shutdown(boolean save)