Interface ListSelection.Listener

  • Enclosing class:
    ListSelection<E>

    public static interface ListSelection.Listener
    A generic interface to respond to changes in selection that doesn't require including a particular GUI toolkit.
    • Method Detail

      • selectionChanged

        void selectionChanged​(int changeStart,
                              int changeEnd)
        Notifies this SelectionListener of a change in selection.
        Parameters:
        changeStart - The first zero-relative index affected by a change in selection.
        changeEnd - The last zero-relative index affected by a change in selection.