Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 6 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.client;

import com.google.gwt.user.client.ResponseTextHandler;


/**
 * Event listener interface for table events.
 */
public interface AutoCompleteAsyncTextBoxListener {

  /**
   * Fired when a AutoCompleteBox is validated (enter)
   * 
   * @param sender the widget sending the event
   * @param text : text selected 
   */
  void onValidate(SourcesAutoCompleteAsyncTextBoxEvents sender, String text, String value);
  
  /**
   * Fired when a AutoCompleteBox is completed (selection)
   * 
   * @param sender the widget sending the event
   * @param text : text selected 
   */

  void onComplete(ResponseTextHandler sender, String text, String value);
}