Class SuggestionEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getSelectedSuggestion

        public SuggestOracle.Suggestion getSelectedSuggestion()
        Gets the Suggestion object for the suggestion chosen by the user.
        Returns:
        the Suggestion object for the selected suggestion
      • toString

        public java.lang.String 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.
        Overrides:
        toString in class java.util.EventObject
        Returns:
        the string representation of this event object containing the source SuggestBox and the selected Suggestion