Protégé-OWL 3.3.1

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

All Known Implementing Classes:
BasicFind, DefaultClassFind, DefaultIndividualFind, DefaultPropertyFind, HiddenClassFind, ResultsViewModelFind, ThreadedFind

public interface Find

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

Field Summary
static int CONTAINS
           
static int ENDS_WITH
           
static int EXACTLY_MATCHES
           
static String[] searchTypeString
           
static int STARTS_WITH
           
 
Method Summary
 void addResultListener(SearchListener l)
           
 void cancelSearch()
           
 String getDescription()
           
 String getLastSearch()
           
 OWLModel getModel()
           
 int getNumSearchProperties()
           
 int getResultCount()
           
 Set getResultResources()
           
 Map getResults()
          This method can be called to get the current results
 int getSearchType()
           
 String getSummaryText()
           
 boolean removeResultListener(SearchListener l)
           
 void startSearch(String s)
           
 void startSearch(String s, int searchType)
          This method should start the search.
 

Field Detail

STARTS_WITH

static final int STARTS_WITH
See Also:
Constant Field Values

CONTAINS

static final int CONTAINS
See Also:
Constant Field Values

ENDS_WITH

static final int ENDS_WITH
See Also:
Constant Field Values

EXACTLY_MATCHES

static final int EXACTLY_MATCHES
See Also:
Constant Field Values

searchTypeString

static final String[] searchTypeString
Method Detail

startSearch

void startSearch(String s)

startSearch

void startSearch(String s,
                 int searchType)
This method should start the search.

Parameters:
s - the string to search for
searchType -

cancelSearch

void cancelSearch()

getResults

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

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

getResultResources

Set getResultResources()

getResultCount

int getResultCount()

getLastSearch

String getLastSearch()

getSummaryText

String getSummaryText()

getDescription

String getDescription()

getModel

OWLModel getModel()

getNumSearchProperties

int getNumSearchProperties()

getSearchType

int getSearchType()

addResultListener

void addResultListener(SearchListener l)

removeResultListener

boolean removeResultListener(SearchListener l)

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.