org.apache.pivot.wtk
Class SuggestionPopupSelectionListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.SuggestionPopupSelectionListener.Adapter
All Implemented Interfaces:
SuggestionPopupSelectionListener
Enclosing interface:
SuggestionPopupSelectionListener

public static class SuggestionPopupSelectionListener.Adapter
extends Object
implements SuggestionPopupSelectionListener

Suggestion popup selection listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.SuggestionPopupSelectionListener
SuggestionPopupSelectionListener.Adapter
 
Constructor Summary
SuggestionPopupSelectionListener.Adapter()
           
 
Method Summary
 void selectedIndexChanged(SuggestionPopup suggestionPopup, int previousSelectedIndex)
          Called when a suggestion popup's selected index has changed.
 void selectedSuggestionChanged(SuggestionPopup suggestionPopup, Object previousSelectedSuggestion)
          Called when a suggestion popup's selected suggestion has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestionPopupSelectionListener.Adapter

public SuggestionPopupSelectionListener.Adapter()
Method Detail

selectedIndexChanged

public void selectedIndexChanged(SuggestionPopup suggestionPopup,
                                 int previousSelectedIndex)
Description copied from interface: SuggestionPopupSelectionListener
Called when a suggestion popup's selected index has changed.

Specified by:
selectedIndexChanged in interface SuggestionPopupSelectionListener

selectedSuggestionChanged

public void selectedSuggestionChanged(SuggestionPopup suggestionPopup,
                                      Object previousSelectedSuggestion)
Description copied from interface: SuggestionPopupSelectionListener
Called when a suggestion popup's selected suggestion has changed.

Specified by:
selectedSuggestionChanged in interface SuggestionPopupSelectionListener
Parameters:
suggestionPopup - The source of the event.
previousSelectedSuggestion - The item that was previously selected, or null if the previous selection cannot be determined.