Interface ListButtonItemListener

    • Method Detail

      • itemInserted

        default void itemInserted​(ListButton listButton,
                                  int index)
        Called when an item is inserted into a list button's list data.
        Parameters:
        listButton - The list button that has changed.
        index - The index where the new data was inserted.
      • itemsRemoved

        default void itemsRemoved​(ListButton listButton,
                                  int index,
                                  int count)
        Called when items are removed from a list button's list data.
        Parameters:
        listButton - The list button that has changed.
        index - The starting index of the removed data items.
        count - The number of items removed.
      • itemUpdated

        default void itemUpdated​(ListButton listButton,
                                 int index)
        Called when an item is updated within a list button's list data.
        Parameters:
        listButton - The list button whose data has changed.
        index - The index into the data list of the updated item.
      • itemsCleared

        default void itemsCleared​(ListButton listButton)
        Called when a list button's list data has been cleared.
        Parameters:
        listButton - The list button whose data was cleared.
      • itemsSorted

        default void itemsSorted​(ListButton listButton)
        Called when a list button's list data is sorted.
        Parameters:
        listButton - The list button whose data has been sorted.