public class SuggestionItem
extends com.google.gwt.user.client.ui.Widget
implements com.google.gwt.user.client.ui.HasText
Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.core.client.Scheduler.ScheduledCommand |
cmd |
protected static java.lang.String |
SELECTED_ITEM_STYLENAME |
protected static java.lang.String |
STYLENAME |
protected JmixSuggestionFieldWidget.Suggestion |
suggestion |
protected SuggestionsContainer |
suggestionsContainer |
Constructor and Description |
---|
SuggestionItem(JmixSuggestionFieldWidget.Suggestion suggestion) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.Scheduler.ScheduledCommand |
getScheduledCommand() |
JmixSuggestionFieldWidget.Suggestion |
getSuggestion() |
java.lang.String |
getText() |
void |
setScheduledCommand(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd) |
void |
setText(java.lang.String text) |
protected void |
updateSelection(boolean selected) |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
protected static final java.lang.String STYLENAME
protected static final java.lang.String SELECTED_ITEM_STYLENAME
protected com.google.gwt.core.client.Scheduler.ScheduledCommand cmd
protected SuggestionsContainer suggestionsContainer
protected JmixSuggestionFieldWidget.Suggestion suggestion
public SuggestionItem(JmixSuggestionFieldWidget.Suggestion suggestion)
public JmixSuggestionFieldWidget.Suggestion getSuggestion()
public com.google.gwt.core.client.Scheduler.ScheduledCommand getScheduledCommand()
public void setScheduledCommand(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd)
public java.lang.String getText()
getText
in interface com.google.gwt.user.client.ui.HasText
public void setText(java.lang.String text)
setText
in interface com.google.gwt.user.client.ui.HasText
protected void updateSelection(boolean selected)