Class SearchLocation

java.lang.Object
docking.widgets.SearchLocation
Direct Known Subclasses:
TextComponentSearchLocation

public class SearchLocation extends Object
An object that describes a search result.
  • Constructor Details

    • SearchLocation

      public SearchLocation(int startIndexInclusive, int endIndexInclusive, String text)
    • SearchLocation

      public SearchLocation(int startIndexInclusive, int endIndexInclusive, String text, int lineNumber, SearchLocationContext context)
  • Method Details

    • getContext

      public SearchLocationContext getContext()
    • getLineNumber

      public int getLineNumber()
    • getCursorPosition

      public CursorPosition getCursorPosition()
    • getEndIndexInclusive

      public int getEndIndexInclusive()
    • getStartIndexInclusive

      public int getStartIndexInclusive()
    • contains

      public boolean contains(int pos)
    • getMatchLength

      public int getMatchLength()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fieldsToString

      protected String fieldsToString()