org.datamanager.simpleton
Class TextSearchSimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.kernel.GuiSimpleton
              |
              +--org.datamanager.simpleton.TextSearchSimpleton

public class TextSearchSimpleton
extends GuiSimpleton

Search simpleton for text-based string searches of entities. Displays a query box with a search button and fires SearchRequestEventS.

Version:
$Revision: 1.16 $
Author:
Team Helium

Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
TextSearchSimpleton()
           
 
Method Summary
 String getTitle()
           
 void initializeGuiComponents()
           
 void process()
          Performs the work of this Simpleton.
 void search()
          search() generates a SearchRequestEvent containing the search terms.
 
Methods inherited from class org.datamanager.kernel.GuiSimpleton
dispose, exportComponent, exportComponent
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextSearchSimpleton

public TextSearchSimpleton()
Method Detail

process

public void process()
Description copied from class: Simpleton
Performs the work of this Simpleton. Simpleton implementation must override this class.

Specified by:
process in class Simpleton

initializeGuiComponents

public void initializeGuiComponents()

search

public void search()
search() generates a SearchRequestEvent containing the search terms. This event should be handled by a SearchHandlerSimpleton, which will search the pool with the appropriate compound AndConstraint. The SearchHandlerSimpleton then generates a SearchResultsFoundEvent containing the appropriate Entities. This Event should be handled by a SearchResultsDisplaySimpleton which will display the appropriate results.


getTitle

public String getTitle()


See the Helium Website