public class CubaComboBox<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.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.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 |
---|
CubaComboBox() |
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, writeItem
addSelectionListener, getCustomAttributes, getSelectedItem, getValue, isReadOnly, isRequiredIndicatorVisible, keyToItem, setReadOnly, setRequiredIndicatorVisible, setSelectedItem, setSelectedItem, setValue
addDataGenerator, deserializeDeclarativeRepresentation, doReadDesign, doWriteDesign, focus, getDataCommunicator, getTabIndex, internalGetDataProvider, internalSetDataProvider, internalSetDataProvider, readDesign, readItem, removeDataGenerator, serializeDeclarativeRepresentation, setTabIndex, writeDesign, writeItems
addContextClickListener, addContextHelpIconClickListener, addListener, addStyleName, beforeClientResponse, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined
addAttachListener, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected com.vaadin.event.ActionManager shortcutsManager
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
com.vaadin.server.PaintException
protected com.vaadin.event.ActionManager getActionManager()
getActionManager
in class com.vaadin.ui.AbstractComponent
public void changeVariables(java.lang.Object source, java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables
in interface com.vaadin.server.VariableOwner
public com.vaadin.shared.Registration addShortcutListener(com.vaadin.event.ShortcutListener listener)
addShortcutListener
in class com.vaadin.ui.AbstractComponent
public void removeShortcutListener(com.vaadin.event.ShortcutListener listener)
removeShortcutListener
in class com.vaadin.ui.AbstractComponent
public void addActionHandler(com.vaadin.event.Action.Handler actionHandler)
addActionHandler
in interface com.vaadin.event.Action.Container
public void removeActionHandler(com.vaadin.event.Action.Handler actionHandler)
removeActionHandler
in interface com.vaadin.event.Action.Container
public boolean isSelected(V item)
isSelected
in class com.vaadin.ui.AbstractSingleSelect<V>
public java.util.function.BiFunction<V,V,java.lang.Boolean> getCustomValueEquals()