workspace
Interface SearchableElement

All Known Implementing Classes:
FactoryRenderableBlock, RenderableBlock

public interface SearchableElement


Method Summary
 java.lang.String getKeyword()
          Returns the keyword representation of the element, which is used to determine whether it belongs to a particular query.
 void updateInSearchResults(boolean inSearchResults)
          Called by the search bar to update the SearchableElement of whether it currently belongs to the search bar's results.
 

Method Detail

getKeyword

java.lang.String getKeyword()
Returns the keyword representation of the element, which is used to determine whether it belongs to a particular query.

Returns:
the keyword representation of this Searchable.

updateInSearchResults

void updateInSearchResults(boolean inSearchResults)
Called by the search bar to update the SearchableElement of whether it currently belongs to the search bar's results. Guaranteed to be called on the Swing thread. It is the responsibility of this SearchableElement to update any necessary state and repaint any necessary components as a result of a call to this method.

Parameters:
inSearchResults - true when the SearchableElement is part of the current results.