Class JmixSearchSelectWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.vaadin.client.ui.VComboBox
io.jmix.ui.widget.client.combobox.JmixComboBoxWidget
io.jmix.ui.widget.client.searchselect.JmixSearchSelectWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.BlurHandler, com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.dom.client.MouseDownHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, com.vaadin.client.DeferredWorker, com.vaadin.client.Focusable, com.vaadin.client.ui.aria.HandlesAriaCaption, com.vaadin.client.ui.aria.HandlesAriaInvalid, com.vaadin.client.ui.aria.HandlesAriaRequired, com.vaadin.client.ui.Field, com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner, com.vaadin.client.ui.SubPartAware, Iterable<com.google.gwt.user.client.ui.Widget>

public class JmixSearchSelectWidget extends JmixComboBoxWidget
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.client.ui.VComboBox

    com.vaadin.client.ui.VComboBox.ComboBoxSuggestion, com.vaadin.client.ui.VComboBox.DataReceivedHandler, com.vaadin.client.ui.VComboBox.FilterSelectTextBox, com.vaadin.client.ui.VComboBox.SuggestionMenu, com.vaadin.client.ui.VComboBox.SuggestionPopup

    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

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     
    protected boolean
     
    protected boolean
     
    protected int
     

    Fields inherited from class io.jmix.ui.widget.client.combobox.JmixComboBoxWidget

    enabled, shortcutHandler

    Fields inherited from class com.vaadin.client.ui.VComboBox

    allowNewItems, connector, currentPage, currentSuggestion, currentSuggestions, focused, initDone, inputPrompt, lastFilter, lastNewItemString, noKeyDownEvents, nullSelectionAllowed, nullSelectItem, pageLength, readonly, selectedOptionKey, serverSelectedKey, suggestionPopup, suggestionPopupMinWidth, suggestionPopupWidth, tb

    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
    filterOptions(int page, String filter)
     
    protected boolean
     
    protected void
    inputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    void
    onClick(com.google.gwt.event.dom.client.ClickEvent event)
     
    void
    onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
     
    void
    onSuggestionSelected(com.vaadin.client.ui.VComboBox.ComboBoxSuggestion suggestion)
     
    protected void
    performSelection(String selectedKey, boolean forceUpdateText, boolean updatePromptAndSelectionIfMatchFound)
     
    protected void
    popupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
     
    protected void
     
    protected void
     
    void
    updateTabIndex(int tabIndex)
     

    Methods inherited from class com.vaadin.client.ui.VComboBox

    bindAriaCaption, createSuggestionPopup, createTextBox, filterOptions, focus, getDataReceivedHandler, getEmptySelectionCaption, getNullSelectionItemShouldBeVisible, getSelectedCaption, getSubPartElement, getSubPartName, getTotalSuggestions, hasNextPage, isWorkPending, minWidth, onBlur, onDetach, onFocus, onKeyDown, onMouseDown, onNullSelected, resetLastNewItemString, setAllowNewItems, setAriaInvalid, setAriaRequired, setEmptySelectionCaption, setPageLength, setPlaceholder, setSelectedCaption, setSelectedItemIcon, setStyleName, setStylePrimaryName, setSuggestionPopupWidth, setText, setTextInputAllowed, setTotalSuggestions, setWidth, updatePlaceholder, updateReadOnly, updateRootWidth, updateStyleNames, updateSuggestionPopupMinWidth

    Methods inherited from class com.google.gwt.user.client.ui.Composite

    claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, render, render, resolvePotentialElement, setWidget

    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, isOrWasAttached, 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, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.gwt.event.shared.HasHandlers

    fireEvent

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • CLASSNAME

      protected static final String CLASSNAME
      See Also:
    • INPUT_STATE

      protected static final String INPUT_STATE
      See Also:
    • preventFilterAfterSelect

      protected boolean preventFilterAfterSelect
    • keyboardNavigation

      protected boolean keyboardNavigation
    • tabIndex

      protected int tabIndex
  • Constructor Details

    • JmixSearchSelectWidget

      public JmixSearchSelectWidget()
  • Method Details

    • filterOptions

      public void filterOptions(int page, String filter)
      Overrides:
      filterOptions in class com.vaadin.client.ui.VComboBox
    • applyNewSuggestions

      public void applyNewSuggestions()
    • hasNewData

      protected boolean hasNewData()
      Overrides:
      hasNewData in class com.vaadin.client.ui.VComboBox
    • 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 JmixComboBoxWidget
    • updateTabIndex

      public void updateTabIndex(int tabIndex)
    • onSuggestionSelected

      public void onSuggestionSelected(com.vaadin.client.ui.VComboBox.ComboBoxSuggestion suggestion)
      Overrides:
      onSuggestionSelected in class com.vaadin.client.ui.VComboBox
    • onClick

      public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
      Specified by:
      onClick in interface com.google.gwt.event.dom.client.ClickHandler
      Overrides:
      onClick in class com.vaadin.client.ui.VComboBox
    • inputFieldKeyDown

      protected void inputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
      Overrides:
      inputFieldKeyDown in class com.vaadin.client.ui.VComboBox
    • updateEditState

      protected void updateEditState()
    • popupKeyDown

      protected void popupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
      Overrides:
      popupKeyDown in class com.vaadin.client.ui.VComboBox
    • onKeyUp

      public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
      Specified by:
      onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandler
      Overrides:
      onKeyUp in class JmixComboBoxWidget
    • performSelection

      protected void performSelection(String selectedKey, boolean forceUpdateText, boolean updatePromptAndSelectionIfMatchFound)
      Overrides:
      performSelection in class com.vaadin.client.ui.VComboBox
    • reset

      protected void reset()
      Overrides:
      reset in class com.vaadin.client.ui.VComboBox