Package com.google.gwt.search.client.impl

Examples of com.google.gwt.search.client.impl.GSearchCompleteCallback


   * @param handler The handler to add
   */
  public void addSearchResultsHandler(SearchResultsHandler handler) {
    if (handlers == null) {
      handlers = new SearchResultsHandlerCollection();
      impl.setSearchCompleteCallback(this, null, new GSearchCompleteCallback() {
        @Override
        public void onSearchResult() {
          JsArray<? extends Result> results = getResults();
          handlers.fireResult(Search.this, results);
        }
View Full Code Here

TOP

Related Classes of com.google.gwt.search.client.impl.GSearchCompleteCallback

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.