Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 ddelon 1
package org.tela_botanica.client;
2
 
3
import java.util.Iterator;
4
import java.util.Vector;
5
 
6
public class AutoCompleteAsyncTextBoxListenerCollection extends Vector {
7
 
8
  private static final long serialVersionUID = -2767605614048989439L;
9
  /**
10
   * Fires a cellClicked event to all listeners.
11
   *
12
   * @param sender the widget sending the event
13
   * @param text the text sent
14
   */
6 ddelon 15
  public void fireTextBoxEnter(SourcesAutoCompleteAsyncTextBoxEvents sender,  String text, String value) {
2 ddelon 16
    for (Iterator it = iterator(); it.hasNext();) {
17
      AutoCompleteAsyncTextBoxListener listener = (AutoCompleteAsyncTextBoxListener) it.next();
6 ddelon 18
      listener.onValidate(sender, text, value);
2 ddelon 19
    }
20
  }
21
}