Class ListButtonItemListener.Adapter

  • All Implemented Interfaces:
    ListButtonItemListener
    Enclosing interface:
    ListButtonItemListener

    @Deprecated
    public static class ListButtonItemListener.Adapter
    extends java.lang.Object
    implements ListButtonItemListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    List button item listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • itemInserted

        public void itemInserted​(ListButton listButton,
                                 int index)
        Deprecated.
        Description copied from interface: ListButtonItemListener
        Called when an item is inserted into a list button's list data.
        Specified by:
        itemInserted in interface ListButtonItemListener
        Parameters:
        listButton - The list button that has changed.
        index - The index where the new data was inserted.
      • itemsRemoved

        public void itemsRemoved​(ListButton listButton,
                                 int index,
                                 int count)
        Deprecated.
        Description copied from interface: ListButtonItemListener
        Called when items are removed from a list button's list data.
        Specified by:
        itemsRemoved in interface ListButtonItemListener
        Parameters:
        listButton - The list button that has changed.
        index - The starting index of the removed data items.
        count - The number of items removed.
      • itemUpdated

        public void itemUpdated​(ListButton listButton,
                                int index)
        Deprecated.
        Description copied from interface: ListButtonItemListener
        Called when an item is updated within a list button's list data.
        Specified by:
        itemUpdated in interface ListButtonItemListener
        Parameters:
        listButton - The list button whose data has changed.
        index - The index into the data list of the updated item.