public class VFilterSelect.FilterSelectSuggestion extends Object implements com.google.gwt.user.client.ui.SuggestOracle.Suggestion, com.google.gwt.user.client.Command
| Constructor and Description |
|---|
FilterSelectSuggestion(UIDL uidl)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
execute()
Executes a selection of this item.
|
String |
getDisplayString()
Gets the visible row in the popup as a HTML string.
|
String |
getIconUri()
Get the URI of the icon.
|
String |
getOptionKey()
Get the option key which represents the item on the server side.
|
String |
getReplacementString()
Get a string that represents this item.
|
String |
getStyle()
Gets the style set for this suggestion item.
|
public FilterSelectSuggestion(UIDL uidl)
uidl - The UIDL recieved from the serverpublic String getDisplayString()
getDisplayString in interface com.google.gwt.user.client.ui.SuggestOracle.Suggestionpublic String getReplacementString()
getReplacementString in interface com.google.gwt.user.client.ui.SuggestOracle.Suggestionpublic String getOptionKey()
public String getIconUri()
public String getStyle()
ComboBox.ItemStyleGenerator.
The returned style is prefixed by v-filterselect-item-.null to not apply any
custom style.public void execute()
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommandexecute in interface com.google.gwt.user.client.CommandCopyright © 2016 Vaadin Ltd. All rights reserved.