Class SuggestionItem
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
io.jmix.ui.widget.client.suggestionfield.menu.SuggestionItem
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasText
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsWidget
public class SuggestionItem
extends com.google.gwt.user.client.ui.Widget
implements com.google.gwt.user.client.ui.HasText
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.google.gwt.core.client.Scheduler.ScheduledCommand
protected static final String
protected static final String
protected JmixSuggestionFieldWidget.Suggestion
protected SuggestionsContainer
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gwt.core.client.Scheduler.ScheduledCommand
getText()
void
setScheduledCommand
(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd) void
protected void
updateSelection
(boolean selected) Methods inherited from class com.google.gwt.user.client.ui.Widget
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
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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
-
Field Details
-
STYLENAME
- See Also:
-
SELECTED_ITEM_STYLENAME
- See Also:
-
cmd
protected com.google.gwt.core.client.Scheduler.ScheduledCommand cmd -
suggestionsContainer
-
suggestion
-
-
Constructor Details
-
SuggestionItem
-
-
Method Details
-
getSuggestion
-
getScheduledCommand
public com.google.gwt.core.client.Scheduler.ScheduledCommand getScheduledCommand() -
setScheduledCommand
public void setScheduledCommand(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd) -
getText
- Specified by:
getText
in interfacecom.google.gwt.user.client.ui.HasText
-
setText
- Specified by:
setText
in interfacecom.google.gwt.user.client.ui.HasText
-
updateSelection
protected void updateSelection(boolean selected)
-