public class JmixSearchSelectWidget extends JmixComboBoxWidget
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
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CLASSNAME |
protected static java.lang.String |
INPUT_STATE |
protected boolean |
keyboardNavigation |
protected boolean |
preventFilterAfterSelect |
protected int |
tabIndex |
enabled, shortcutHandler
allowNewItems, connector, currentPage, currentSuggestion, currentSuggestions, focused, initDone, inputPrompt, lastFilter, lastNewItemString, noKeyDownEvents, nullSelectionAllowed, nullSelectItem, pageLength, readonly, selectedOptionKey, serverSelectedKey, suggestionPopup, suggestionPopupMinWidth, suggestionPopupWidth, tb
Constructor and Description |
---|
JmixSearchSelectWidget() |
Modifier and Type | Method and Description |
---|---|
void |
applyNewSuggestions() |
void |
filterOptions(int page,
java.lang.String filter) |
protected boolean |
hasNewData() |
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(java.lang.String selectedKey,
boolean forceUpdateText,
boolean updatePromptAndSelectionIfMatchFound) |
protected void |
popupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) |
protected void |
reset() |
protected void |
updateEditState() |
void |
updateTabIndex(int tabIndex) |
add, addFocusHandler, clear, getShortcutActionHandler, isAllowNewItemsOnInputFieldKeyDown, isEnabled, isReadonly, iterator, refreshEnabledOrReadonly, remove, setEnabled, setShortcutActionHandler, setTabIndex
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
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
protected static final java.lang.String CLASSNAME
protected static final java.lang.String INPUT_STATE
protected boolean preventFilterAfterSelect
protected boolean keyboardNavigation
protected int tabIndex
public void filterOptions(int page, java.lang.String filter)
filterOptions
in class com.vaadin.client.ui.VComboBox
public void applyNewSuggestions()
protected boolean hasNewData()
hasNewData
in class com.vaadin.client.ui.VComboBox
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class JmixComboBoxWidget
public void updateTabIndex(int tabIndex)
public void onSuggestionSelected(com.vaadin.client.ui.VComboBox.ComboBoxSuggestion suggestion)
onSuggestionSelected
in class com.vaadin.client.ui.VComboBox
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick
in interface com.google.gwt.event.dom.client.ClickHandler
onClick
in class com.vaadin.client.ui.VComboBox
protected void inputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
inputFieldKeyDown
in class com.vaadin.client.ui.VComboBox
protected void updateEditState()
protected void popupKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
popupKeyDown
in class com.vaadin.client.ui.VComboBox
public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp
in interface com.google.gwt.event.dom.client.KeyUpHandler
onKeyUp
in class JmixComboBoxWidget
protected void performSelection(java.lang.String selectedKey, boolean forceUpdateText, boolean updatePromptAndSelectionIfMatchFound)
performSelection
in class com.vaadin.client.ui.VComboBox
protected void reset()
reset
in class com.vaadin.client.ui.VComboBox