public class CubaListSelect
extends com.vaadin.v7.ui.ListSelect
com.vaadin.v7.ui.AbstractSelect.AbstractSelectTargetDetails, com.vaadin.v7.ui.AbstractSelect.AcceptItem, com.vaadin.v7.ui.AbstractSelect.CaptionChangeListener, com.vaadin.v7.ui.AbstractSelect.DefaultNewItemHandler, com.vaadin.v7.ui.AbstractSelect.Filtering, com.vaadin.v7.ui.AbstractSelect.ItemCaptionMode, com.vaadin.v7.ui.AbstractSelect.ItemDescriptionGenerator, com.vaadin.v7.ui.AbstractSelect.NewItemHandler, com.vaadin.v7.ui.AbstractSelect.TargetItemIs, com.vaadin.v7.ui.AbstractSelect.VerticalLocationIs
com.vaadin.v7.ui.AbstractField.FocusShortcut, com.vaadin.v7.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.v7.data.Container.Editor, com.vaadin.v7.data.Container.Filter, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeListener, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeListener, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.data.Container.Viewer
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
com.vaadin.v7.ui.Field.ValueChangeEvent
com.vaadin.v7.data.Buffered.SourceException
com.vaadin.v7.data.Property.Editor, com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener, com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.v7.data.Property.Transactional<T>, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewer
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Function<java.lang.Object,java.lang.String> |
itemCaptionGenerator |
protected boolean |
omitValueChange |
ITEM_CAPTION_MODE_EXPLICIT, ITEM_CAPTION_MODE_EXPLICIT_DEFAULTS_ID, ITEM_CAPTION_MODE_ICON_ONLY, ITEM_CAPTION_MODE_ID, ITEM_CAPTION_MODE_INDEX, ITEM_CAPTION_MODE_ITEM, ITEM_CAPTION_MODE_PROPERTY, itemIdMapper, items, resetValueToNullOnContainerChange
Constructor and Description |
---|
CubaListSelect() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChange(boolean repaintIsNotNeeded) |
protected void |
fireValueChangeEvent(boolean userOriginated) |
com.vaadin.server.ErrorMessage |
getErrorMessage() |
java.lang.String |
getItemCaption(java.lang.Object itemId) |
java.util.function.Function<java.lang.Object,java.lang.String> |
getItemCaptionGenerator() |
void |
setItemCaptionGenerator(java.util.function.Function<java.lang.Object,java.lang.String> itemCaptionGenerator) |
void |
setValueToComponent(java.lang.Object value) |
getColumns, getRows, paintContent, setColumns, setRows
addContainerProperty, addItem, addItem, addItems, addItems, addItemSetChangeListener, addListener, addListener, addPropertySetChangeListener, attach, changeVariables, containerItemSetChange, containerPropertySetChange, containsId, detach, fireItemSetChange, firePropertySetChange, getCaptionChangeListener, getContainerDataSource, getContainerProperty, getContainerPropertyIds, getItem, getItemCaptionMode, getItemCaptionPropertyId, getItemIcon, getItemIconPropertyId, getItemIds, getListeners, getNewItemHandler, getNullSelectionItemId, getState, getState, getType, getType, getValue, getVisibleItemIds, isDataSourceContainsValue, isEmpty, isMultiSelect, isNewItemsAllowed, isNullSelectionAllowed, isSelected, paintItem, readDesign, readItem, readItems, removeAllItems, removeContainerProperty, removeItem, removeItemSetChangeListener, removeListener, removeListener, removePropertySetChangeListener, sanitizeSelection, select, setContainerDataSource, setItemCaption, setItemCaptionMode, setItemCaptionPropertyId, setItemIcon, setItemIconPropertyId, setMultiSelect, setNewItemHandler, setNewItemsAllowed, setNullSelectionAllowed, setNullSelectionItemId, setValue, setValue, size, unselect, writeDesign, writeItem, writeItems
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, beforeClientResponse, clear, commit, discard, fieldValueEquals, fireReadOnlyStatusChange, focus, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getCustomAttributes, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, isBuffered, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isShowBufferedSourceException, isShowErrorForDisabledState, isValid, isValidationVisible, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInternalValue, setInvalidAllowed, setInvalidCommitted, setLocale, setPropertyDataSource, setReadOnly, setRequired, setRequiredError, setShowBufferedSourceException, setShowErrorForDisabledState, setTabIndex, setValidationVisible, setValue, setValueIgnoreReadOnly, shouldHideErrors, validate, validate, valueChange
getExplicitImmediateValue, isImmediate, setImmediate
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.util.function.Function<java.lang.Object,java.lang.String> itemCaptionGenerator
protected boolean omitValueChange
public void setValueToComponent(java.lang.Object value)
public java.util.function.Function<java.lang.Object,java.lang.String> getItemCaptionGenerator()
public void setItemCaptionGenerator(java.util.function.Function<java.lang.Object,java.lang.String> itemCaptionGenerator)
public java.lang.String getItemCaption(java.lang.Object itemId)
getItemCaption
in class com.vaadin.v7.ui.AbstractSelect
public com.vaadin.server.ErrorMessage getErrorMessage()
getErrorMessage
in class com.vaadin.v7.ui.AbstractField<java.lang.Object>
protected void fireValueChange(boolean repaintIsNotNeeded)
fireValueChange
in class com.vaadin.v7.ui.AbstractField<java.lang.Object>
protected void fireValueChangeEvent(boolean userOriginated)