public class CoTInfoBroadcastReceiver extends DropDownReceiver implements MapEventDispatcher.MapEventDispatchListener, DropDown.OnStateListener, android.view.View.OnClickListener, PointMapItem.OnPointChangedListener
| Modifier and Type | Field and Description |
|---|---|
protected android.content.SharedPreferences |
_prefs |
protected CoTInfoView |
civ |
static java.lang.String |
COTINFO_DETAILS |
protected PointMapItem |
targetPMI |
DROPDOWN_STATE_FULLSCREEN, DROPDOWN_STATE_NONE, DROPDOWN_STATE_NORMAL, FIVE_EIGTHS_HEIGHT, FIVE_EIGTHS_WIDTH, FIVE_TWELFTHS_HEIGHT, FIVE_TWELFTHS_WIDTH, FULL_HEIGHT, FULL_WIDTH, HALF_HEIGHT, HALF_WIDTH, HANDLE_THICKNESS_LANDSCAPE, HANDLE_THICKNESS_PORTRAIT, NO_HEIGHT, NO_WIDTH, QUARTER_SCREEN, SEVEN_SIXTEENTH_WIDTH, THIRD_HEIGHT, THIRD_WIDTH, THREE_EIGHTHS_HEIGHT, THREE_EIGHTHS_WIDTH, TWO_THIRDS_HEIGHT, TWO_THIRDS_WIDTH| Constructor and Description |
|---|
CoTInfoBroadcastReceiver(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
protected PointMapItem |
findTarget(java.lang.String targetUID) |
protected boolean |
onBackButtonPressed()
For a dropdown that has told the drop down manager to ignore the back button.
|
void |
onClick(android.view.View v) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onMapEvent(MapEvent event) |
void |
onPointChanged(PointMapItem item) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
static void |
promptSendAttachments(MapItem marker,
java.lang.String onReceiveAction,
java.lang.Runnable onApprove,
java.lang.Runnable onDeny)
Prompt the user with the option to include marker attachments
|
protected void |
sendCoT(java.lang.String uid) |
void |
setType(java.lang.String type) |
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onStateRequested, resize, setAssociationKey, setRetain, setSelected, setSelected, setSelected, setTransient, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, unhideDropDownabortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic static final java.lang.String COTINFO_DETAILS
protected CoTInfoView civ
protected PointMapItem targetPMI
protected final android.content.SharedPreferences _prefs
public CoTInfoBroadcastReceiver(MapView mapView)
public void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic void onPointChanged(PointMapItem item)
onPointChanged in interface PointMapItem.OnPointChangedListenerpublic void onMapEvent(MapEvent event)
onMapEvent in interface MapEventDispatcher.MapEventDispatchListenerpublic void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerprotected void sendCoT(java.lang.String uid)
public void setType(java.lang.String type)
protected boolean onBackButtonPressed()
DropDownReceiveronBackButtonPressed in class DropDownReceiverpublic void onDropDownSelectionRemoved()
onDropDownSelectionRemoved in interface DropDown.OnStateListenerpublic void onDropDownVisible(boolean v)
onDropDownVisible in interface DropDown.OnStateListenerpublic void onDropDownSizeChanged(double width,
double height)
onDropDownSizeChanged in interface DropDown.OnStateListenerpublic void onDropDownClose()
onDropDownClose in interface DropDown.OnStateListenerprotected PointMapItem findTarget(java.lang.String targetUID)
public static void promptSendAttachments(MapItem marker, java.lang.String onReceiveAction, java.lang.Runnable onApprove, java.lang.Runnable onDeny)
marker - Marker to sendonReceiveAction - Optional receive callbackonApprove - Callback to fire when including attachmentsonDeny - Callback to fire when not including attachments