Package org.onebusaway.webapp.gwt.oba_application.control.state

Examples of org.onebusaway.webapp.gwt.oba_application.control.state.SearchProgressState


    if (state instanceof SearchStartedState) {
      _progressPanel.setVisible(true);
      //_progressBar.setProgress(0);
      clear();
    } else if (state instanceof SearchProgressState) {
      SearchProgressState sps = (SearchProgressState) state;
      //_progressBar.setProgress(sps.getPercentComplete());
    } else if (state instanceof SearchCompleteState) {
      _progressPanel.setVisible(false);
    } else if (state instanceof PlacesChangedState) {
      PlacesChangedState pcs = (PlacesChangedState) state;
View Full Code Here


    double total = _searchGrid.size() * _queries.size();

    if (_gridIndex < _searchGrid.size() && _queryIndex < _queries.size()) {
      double processed = _queryIndex * _searchGrid.size() + _gridIndex;
      _events.fireModelChange(new StateEvent(new SearchProgressState(processed
          / total)));
      return false;
    }

    if (!_complete && _searchCount == total) {
View Full Code Here

TOP

Related Classes of org.onebusaway.webapp.gwt.oba_application.control.state.SearchProgressState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.