org.xnap.plugin.gift.net.event.listener
Interface SearchEventListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
GiFTSearch

public interface SearchEventListener
extends java.util.EventListener

SearchEventListener

Version:
CVS $Id: SearchEventListener.java,v 1.1 2003/10/05 00:20:32 squig Exp $
Author:
Tammo van Lessen

Method Summary
 SearchFilter getFilter()
          Return the SearchFilter and you will only be notified on SearchItemEvents concerning this SearchFilter.
 void searchFinished(SearchControlEvent evt)
          Gets called if a search is finished
 void searchItemReceived(SearchItemEvent evt)
          Gets called if a search result is received
 void searchStarted(SearchControlEvent evt)
          Gets called if a search is started
 

Method Detail

getFilter

SearchFilter getFilter()
Return the SearchFilter and you will only be notified on SearchItemEvents concerning this SearchFilter. Return null to get notified on all events

Returns:
SearchFilter or null to get all events

searchFinished

void searchFinished(SearchControlEvent evt)
Gets called if a search is finished

Parameters:
evt - search event

searchItemReceived

void searchItemReceived(SearchItemEvent evt)
Gets called if a search result is received

Parameters:
evt - search event

searchStarted

void searchStarted(SearchControlEvent evt)
Gets called if a search is started

Parameters:
evt - search event


Copyright © 2001-2005 XNap Team. All Rights Reserved.