public class JmixComboBox<V>
extends com.vaadin.ui.ComboBox<V>
implements com.vaadin.event.Action.Container, com.vaadin.ui.LegacyComponent
com.vaadin.ui.ComboBox.CaptionFilter, com.vaadin.ui.ComboBox.DeclarativeStyleGenerator<T>, com.vaadin.ui.ComboBox.FetchItemsCallback<T>, com.vaadin.ui.ComboBox.NewItemHandler, com.vaadin.ui.ComboBox.NewItemProvider<T>com.vaadin.ui.AbstractListing.AbstractListingExtension<T>com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenercom.vaadin.server.Sizeable.Unit| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.BiFunction<V,V,java.lang.Boolean> |
customValueEquals |
protected com.vaadin.event.ActionManager |
shortcutsManager
Keeps track of the Actions added to this component, and manages the
painting and handling as well.
|
| Constructor and Description |
|---|
JmixComboBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionHandler(com.vaadin.event.Action.Handler actionHandler) |
com.vaadin.shared.Registration |
addShortcutListener(com.vaadin.event.ShortcutListener listener) |
void |
changeVariables(java.lang.Object source,
java.util.Map<java.lang.String,java.lang.Object> variables) |
protected com.vaadin.event.ActionManager |
getActionManager() |
java.util.function.BiFunction<V,V,java.lang.Boolean> |
getCustomValueEquals() |
boolean |
isSelected(V item) |
void |
paintContent(com.vaadin.server.PaintTarget target) |
void |
removeActionHandler(com.vaadin.event.Action.Handler actionHandler) |
void |
removeShortcutListener(com.vaadin.event.ShortcutListener listener) |
void |
setCustomValueEquals(java.util.function.BiFunction<V,V,java.lang.Boolean> customValueEquals) |
addBlurListener, addFocusListener, addValueChangeListener, attach, detach, filterChanged, getDataProvider, getEmptySelectionCaption, getItemCaptionGenerator, getItemIconGenerator, getNewItemHandler, getNewItemProvider, getPageLength, getPlaceholder, getPopupWidth, getState, getState, getStyleGenerator, isEmptySelectionAllowed, isScrollToSelectedItem, isTextInputAllowed, readItem, readItems, setDataProvider, setDataProvider, setDataProvider, setDataProvider, setEmptySelectionAllowed, setEmptySelectionCaption, setItemCaptionGenerator, setItemIconGenerator, setItems, setItems, setItems, setItems, setItems, setNewItemHandler, setNewItemProvider, setPageLength, setPlaceholder, setPopupWidth, setScrollToSelectedItem, setStyleGenerator, setTextInputAllowed, updateSelectedItemCaption, updateSelectedItemState, writeItemaddSelectionListener, getCustomAttributes, getSelectedItem, getValue, isReadOnly, isRequiredIndicatorVisible, keyToItem, setReadOnly, setRequiredIndicatorVisible, setSelectedItem, setSelectedItem, setValueaddDataGenerator, deserializeDeclarativeRepresentation, doReadDesign, doWriteDesign, focus, getDataCommunicator, getTabIndex, internalGetDataProvider, internalSetDataProvider, internalSetDataProvider, readDesign, readItem, removeDataGenerator, serializeDeclarativeRepresentation, setTabIndex, writeDesign, writeItemsaddContextClickListener, addContextHelpIconClickListener, addListener, addStyleName, beforeClientResponse, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setJTestId, setLocale, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setJTestId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected com.vaadin.event.ActionManager shortcutsManager
public void paintContent(com.vaadin.server.PaintTarget target)
throws com.vaadin.server.PaintException
paintContent in interface com.vaadin.ui.LegacyComponentcom.vaadin.server.PaintExceptionprotected com.vaadin.event.ActionManager getActionManager()
getActionManager in class com.vaadin.ui.AbstractComponentpublic void changeVariables(java.lang.Object source,
java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables in interface com.vaadin.server.VariableOwnerpublic com.vaadin.shared.Registration addShortcutListener(com.vaadin.event.ShortcutListener listener)
addShortcutListener in class com.vaadin.ui.AbstractComponentpublic void removeShortcutListener(com.vaadin.event.ShortcutListener listener)
removeShortcutListener in class com.vaadin.ui.AbstractComponentpublic void addActionHandler(com.vaadin.event.Action.Handler actionHandler)
addActionHandler in interface com.vaadin.event.Action.Containerpublic void removeActionHandler(com.vaadin.event.Action.Handler actionHandler)
removeActionHandler in interface com.vaadin.event.Action.Containerpublic boolean isSelected(V item)
isSelected in class com.vaadin.ui.AbstractSingleSelect<V>public java.util.function.BiFunction<V,V,java.lang.Boolean> getCustomValueEquals()