public class TrackHistoryDropDown extends DropDownReceiver implements TrackChangedListener, android.view.View.OnClickListener, android.widget.CompoundButton.OnCheckedChangeListener, DropDown.OnStateListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXPORT_TRACK_HISTORY |
static java.lang.String |
KML |
static int |
REQUEST_TYPE_GET_USER_TRACK |
static int |
REQUEST_TYPE_POST_USER_TRACK |
static java.lang.String |
ROUTE |
static java.lang.String |
SERVERTRACKSEXPORTED |
protected static java.lang.String |
TAG |
static java.lang.String |
TAKServer |
static java.lang.String |
TRACKSEXPORTED |
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 |
---|
TrackHistoryDropDown(MapView mapView,
MapGroup trackGroup) |
Modifier and Type | Method and Description |
---|---|
void |
closeAll() |
static void |
createNewTrackSegment(java.lang.String title,
android.content.SharedPreferences prefs,
MapView mapView,
boolean showDetails) |
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
static void |
exportTrack(MapView mapView,
TrackDetails track) |
android.content.SharedPreferences |
getRoutePrefs() |
CotPortListActivity.CotPort[] |
getServers()
Get all connected TAK Servers
|
MapGroup |
getTrackMapGroup() |
void |
onCheckedChanged(android.widget.CompoundButton cb,
boolean isChecked) |
void |
onClick(android.view.View v) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onReceive(android.content.Context c,
android.content.Intent intent) |
void |
onRequestConnectionError(Request request,
RequestManager.ConnectionError ce) |
void |
onRequestCustomError(Request request,
android.os.Bundle bundle) |
void |
onRequestDataError(Request request) |
void |
onRequestFinished(Request request,
android.os.Bundle resultData) |
void |
onTrackChanged(TrackDetails track)
Refresh the list view
|
static void |
promptNewTrack(android.content.SharedPreferences prefs,
MapView mapView,
boolean showDetails) |
void |
searchRemoteTracks(java.lang.String baseUrl,
java.lang.String callsign,
java.lang.String uid,
long searchStart,
long searchEnd) |
void |
setSelectAll(boolean bAllSelected) |
void |
showTrackDetailsView(TrackDetails track,
boolean bReQuery,
boolean hideOnClose) |
void |
showTrackDetailsView(TrackDetails track,
int trackDbId,
boolean bReQuery,
boolean hideOnClose) |
void |
showTrackListView(TrackUser user) |
void |
showTrackListView(TrackUser user,
int[] tracksIds) |
void |
showTrackListView(TrackUser user,
java.util.List<TrackPolyline> tracks,
boolean searchResults) |
void |
showTrackSearchView(TrackUser user,
boolean bServerSearch) |
_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, unhideDropDown
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
protected static final java.lang.String TAG
public static final java.lang.String TRACKSEXPORTED
public static final java.lang.String SERVERTRACKSEXPORTED
public static final java.lang.String EXPORT_TRACK_HISTORY
public static final java.lang.String ROUTE
public static final java.lang.String KML
public static final java.lang.String TAKServer
public static final int REQUEST_TYPE_GET_USER_TRACK
public static final int REQUEST_TYPE_POST_USER_TRACK
public void disposeImpl()
DropDownReceiver
disposeImpl
in class DropDownReceiver
public static void promptNewTrack(android.content.SharedPreferences prefs, MapView mapView, boolean showDetails)
public static void createNewTrackSegment(java.lang.String title, android.content.SharedPreferences prefs, MapView mapView, boolean showDetails)
public void onTrackChanged(TrackDetails track)
onTrackChanged
in interface TrackChangedListener
track
- public void showTrackListView(TrackUser user)
public void showTrackListView(TrackUser user, java.util.List<TrackPolyline> tracks, boolean searchResults)
public void showTrackListView(TrackUser user, int[] tracksIds)
public void showTrackDetailsView(TrackDetails track, int trackDbId, boolean bReQuery, boolean hideOnClose)
public void showTrackDetailsView(TrackDetails track, boolean bReQuery, boolean hideOnClose)
public void showTrackSearchView(TrackUser user, boolean bServerSearch)
public void closeAll()
public void onDropDownSelectionRemoved()
onDropDownSelectionRemoved
in interface DropDown.OnStateListener
public void onDropDownClose()
onDropDownClose
in interface DropDown.OnStateListener
public void onDropDownSizeChanged(double width, double height)
onDropDownSizeChanged
in interface DropDown.OnStateListener
public void onDropDownVisible(boolean v)
onDropDownVisible
in interface DropDown.OnStateListener
public static void exportTrack(MapView mapView, TrackDetails track)
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
public void onCheckedChanged(android.widget.CompoundButton cb, boolean isChecked)
onCheckedChanged
in interface android.widget.CompoundButton.OnCheckedChangeListener
public void onReceive(android.content.Context c, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void setSelectAll(boolean bAllSelected)
public MapGroup getTrackMapGroup()
public void searchRemoteTracks(java.lang.String baseUrl, java.lang.String callsign, java.lang.String uid, long searchStart, long searchEnd)
public void onRequestFinished(Request request, android.os.Bundle resultData)
public void onRequestConnectionError(Request request, RequestManager.ConnectionError ce)
public void onRequestDataError(Request request)
public void onRequestCustomError(Request request, android.os.Bundle bundle)
public CotPortListActivity.CotPort[] getServers()
public android.content.SharedPreferences getRoutePrefs()