Interface TextAreaContentListener

    • Method Detail

      • paragraphInserted

        default void paragraphInserted​(TextArea textArea,
                                       int index)
        Called when a paragraph has been inserted into a text area's paragraph sequence.
        Parameters:
        textArea - The source of the event.
        index - The index at which the paragraph was inserted.
      • paragraphsRemoved

        default void paragraphsRemoved​(TextArea textArea,
                                       int index,
                                       Sequence<TextArea.Paragraph> removed)
        Called when paragraphs have been removed from a text area's paragraph sequence.
        Parameters:
        textArea - The source of the event.
        index - The starting index from which the paragraphs were removed.
        removed - The paragraphs that were removed.
      • textChanged

        default void textChanged​(TextArea textArea)
        Called when a text area's text has changed.
        Parameters:
        textArea - The source of the event.