Interface FindResult


public interface FindResult
A result of the text search.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns true if the search is still in progress.
    default int
    Returns the number of the matches found at the moment or -1 when no matches found.
    default int
    Returns the index of the currently selected match or -1 when there are no matches.
  • Method Details

    • selectedMatch

      default int selectedMatch()
      Returns the index of the currently selected match or -1 when there are no matches.
    • numberOfMatches

      default int numberOfMatches()
      Returns the number of the matches found at the moment or -1 when no matches found.
    • isSearching

      default boolean isSearching()
      Returns true if the search is still in progress.