Interface JTextComponentOperator.TextChooser

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean checkPosition​(javax.swing.text.Document document, int offset)
      Checkes if position fits the criteria.
      java.lang.String getDescription()
      Returns a printable description of the criteria.
    • Method Detail

      • checkPosition

        boolean checkPosition​(javax.swing.text.Document document,
                              int offset)
        Checkes if position fits the criteria.
        Parameters:
        document - a document to be checked.
        offset - a checked position
        Returns:
        true if the position fits the criteria.
      • getDescription

        java.lang.String getDescription()
        Returns a printable description of the criteria.
        Returns:
        a description of this chooser.