Interface TextPaneSelectionListener

    • Method Detail

      • selectionChanged

        void selectionChanged​(TextPane textPane,
                              int previousSelectionStart,
                              int previousSelectionLength)
        Called when a text pane's selection state has changed.
        Parameters:
        textPane - The source of this event.
        previousSelectionStart - The offset where the selection used to start.
        previousSelectionLength - What the selection length was previously.