Class TextArea.ParagraphListener.Adapter

    • Constructor Detail

      • Adapter

        public Adapter()
    • Method Detail

      • textInserted

        public void textInserted​(TextArea.Paragraph paragraph,
                                 int index,
                                 int count)
        Description copied from interface: TextArea.ParagraphListener
        Called when text has been inserted into a paragraph.
        Specified by:
        textInserted in interface TextArea.ParagraphListener
        Parameters:
        paragraph - The source of the event.
        index - The index at which the text was inserted.
        count - The number of characters that were inserted.
      • textRemoved

        public void textRemoved​(TextArea.Paragraph paragraph,
                                int index,
                                int count)
        Description copied from interface: TextArea.ParagraphListener
        Called when characters have been removed from a paragraph.
        Specified by:
        textRemoved in interface TextArea.ParagraphListener
        Parameters:
        paragraph - The source of the event.
        index - The index from which the text was removed.
        count - The number of characters that were removed.