edu.stanford.smi.protegex.owl.ui.search.finder
Interface Find

All Superinterfaces:
ListModel, TableModel
All Known Implementing Classes:
DefaultFind

public interface Find
extends ListModel, TableModel

Author:
Nick Drummond, Medical Informatics Group, University of Manchester 03-Oct-2005

Method Summary
 String getDescription()
           
 String getLastSearch()
           
 OWLModel getModel()
           
 int getNumSearchProperties()
           
 Map getResults()
          This method can be called to get the current results
 String getSummaryText()
           
 void startSearch(String s)
          This method should start the search.
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

startSearch

public void startSearch(String s)
This method should start the search.

Parameters:
s - the string to search for

getResults

public Map getResults()
This method can be called to get the current results

Returns:
a map of Resources as keys with SearchResultItem objects as values

getLastSearch

public String getLastSearch()

getSummaryText

public String getSummaryText()

getDescription

public String getDescription()

getModel

public OWLModel getModel()

getNumSearchProperties

public int getNumSearchProperties()