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.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 booleanprotected com.vaadin.client.ui.ShortcutActionHandlerprotected intFields 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, tbFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.google.gwt.user.client.ui.Widget w) com.google.gwt.event.shared.HandlerRegistrationaddFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler) voidclear()com.vaadin.client.ui.ShortcutActionHandlerprotected booleanisAllowNewItemsOnInputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) booleanprotected booleanIterator<com.google.gwt.user.client.ui.Widget>iterator()voidonBrowserEvent(com.google.gwt.user.client.Event event) voidonKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) protected voidbooleanremove(com.google.gwt.user.client.ui.Widget w) voidsetEnabled(boolean enabled) voidsetShortcutActionHandler(com.vaadin.client.ui.ShortcutActionHandler handler) voidsetTabIndex(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, 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
-
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:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener- Overrides:
onBrowserEventin 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 classcom.vaadin.client.ui.VComboBox
-
isAllowNewItemsOnInputFieldKeyDown
protected boolean isAllowNewItemsOnInputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) - Overrides:
isAllowNewItemsOnInputFieldKeyDownin classcom.vaadin.client.ui.VComboBox
-
setShortcutActionHandler
public void setShortcutActionHandler(com.vaadin.client.ui.ShortcutActionHandler handler) -
getShortcutActionHandler
public com.vaadin.client.ui.ShortcutActionHandler getShortcutActionHandler()- Specified by:
getShortcutActionHandlerin interfacecom.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner
-
add
public void add(com.google.gwt.user.client.ui.Widget w) - Specified by:
addin interfacecom.google.gwt.user.client.ui.HasWidgets
-
clear
public void clear()- Specified by:
clearin interfacecom.google.gwt.user.client.ui.HasWidgets
-
iterator
-
remove
public boolean remove(com.google.gwt.user.client.ui.Widget w) - Specified by:
removein interfacecom.google.gwt.user.client.ui.HasWidgets
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacecom.google.gwt.user.client.ui.HasEnabled
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfacecom.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:
addFocusHandlerin interfacecom.google.gwt.event.dom.client.HasFocusHandlers
-