Interface TextPaneCharacterListener

    • Method Detail

      • charactersInserted

        default void charactersInserted​(TextPane textPane,
                                        int index,
                                        int count)
        Called when characters have been inserted into a text pane.
        Parameters:
        textPane - The text pane whose text has changed.
        index - The starting point of the text insertion.
        count - The count of characters inserted there.
      • charactersRemoved

        default void charactersRemoved​(TextPane textPane,
                                       int index,
                                       int count)
        Called when characters have been removed from a text pane.
        Parameters:
        textPane - The text pane whose text has changed.
        index - The starting point where text was removed.
        count - Number of characters removed starting from there.