public class RouteListModel extends FilterMapOverlay.ListModelImpl implements android.view.View.OnClickListener, HierarchyListStateListener
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFrom
_config, _mapView, _overlay
asyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler
INVISIBLE, SEMI_VISIBLE, VISIBLE
Constructor and Description |
---|
RouteListModel(FilterMapOverlay overlay,
android.widget.BaseAdapter listener,
HierarchyListFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Unregister any listeners,
|
java.util.Set<HierarchyListItem> |
find(java.lang.String terms) |
java.lang.String |
getAssociationKey()
Get settings screen association key (see DropDownReceiver)
|
android.view.View |
getHeaderView()
Get the custom header view for this list
|
static android.content.Intent |
getRoutesIntent()
Get the intent used to show the Routes list under Overlay Manager
|
boolean |
onBackButton(HierarchyListAdapter adapter,
boolean deviceBack)
A back button was pressed while on the list
Event can be suppressed
|
void |
onClick(android.view.View v) |
protected void |
refreshImpl()
Refresh implementation to be run on a background thread
If your class doesn't need to refresh then override the filter
method above to avoid unnecessary threading
|
void |
updateActionBarState() |
disposeChildren, getDescendantCount, getFilter, getIconColor, getIconUri, getPreferredListIndex, getTitle, getUserObject, hideIfEmpty, isSupported, setVisible, toObjectOf
async, buildQueryParams, delete, disposeItems, findChild, getAction, getChildActions, getChildAt, getChildCount, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDescription, getDropDownSize, getExtraView, getExtraView, getFilter, getFooterView, getIconDrawable, getListItemView, getLocalData, getLocalData, getSorts, getUID, getVisibility, isChildSupported, isDisposed, isGetChildrenSupported, isMultiSelectSupported, isVisible, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCloseList, onListVisible, onOpenList
getVisibility
isVisible
delete, getDeleteActions
public RouteListModel(FilterMapOverlay overlay, android.widget.BaseAdapter listener, HierarchyListFilter filter)
public android.view.View getHeaderView()
HierarchyListItem2
getHeaderView
in interface HierarchyListItem2
getHeaderView
in class AbstractHierarchyListItem2
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
public boolean onBackButton(HierarchyListAdapter adapter, boolean deviceBack)
HierarchyListStateListener
onBackButton
in interface HierarchyListStateListener
adapter
- Overlay Manager adapterdeviceBack
- True if the device back button was pressed
False if the list's inline back button was pressedprotected void refreshImpl()
AbstractHierarchyListItem2
refreshImpl
in class FilterMapOverlay.ListModelImpl
public void dispose()
HierarchyListItem2
dispose
in interface HierarchyListItem2
dispose
in class FilterMapOverlay.ListModelImpl
public java.util.Set<HierarchyListItem> find(java.lang.String terms)
find
in interface Search
find
in class FilterMapOverlay.ListModelImpl
public java.lang.String getAssociationKey()
HierarchyListItem2
getAssociationKey
in interface HierarchyListItem2
getAssociationKey
in class AbstractHierarchyListItem2
public void updateActionBarState()
public static android.content.Intent getRoutesIntent()