public class SuggestionEvent extends EventObject
SuggestOracle.Suggestion
displayed by a SuggestBox
.source
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. |
String |
toString()
Returns the string representation of this event object.
|
getSource
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 String toString()
Copyright © 2018. All rights reserved.