Class JmixComboBoxWidget

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
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>
Direct Known Subclasses:
JmixSearchSelectWidget

public class JmixComboBoxWidget extends com.vaadin.client.ui.VComboBox implements com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.event.dom.client.HasFocusHandlers
  • 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 boolean
     
    protected com.vaadin.client.ui.ShortcutActionHandler
     
    protected int
     

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

    allowNewItems, CLASSNAME, 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
    add(com.google.gwt.user.client.ui.Widget w)
     
    com.google.gwt.event.shared.HandlerRegistration
    addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
     
    void
     
    com.vaadin.client.ui.ShortcutActionHandler
     
    protected boolean
    isAllowNewItemsOnInputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
     
    boolean
     
    protected boolean
     
    Iterator<com.google.gwt.user.client.ui.Widget>
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    void
    onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
     
    protected void
     
    boolean
    remove(com.google.gwt.user.client.ui.Widget w)
     
    void
    setEnabled(boolean enabled)
     
    void
    setShortcutActionHandler(com.vaadin.client.ui.ShortcutActionHandler handler)
     
    void
    setTabIndex(int tabIndex)
     

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

    bindAriaCaption, createSuggestionPopup, createTextBox, filterOptions, filterOptions, focus, getDataReceivedHandler, getEmptySelectionCaption, getNullSelectionItemShouldBeVisible, getSelectedCaption, getSubPartElement, getSubPartName, getTotalSuggestions, hasNewData, hasNextPage, inputFieldKeyDown, isWorkPending, minWidth, onBlur, onClick, onDetach, onFocus, onKeyDown, onMouseDown, onNullSelected, onSuggestionSelected, performSelection, popupKeyDown, reset, 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

    • shortcutHandler

      protected com.vaadin.client.ui.ShortcutActionHandler shortcutHandler
    • enabled

      protected boolean enabled
    • tabIndex

      protected int tabIndex
  • Constructor Details

    • JmixComboBoxWidget

      public JmixComboBoxWidget()
  • Method Details

    • 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.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 com.vaadin.client.ui.VComboBox
    • isAllowNewItemsOnInputFieldKeyDown

      protected boolean isAllowNewItemsOnInputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
      Overrides:
      isAllowNewItemsOnInputFieldKeyDown in class com.vaadin.client.ui.VComboBox
    • setShortcutActionHandler

      public void setShortcutActionHandler(com.vaadin.client.ui.ShortcutActionHandler handler)
    • getShortcutActionHandler

      public com.vaadin.client.ui.ShortcutActionHandler getShortcutActionHandler()
      Specified by:
      getShortcutActionHandler in interface com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner
    • add

      public void add(com.google.gwt.user.client.ui.Widget w)
      Specified by:
      add in interface com.google.gwt.user.client.ui.HasWidgets
    • clear

      public void clear()
      Specified by:
      clear in interface com.google.gwt.user.client.ui.HasWidgets
    • iterator

      public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
      Specified by:
      iterator in interface com.google.gwt.user.client.ui.HasWidgets
      Specified by:
      iterator in interface Iterable<com.google.gwt.user.client.ui.Widget>
    • remove

      public boolean remove(com.google.gwt.user.client.ui.Widget w)
      Specified by:
      remove in interface com.google.gwt.user.client.ui.HasWidgets
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.google.gwt.user.client.ui.HasEnabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface com.google.gwt.user.client.ui.HasEnabled
    • isReadonly

      protected boolean isReadonly()
    • refreshEnabledOrReadonly

      protected void refreshEnabledOrReadonly()
    • setTabIndex

      public void setTabIndex(int tabIndex)
    • addFocusHandler

      public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
      Specified by:
      addFocusHandler in interface com.google.gwt.event.dom.client.HasFocusHandlers