org.onebusaway.webapp.gwt.oba_application.control
Class OneBusAwayStandardControlImpl

java.lang.Object
  extended by org.onebusaway.webapp.gwt.oba_application.control.CommonControlImpl
      extended by org.onebusaway.webapp.gwt.oba_application.control.OneBusAwayStandardControlImpl
All Implemented Interfaces:
CommonControl, OneBusAwayStandardControl

public class OneBusAwayStandardControlImpl
extends CommonControlImpl
implements OneBusAwayStandardControl


Field Summary
 
Fields inherited from class org.onebusaway.webapp.gwt.oba_application.control.CommonControlImpl
_contextHelper, _contextIndex, _localSearchProvider, _resultsModel, _stateEvents
 
Constructor Summary
OneBusAwayStandardControlImpl()
           
 
Method Summary
protected  TransitShedConstraintsBean getQueryConstraints()
           
protected  com.google.gwt.maps.client.geom.LatLng getQueryLocation()
          Protected Methods
protected  long getQueryTime()
           
 void handleContext(Context context)
          OneBusAwayStandardControl Interface
 void query(String query, String locationQuery, com.google.gwt.maps.client.geom.LatLng location, long time, TransitShedConstraintsBean constraints)
           
 void search(MinTransitTimeResult result)
           
 void setQueryLocation(com.google.gwt.maps.client.geom.LatLng point)
           
protected  void setQueryLocationLookupResult(Place place)
           
 void setQueryModel(QueryModel constraintsModel)
           
 
Methods inherited from class org.onebusaway.webapp.gwt.oba_application.control.CommonControlImpl
clearActiveSearchResult, filterResults, getDirectionsToPlace, getQueryModelHandler, setActiveSearchResult, setContextManager, setFilteredResultsModel, setLocalSearchProvider, setMinTransitTimeResultHandler, setPagedResultsModel, setResultsModel, setStateEvents, setTripPlanModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.onebusaway.webapp.gwt.oba_application.control.CommonControl
clearActiveSearchResult, filterResults, getDirectionsToPlace, setActiveSearchResult
 

Constructor Detail

OneBusAwayStandardControlImpl

public OneBusAwayStandardControlImpl()
Method Detail

setQueryModel

public void setQueryModel(QueryModel constraintsModel)

query

public void query(String query,
                  String locationQuery,
                  com.google.gwt.maps.client.geom.LatLng location,
                  long time,
                  TransitShedConstraintsBean constraints)
Specified by:
query in interface OneBusAwayStandardControl

handleContext

public void handleContext(Context context)
Description copied from class: CommonControlImpl
OneBusAwayStandardControl Interface

Specified by:
handleContext in interface CommonControl
Overrides:
handleContext in class CommonControlImpl

setQueryLocation

public void setQueryLocation(com.google.gwt.maps.client.geom.LatLng point)
Specified by:
setQueryLocation in interface CommonControl

search

public void search(MinTransitTimeResult result)
Specified by:
search in interface CommonControl

getQueryLocation

protected com.google.gwt.maps.client.geom.LatLng getQueryLocation()
Description copied from class: CommonControlImpl
Protected Methods

Specified by:
getQueryLocation in class CommonControlImpl

getQueryTime

protected long getQueryTime()
Specified by:
getQueryTime in class CommonControlImpl

getQueryConstraints

protected TransitShedConstraintsBean getQueryConstraints()
Specified by:
getQueryConstraints in class CommonControlImpl

setQueryLocationLookupResult

protected void setQueryLocationLookupResult(Place place)
Specified by:
setQueryLocationLookupResult in class CommonControlImpl


Copyright © 2011 OneBusAway. All Rights Reserved.