org.onebusaway.webapp.gwt.where_library.view
Class StopFinderPresenter
java.lang.Object
org.onebusaway.webapp.gwt.where_library.view.StopFinderPresenter
- All Implemented Interfaces:
- ContextListener, StopFinderConstants, StopFinderInterface
public class StopFinderPresenter
- extends Object
- implements StopFinderInterface, StopFinderConstants, ContextListener
Fields inherited from interface org.onebusaway.webapp.gwt.where_library.view.StopFinderConstants |
KEY_BLOCK_ID, KEY_LATLON, KEY_MODE, KEY_QUERY, KEY_QUERY_LATLON, KEY_ROUTE, KEY_SCHEDULE_TYPE, KEY_SPAN, KEY_STOP_SEQUENCE_ID, KEY_UNIQUE, MODE_ADDRESS, MODE_LOCATION, MODE_QUERY, MODE_ROUTE, MODE_ROUTES, MODE_STOP_IDENTIFICAION, STOP_KEY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopFinderPresenter
public StopFinderPresenter()
- Public Methods
StopFinderPresenter
public StopFinderPresenter(ContextManager contextManager)
setContextManager
public void setContextManager(ContextManager contextManager)
setWidget
public void setWidget(StopFinderWidget widget)
initialize
public void initialize()
getCoordinateBoundsAsContext
public Context getCoordinateBoundsAsContext(CoordinateBounds bounds)
setDefaultOperationHandler
public void setDefaultOperationHandler(OperationHandler handler)
onContextChanged
public void onContextChanged(Context context)
ContextListener
Interface
- Specified by:
onContextChanged
in interface ContextListener
getCurrentViewAsUrl
public String getCurrentViewAsUrl()
StopFinderInterface
- Specified by:
getCurrentViewAsUrl
in interface StopFinderInterface
queryCurrentView
public void queryCurrentView()
- Specified by:
queryCurrentView
in interface StopFinderInterface
query
public void query(String query)
- Specified by:
query
in interface StopFinderInterface
queryLocation
public void queryLocation(com.google.gwt.maps.client.geom.LatLng location,
int accuracy)
- Specified by:
queryLocation
in interface StopFinderInterface
queryRoute
public void queryRoute(String routeId)
- Specified by:
queryRoute
in interface StopFinderInterface
getStopQueryLink
public String getStopQueryLink(String stopId)
- Specified by:
getStopQueryLink
in interface StopFinderInterface
getDefaultOperationHandler
protected OperationHandler getDefaultOperationHandler()
- Protected Methods
Copyright © 2012 OneBusAway. All Rights Reserved.