Package org.apache.pivot.wtk
Interface SuggestionPopupItemListener
-
- All Known Implementing Classes:
SuggestionPopupItemListener.Adapter
,SuggestionPopupItemListener.Listeners
public interface SuggestionPopupItemListener
Suggestion popup item listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SuggestionPopupItemListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
SuggestionPopupItemListener.Listeners
Suggestion popup item listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
itemInserted(SuggestionPopup suggestionPopup, int index)
Called when an item is inserted into the suggestion popup's data list.default void
itemsCleared(SuggestionPopup suggestionPopup)
Called when a list button's list data has been cleared.default void
itemsRemoved(SuggestionPopup suggestionPopup, int index, int count)
Called when items are removed from the suggestion popup's data list.default void
itemsSorted(SuggestionPopup suggestionPopup)
Called when a list button's list data is sorted.default void
itemUpdated(SuggestionPopup suggestionPopup, int index)
Called when an item is updated within a suggestion popup's data list.
-
-
-
Method Detail
-
itemInserted
default void itemInserted(SuggestionPopup suggestionPopup, int index)
Called when an item is inserted into the suggestion popup's data list.- Parameters:
suggestionPopup
- The source of this event.index
- The location where the item was inserted.
-
itemsRemoved
default void itemsRemoved(SuggestionPopup suggestionPopup, int index, int count)
Called when items are removed from the suggestion popup's data list.- Parameters:
suggestionPopup
- The source of this event.index
- The starting index where items were removed.count
- The number of items that were removed.
-
itemUpdated
default void itemUpdated(SuggestionPopup suggestionPopup, int index)
Called when an item is updated within a suggestion popup's data list.- Parameters:
suggestionPopup
- The source of this event.index
- Which item was updated.
-
itemsCleared
default void itemsCleared(SuggestionPopup suggestionPopup)
Called when a list button's list data has been cleared.- Parameters:
suggestionPopup
- The source of this event.
-
itemsSorted
default void itemsSorted(SuggestionPopup suggestionPopup)
Called when a list button's list data is sorted.- Parameters:
suggestionPopup
- The source of this event.
-
-