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

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.gwt.core.client.Scheduler.ScheduledCommand
     
    protected static final String
     
    protected static final String
     
     
     

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gwt.core.client.Scheduler.ScheduledCommand
     
     
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getSuggestion

      public JmixSuggestionFieldWidget.Suggestion getSuggestion()
    • getScheduledCommand

      public com.google.gwt.core.client.Scheduler.ScheduledCommand getScheduledCommand()
    • setScheduledCommand

      public void setScheduledCommand(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd)
    • getText

      public String getText()
      Specified by:
      getText in interface com.google.gwt.user.client.ui.HasText
    • setText

      public void setText(String text)
      Specified by:
      setText in interface com.google.gwt.user.client.ui.HasText
    • updateSelection

      protected void updateSelection(boolean selected)