org.onebusaway.webapp.gwt.viewkit
Class ListViewModel
java.lang.Object
org.onebusaway.webapp.gwt.viewkit.ListViewModel
- All Implemented Interfaces:
- ContextAware
- Direct Known Subclasses:
- BookmarksListViewModel, RecentStopsListViewModel, StopWithArrivalsAndDeparturesListViewModel
public class ListViewModel
- extends Object
- implements ContextAware
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListViewModel
public ListViewModel()
setListViewController
public void setListViewController(ListViewController listViewController)
getListViewController
public ListViewController getListViewController()
willReload
public void willReload()
didReload
public void didReload()
getNumberOfSections
public int getNumberOfSections()
getNumberOfRowsInSection
public int getNumberOfRowsInSection(int sectionIndex)
getListViewRowForSectionAndRow
public ListViewRow getListViewRowForSectionAndRow(int sectionIndex,
int rowIndex)
willRespondToRowClicks
public boolean willRespondToRowClicks()
onRowClick
public void onRowClick(ListViewController listViewController,
int sectionIndex,
int rowIndex)
handleContext
public void handleContext(List<String> path,
Map<String,String> context)
- Specified by:
handleContext
in interface ContextAware
retrieveContext
public void retrieveContext(List<String> path,
Map<String,String> context)
- Specified by:
retrieveContext
in interface ContextAware
setWillRespondToRowClicks
protected void setWillRespondToRowClicks(boolean willRespondToRowClicks)
Copyright © 2012 OneBusAway. All Rights Reserved.