Class TextPaneCharacterListener.Adapter

    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • charactersInserted

        public void charactersInserted​(TextPane textPane,
                                       int index,
                                       int count)
        Deprecated.
        Description copied from interface: TextPaneCharacterListener
        Called when characters have been inserted into a text pane.
        Specified by:
        charactersInserted in interface TextPaneCharacterListener
        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

        public void charactersRemoved​(TextPane textPane,
                                      int index,
                                      int count)
        Deprecated.
        Description copied from interface: TextPaneCharacterListener
        Called when characters have been removed from a text pane.
        Specified by:
        charactersRemoved in interface TextPaneCharacterListener
        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.