Class SpinnerItemListener.Adapter

  • All Implemented Interfaces:
    SpinnerItemListener
    Enclosing interface:
    SpinnerItemListener

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

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • itemInserted

        public void itemInserted​(Spinner spinner,
                                 int index)
        Deprecated.
        Description copied from interface: SpinnerItemListener
        Called when an item is inserted into a spinner's data.
        Specified by:
        itemInserted in interface SpinnerItemListener
        Parameters:
        spinner - The source of the event.
        index - Where the item was inserted.
      • itemsRemoved

        public void itemsRemoved​(Spinner spinner,
                                 int index,
                                 int count)
        Deprecated.
        Description copied from interface: SpinnerItemListener
        Called when items are removed from a spinner's data.
        Specified by:
        itemsRemoved in interface SpinnerItemListener
        Parameters:
        spinner - The source of this event.
        index - The start of the items that were removed.
        count - The number of items removed from there.
      • itemUpdated

        public void itemUpdated​(Spinner spinner,
                                int index)
        Deprecated.
        Description copied from interface: SpinnerItemListener
        Called when an item is updated within a spinner's data.
        Specified by:
        itemUpdated in interface SpinnerItemListener
        Parameters:
        spinner - The source of this event.
        index - The location of the item that was updated.
      • itemsCleared

        public void itemsCleared​(Spinner spinner)
        Deprecated.
        Description copied from interface: SpinnerItemListener
        Called when a spinner's data has been cleared.
        Specified by:
        itemsCleared in interface SpinnerItemListener
        Parameters:
        spinner - The source of this event.