public class SuggestionEvent
extends java.util.EventObject
SuggestOracle.Suggestion displayed by a SuggestBox.| Constructor and Description |
|---|
SuggestionEvent(SuggestBox sender,
SuggestOracle.Suggestion selectedSuggestion) |
| Modifier and Type | Method and Description |
|---|---|
SuggestOracle.Suggestion |
getSelectedSuggestion()
Gets the
Suggestion object for the suggestion chosen by the
user. |
java.lang.String |
toString()
Returns the string representation of this event object.
|
public SuggestionEvent(SuggestBox sender, SuggestOracle.Suggestion selectedSuggestion)
public SuggestOracle.Suggestion getSelectedSuggestion()
Suggestion object for the suggestion chosen by the
user.Suggestion object for the selected suggestionpublic java.lang.String toString()
toString in class java.util.EventObject