Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: jgift/search/SearchListener.java


1   /*
2    * This file is part of jgiFT.
3    * Copyright (c) 2003, Jason Shobe
4    *
5    * jgiFT is free software; you can redistribute it and/or modify
6    * it under the terms of the GNU General Public License as published by
7    * the Free Software Foundation; either version 2 of the License, or
8    * (at your option) any later version.
9    *
10   * jgiFT is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU General Public License for more details.
14   *
15   * You should have received a copy of the GNU General Public License
16   * along with jgiFT; if not, write to the Free Software
17   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   */
19  package jgift.search;
20  
21  import java.util.EventListener;
22  
23  /**
24   * Listener that is notified when a search result is received.
25   *
26   * @author  Jason Shobe
27   * @version $Revision: 1.1 $
28   */
29  public interface SearchListener extends EventListener {
30     /**
31      * Called when a search result is received.
32      *
33      * @param evt the search event.
34      */
35     public void resultReceived(SearchEvent evt);
36     
37     /**
38      * Called when a search is complete.
39      *
40      * @param evt the search event.
41      */
42     public void searchComplete(SearchEvent evt);
43  }
44