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 Detail

      • isSearchMatch

        boolean isSearchMatch​(SearchParameters params,
                              int index)
        Tests whether the search matches the specified element index.
        Parameters:
        params - the search parameters
        index - the element index of the underlying, unsorted model
        Returns:
        true if the search matches this index