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

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

public class StopWithArrivalsAndDeparturesListViewModel
extends ListViewModel


Constructor Summary
StopWithArrivalsAndDeparturesListViewModel()
           
 
Method Summary
 ListViewRow getListViewRowForSectionAndRow(int sectionIndex, int rowIndex)
           
 int getNumberOfRowsInSection(int sectionIndex)
           
 int getNumberOfSections()
          ListViewModel Interface
 void onRowClick(ListViewController listViewController, int sectionIndex, int rowIndex)
           
 void setData(StopWithArrivalsAndDeparturesBean data)
           
 
Methods inherited from class org.onebusaway.webapp.gwt.viewkit.ListViewModel
didReload, getListViewController, handleContext, retrieveContext, setListViewController, setWillRespondToRowClicks, willReload, willRespondToRowClicks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWithArrivalsAndDeparturesListViewModel

public StopWithArrivalsAndDeparturesListViewModel()
Method Detail

setData

public void setData(StopWithArrivalsAndDeparturesBean data)

getNumberOfSections

public int getNumberOfSections()
ListViewModel Interface

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

onRowClick

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


Copyright © 2011 OneBusAway. All Rights Reserved.