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>
-
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.SuggestionPopupNested 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.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected booleanprotected booleanprotected intFields inherited from class io.jmix.ui.widget.client.combobox.JmixComboBoxWidget
enabled, shortcutHandlerFields 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, tbFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfilterOptions(int page, String filter) protected booleanprotected voidinputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) voidonBrowserEvent(com.google.gwt.user.client.Event event) voidonClick(com.google.gwt.event.dom.client.ClickEvent event) voidonKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) voidonSuggestionSelected(com.vaadin.client.ui.VComboBox.ComboBoxSuggestion suggestion) protected voidperformSelection(String selectedKey, boolean forceUpdateText, boolean updatePromptAndSelectionIfMatchFound) protected voidpopupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) protected voidreset()protected voidvoidupdateTabIndex(int tabIndex) Methods inherited from class io.jmix.ui.widget.client.combobox.JmixComboBoxWidget
add, addFocusHandler, clear, getShortcutActionHandler, isAllowNewItemsOnInputFieldKeyDown, isEnabled, isReadonly, iterator, refreshEnabledOrReadonly, remove, setEnabled, setShortcutActionHandler, setTabIndexMethods 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, updateSuggestionPopupMinWidthMethods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, render, render, resolvePotentialElement, setWidgetMethods 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, unsinkEventsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEventMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
CLASSNAME
- See Also:
-
INPUT_STATE
- See Also:
-
preventFilterAfterSelect
protected boolean preventFilterAfterSelect -
tabIndex
protected int tabIndex
-
-
Constructor Details
-
JmixSearchSelectWidget
public JmixSearchSelectWidget()
-
-
Method Details
-
filterOptions
- Overrides:
filterOptionsin classcom.vaadin.client.ui.VComboBox
-
applyNewSuggestions
public void applyNewSuggestions() -
hasNewData
protected boolean hasNewData()- Overrides:
hasNewDatain classcom.vaadin.client.ui.VComboBox
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener- Overrides:
onBrowserEventin classJmixComboBoxWidget
-
updateTabIndex
public void updateTabIndex(int tabIndex) -
onSuggestionSelected
public void onSuggestionSelected(com.vaadin.client.ui.VComboBox.ComboBoxSuggestion suggestion) - Overrides:
onSuggestionSelectedin classcom.vaadin.client.ui.VComboBox
-
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event) - Specified by:
onClickin interfacecom.google.gwt.event.dom.client.ClickHandler- Overrides:
onClickin classcom.vaadin.client.ui.VComboBox
-
inputFieldKeyDown
protected void inputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) - Overrides:
inputFieldKeyDownin classcom.vaadin.client.ui.VComboBox
-
updateEditState
protected void updateEditState() -
popupKeyDown
protected void popupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) - Overrides:
popupKeyDownin classcom.vaadin.client.ui.VComboBox
-
onKeyUp
public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) - Specified by:
onKeyUpin interfacecom.google.gwt.event.dom.client.KeyUpHandler- Overrides:
onKeyUpin classJmixComboBoxWidget
-
performSelection
protected void performSelection(String selectedKey, boolean forceUpdateText, boolean updatePromptAndSelectionIfMatchFound) - Overrides:
performSelectionin classcom.vaadin.client.ui.VComboBox
-
reset
protected void reset()- Overrides:
resetin classcom.vaadin.client.ui.VComboBox
-