org.onebusaway.webapp.gwt.mobile_application.control
Class RecentStopsListViewModel

java.lang.Object
  extended by org.onebusaway.webapp.gwt.viewkit.ListViewModel
      extended by org.onebusaway.webapp.gwt.mobile_application.control.RecentStopsListViewModel
All Implemented Interfaces:
ContextAware

public class RecentStopsListViewModel
extends ListViewModel


Constructor Summary
RecentStopsListViewModel()
           
 
Method Summary
 ListViewRow getListViewRowForSectionAndRow(int sectionIndex, int rowIndex)
           
 int getNumberOfRowsInSection(int sectionIndex)
           
 int getNumberOfSections()
           
 void handleContext(List<String> path, Map<String,String> context)
           
 void onRowClick(ListViewController listViewController, int sectionIndex, int rowIndex)
           
 void retrieveContext(List<String> path, Map<String,String> context)
           
 void willReload()
           
 boolean willRespondToRowClicks()
           
 
Methods inherited from class org.onebusaway.webapp.gwt.viewkit.ListViewModel
didReload, getListViewController, setListViewController, setWillRespondToRowClicks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentStopsListViewModel

public RecentStopsListViewModel()
Method Detail

willReload

public void willReload()
Overrides:
willReload in class ListViewModel

getNumberOfSections

public int getNumberOfSections()
Overrides:
getNumberOfSections in class ListViewModel

getNumberOfRowsInSection

public int getNumberOfRowsInSection(int sectionIndex)
Overrides:
getNumberOfRowsInSection in class ListViewModel

getListViewRowForSectionAndRow

public ListViewRow getListViewRowForSectionAndRow(int sectionIndex,
                                                  int rowIndex)
Overrides:
getListViewRowForSectionAndRow in class ListViewModel

willRespondToRowClicks

public boolean willRespondToRowClicks()
Overrides:
willRespondToRowClicks in class ListViewModel

onRowClick

public void onRowClick(ListViewController listViewController,
                       int sectionIndex,
                       int rowIndex)
Overrides:
onRowClick in class ListViewModel

handleContext

public void handleContext(List<String> path,
                          Map<String,String> context)
Specified by:
handleContext in interface ContextAware
Overrides:
handleContext in class ListViewModel

retrieveContext

public void retrieveContext(List<String> path,
                            Map<String,String> context)
Specified by:
retrieveContext in interface ContextAware
Overrides:
retrieveContext in class ListViewModel


Copyright © 2011 OneBusAway. All Rights Reserved.