Class SuggestionsContainer

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
io.jmix.ui.widget.client.suggestionfield.menu.SuggestionsContainer
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.HasVisibility, com.google.gwt.user.client.ui.IsWidget

public class SuggestionsContainer extends com.google.gwt.user.client.ui.Widget
  • 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 final com.google.gwt.dom.client.Element
     
    protected final List<SuggestionItem>
     
    protected int
     
    protected SuggestionItem
     
    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
    void
     
    void
     
    protected SuggestionItem
    findItem(com.google.gwt.dom.client.Element element)
     
     
     
    void
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    protected void
     
    protected void
    preventEvent(com.google.gwt.user.client.Event event)
     
    void
    selectItem(int index)
     
    protected void
     
    void
     
    void
     
    protected void
     

    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, 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

    • selectItem

      public void selectItem(int index)
    • getItems

      public List<SuggestionItem> getItems()
    • selectItem

      protected void selectItem(SuggestionItem item)
    • updateContainerScroll

      protected void updateContainerScroll(SuggestionItem item)
    • addItem

      public void addItem(SuggestionItem item)
    • clearItems

      public void clearItems()
    • getSelectedItem

      public SuggestionItem getSelectedItem()
    • selectNextItem

      public void selectNextItem()
    • selectPrevItem

      public void selectPrevItem()
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.google.gwt.user.client.ui.Widget
    • findItem

      protected SuggestionItem findItem(com.google.gwt.dom.client.Element element)
    • preventEvent

      protected void preventEvent(com.google.gwt.user.client.Event event)
    • performItemCommand

      protected void performItemCommand(SuggestionItem item)
    • initPaging

      public void initPaging()