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
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 boolean |
enabled |
protected com.vaadin.client.ui.ShortcutActionHandler |
shortcutHandler |
protected int |
tabIndex |
allowNewItems, CLASSNAME, connector, currentPage, currentSuggestion, currentSuggestions, focused, initDone, inputPrompt, lastFilter, lastNewItemString, noKeyDownEvents, nullSelectionAllowed, nullSelectItem, pageLength, readonly, selectedOptionKey, serverSelectedKey, suggestionPopup, suggestionPopupMinWidth, suggestionPopupWidth, tb
Constructor and Description |
---|
JmixComboBoxWidget() |
Modifier and Type | Method and 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 |
clear() |
com.vaadin.client.ui.ShortcutActionHandler |
getShortcutActionHandler() |
protected boolean |
isAllowNewItemsOnInputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) |
boolean |
isEnabled() |
protected boolean |
isReadonly() |
java.util.Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) |
protected void |
refreshEnabledOrReadonly() |
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) |
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
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 com.vaadin.client.ui.ShortcutActionHandler shortcutHandler
protected boolean enabled
protected int tabIndex
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
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 com.vaadin.client.ui.VComboBox
protected boolean isAllowNewItemsOnInputFieldKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
isAllowNewItemsOnInputFieldKeyDown
in class com.vaadin.client.ui.VComboBox
public void setShortcutActionHandler(com.vaadin.client.ui.ShortcutActionHandler handler)
public com.vaadin.client.ui.ShortcutActionHandler getShortcutActionHandler()
getShortcutActionHandler
in interface com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner
public void add(com.google.gwt.user.client.ui.Widget w)
add
in interface com.google.gwt.user.client.ui.HasWidgets
public void clear()
clear
in interface com.google.gwt.user.client.ui.HasWidgets
public java.util.Iterator<com.google.gwt.user.client.ui.Widget> iterator()
iterator
in interface com.google.gwt.user.client.ui.HasWidgets
iterator
in interface java.lang.Iterable<com.google.gwt.user.client.ui.Widget>
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove
in interface com.google.gwt.user.client.ui.HasWidgets
public boolean isEnabled()
isEnabled
in interface com.google.gwt.user.client.ui.HasEnabled
public void setEnabled(boolean enabled)
setEnabled
in interface com.google.gwt.user.client.ui.HasEnabled
protected boolean isReadonly()
protected void refreshEnabledOrReadonly()
public void setTabIndex(int tabIndex)
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
addFocusHandler
in interface com.google.gwt.event.dom.client.HasFocusHandlers