Package org.apache.pivot.wtk
Interface SuggestionPopupListener
-
- All Known Implementing Classes:
SuggestionPopupListener.Adapter
,SuggestionPopupListener.Listeners
,TerraSuggestionPopupSkin
public interface SuggestionPopupListener
Suggestion popup listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SuggestionPopupListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
SuggestionPopupListener.Listeners
Suggestion popup listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
listSizeChanged(SuggestionPopup suggestionPopup, int previousListSize)
Called when a suggestion popup's list size has changed.default void
suggestionDataChanged(SuggestionPopup suggestionPopup, List<?> previousSuggestionData)
Called when a suggestion popup's suggestions have changed.default void
suggestionRendererChanged(SuggestionPopup suggestionPopup, ListView.ItemRenderer previousSuggestionRenderer)
Called when a suggestion popup's item renderer has changed.
-
-
-
Method Detail
-
suggestionDataChanged
default void suggestionDataChanged(SuggestionPopup suggestionPopup, List<?> previousSuggestionData)
Called when a suggestion popup's suggestions have changed.- Parameters:
suggestionPopup
- The source of this event.previousSuggestionData
- The previous data that was being shown.
-
suggestionRendererChanged
default void suggestionRendererChanged(SuggestionPopup suggestionPopup, ListView.ItemRenderer previousSuggestionRenderer)
Called when a suggestion popup's item renderer has changed.- Parameters:
suggestionPopup
- The source of this event.previousSuggestionRenderer
- The previous item renderer.
-
listSizeChanged
default void listSizeChanged(SuggestionPopup suggestionPopup, int previousListSize)
Called when a suggestion popup's list size has changed.- Parameters:
suggestionPopup
- The source of this event.previousListSize
- The previous value of the visible window.
-
-