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.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
Modifier and TypeFieldDescriptionprotected 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
reset()
protected void
void
updateTabIndex
(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, setTabIndex
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
- See Also:
-
INPUT_STATE
- See Also:
-
preventFilterAfterSelect
protected boolean preventFilterAfterSelect -
tabIndex
protected int tabIndex
-
-
Constructor Details
-
JmixSearchSelectWidget
public JmixSearchSelectWidget()
-
-
Method Details
-
filterOptions
- Overrides:
filterOptions
in classcom.vaadin.client.ui.VComboBox
-
applyNewSuggestions
public void applyNewSuggestions() -
hasNewData
protected boolean hasNewData()- Overrides:
hasNewData
in classcom.vaadin.client.ui.VComboBox
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEvent
in interfacecom.google.gwt.user.client.EventListener
- Overrides:
onBrowserEvent
in classJmixComboBoxWidget
-
updateTabIndex
public void updateTabIndex(int tabIndex) -
onSuggestionSelected
public void onSuggestionSelected(com.vaadin.client.ui.VComboBox.ComboBoxSuggestion suggestion) - Overrides:
onSuggestionSelected
in classcom.vaadin.client.ui.VComboBox
-
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event) - Specified by:
onClick
in interfacecom.google.gwt.event.dom.client.ClickHandler
- Overrides:
onClick
in classcom.vaadin.client.ui.VComboBox
-
inputFieldKeyDown
protected void inputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) - Overrides:
inputFieldKeyDown
in classcom.vaadin.client.ui.VComboBox
-
updateEditState
protected void updateEditState() -
popupKeyDown
protected void popupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) - Overrides:
popupKeyDown
in classcom.vaadin.client.ui.VComboBox
-
onKeyUp
public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) - Specified by:
onKeyUp
in interfacecom.google.gwt.event.dom.client.KeyUpHandler
- Overrides:
onKeyUp
in classJmixComboBoxWidget
-
performSelection
protected void performSelection(String selectedKey, boolean forceUpdateText, boolean updatePromptAndSelectionIfMatchFound) - Overrides:
performSelection
in classcom.vaadin.client.ui.VComboBox
-
reset
protected void reset()- Overrides:
reset
in classcom.vaadin.client.ui.VComboBox
-