Interface ListButtonSelectionListener

    • Method Detail

      • selectedIndexChanged

        default void selectedIndexChanged​(ListButton listButton,
                                          int previousSelectedIndex)
        Called when a list button's selected index has changed.
        Parameters:
        listButton - The source of the event.
        previousSelectedIndex - If the selection changed directly, contains the index that was previously selected. Otherwise, contains the current selection.
      • selectedItemChanged

        default void selectedItemChanged​(ListButton listButton,
                                         java.lang.Object previousSelectedItem)
        Called when a list button's selected item has changed.
        Parameters:
        listButton - The source of the event.
        previousSelectedItem - The item that was previously selected, or null if the previous selection cannot be determined.