Class SuggestionEvent
Event object containing information about the selection of a
Suggestion displayed by a
SuggestBox.
Constructors
Methods
See Also
SuggestBox.addEventHandler(SuggestionHandler)
Constructor Detail
SuggestionEvent
Parameters
- sender
-
- selectedSuggestion
-
Method Detail
getSelectedSuggestion
Gets the
Suggestion
object for the suggestion chosen by the
user.
Return Value
the
Suggestion
object for the selected suggestion
toString
Returns the string representation of this event object. The string contains
the string representation of the SuggestBox from which the event originated
(the source), and the string representation of the Suggestion that was
selected.
Return Value
the string representation of this event object containing the
source SuggestBox and the selected Suggestion