public static class

MultiWordSuggestOracle.MultiWordSuggestion

extends Object
implements IsSerializable SuggestOracle.Suggestion
java.lang.Object
   ↳ com.google.gwt.user.client.ui.MultiWordSuggestOracle.MultiWordSuggestion

Class Overview

Suggestion class for MultiWordSuggestOracle.

Summary

Public Constructors
MultiWordSuggestOracle.MultiWordSuggestion()
Constructor used by RPC.
MultiWordSuggestOracle.MultiWordSuggestion(String replacementString, String displayString)
Constructor for MultiWordSuggestion.
Public Methods
String getDisplayString()
Gets the display string associated with this suggestion.
String getReplacementString()
Gets the replacement string associated with this suggestion.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.user.client.ui.SuggestOracle.Suggestion

Public Constructors

public MultiWordSuggestOracle.MultiWordSuggestion ()

Constructor used by RPC.

public MultiWordSuggestOracle.MultiWordSuggestion (String replacementString, String displayString)

Constructor for MultiWordSuggestion.

Parameters
replacementString the string to enter into the SuggestBox's text box if the suggestion is chosen
displayString the display string

Public Methods

public String getDisplayString ()

Gets the display string associated with this suggestion. The interpretation of the display string depends upon the value of its oracle's isDisplayStringHTML().

Returns
  • the display string for this suggestion

public String getReplacementString ()

Gets the replacement string associated with this suggestion. When this suggestion is selected, the replacement string will be entered into the SuggestBox's text box.

Returns
  • the string to be entered into the SuggestBox's text box when this suggestion is selected