public class ViewshedDropDownReceiver extends DropDownReceiver implements PointMapItem.OnPointChangedListener, MapEventDispatcher.MapEventDispatchListener, MapItem.OnGroupChangedListener, android.view.View.OnClickListener
| Modifier and Type | Field and Description |
|---|---|
static double |
HEIGHT_ALONG_PATH |
static int |
MAX_RADIUS
max viewshed radius in meters
|
static java.lang.String |
TAG |
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 |
|---|
ViewshedDropDownReceiver(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.
|
void |
onClick(android.view.View v) |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onMapEvent(MapEvent event) |
void |
onPointChanged(PointMapItem m) |
void |
onReceive(android.content.Context ignoreCtx,
android.content.Intent intent) |
void |
setMarker(PointMapItem m)
Set the given marker to use as the reference point to calculate the viewshed
if there is valid DTED around the point
|
void |
setMarkerLine(PointMapItem m,
PointMapItem m2) |
void |
showViewshed(PointMapItem vsdMarker)
Broadcast the intent to calculate and show the Viewhsed
|
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onBackButtonPressed, 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 TAG
public static final int MAX_RADIUS
public static final double HEIGHT_ALONG_PATH
public ViewshedDropDownReceiver(MapView mapView)
public void onMapEvent(MapEvent event)
onMapEvent in interface MapEventDispatcher.MapEventDispatchListenerpublic void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic void onReceive(android.content.Context ignoreCtx,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic void onPointChanged(PointMapItem m)
onPointChanged in interface PointMapItem.OnPointChangedListenerpublic void setMarker(PointMapItem m)
m - - the marker to use as the reference pointpublic void setMarkerLine(PointMapItem m, PointMapItem m2)
public void showViewshed(PointMapItem vsdMarker)
public void onItemAdded(MapItem item, MapGroup group)
onItemAdded in interface MapItem.OnGroupChangedListenerpublic void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved in interface MapItem.OnGroupChangedListener