Interface CanSelectText

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void select​(int from, int to)
      Selects text starting from index from (inclusive) and ending at index to (exclusive).
      void selectAll()
      Selects entire text in the component.
      void selectNone()
      Removes the current selection and selects no text.
    • Method Detail

      • selectAll

        void selectAll()
        Selects entire text in the component.
      • selectNone

        void selectNone()
        Removes the current selection and selects no text.
      • select

        void select​(int from,
                    int to)
        Selects text starting from index from (inclusive) and ending at index to (exclusive).
        Parameters:
        from - Starting index (inclusive).
        to - Ending index (exclusive).