Interface TextInputControl.Content

    • Method Detail

      • get

        String get​(int start,
                   int end)
        Retrieves a subset of the content.
        Parameters:
        start - the start
        end - the end
        Returns:
        a subset of the content
      • insert

        void insert​(int index,
                    String text,
                    boolean notifyListeners)
        Inserts a sequence of characters into the content.
        Parameters:
        index - the index
        text - the text string
        notifyListeners - the notify listener flag
        Since:
        JavaFX 2.1
      • delete

        void delete​(int start,
                    int end,
                    boolean notifyListeners)
        Removes a sequence of characters from the content.
        Parameters:
        start - the start
        end - the end
        notifyListeners - the notify listener flag
        Since:
        JavaFX 2.1
      • length

        int length​()
        Returns the number of characters represented by the content.
        Returns:
        the number of characters