org.onebusaway.webapp.gwt.viewkit
Class ListViewController

java.lang.Object
  extended by org.onebusaway.webapp.gwt.viewkit.ViewController
      extended by org.onebusaway.webapp.gwt.viewkit.ListViewController
All Implemented Interfaces:
ContextAware
Direct Known Subclasses:
BookmarksViewController, RecentStopsViewController, StopWithArrivalsAndDeparturesViewController

public class ListViewController
extends ViewController


Field Summary
 
Fields inherited from class org.onebusaway.webapp.gwt.viewkit.ViewController
_view
 
Constructor Summary
ListViewController()
           
 
Method Summary
 IndexPath getSelectionIndex()
           
 void handleContext(List<String> path, Map<String,String> context)
           
protected  void loadView()
           
 void refreshModel()
           
 void retrieveContext(List<String> path, Map<String,String> context)
           
 void setModel(ListViewModel model)
           
 void viewWillAppear()
          ViewController Interface
 
Methods inherited from class org.onebusaway.webapp.gwt.viewkit.ViewController
fireContextChangedEvent, getNavigationController, getNavigationItem, getTabBarItem, setNavigationController, viewDidAppear, viewDidDisappear, viewDidLoad, viewDidUnload, viewWillDisappear
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListViewController

public ListViewController()
Method Detail

setModel

public void setModel(ListViewModel model)

getSelectionIndex

public IndexPath getSelectionIndex()

refreshModel

public void refreshModel()

viewWillAppear

public void viewWillAppear()
ViewController Interface

Overrides:
viewWillAppear in class ViewController

loadView

protected void loadView()
Overrides:
loadView in class ViewController

handleContext

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

retrieveContext

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


Copyright © 2011 OneBusAway. All Rights Reserved.