Package adams.gui.core
Interface CustomSearchListModel
-
- All Superinterfaces:
ListModel
- All Known Implementing Classes:
SearchableWrapperListModel
public interface CustomSearchListModel extends ListModel
Interface for list models that customize how the search identifies a match.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSearchMatch(SearchParameters params, int index)
Tests whether the search matches the specified element index.-
Methods inherited from interface javax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
-
-
-
-
Method Detail
-
isSearchMatch
boolean isSearchMatch(SearchParameters params, int index)
Tests whether the search matches the specified element index.- Parameters:
params
- the search parametersindex
- the element index of the underlying, unsorted model- Returns:
- true if the search matches this index
-
-