public class MultiSelectListImpl<V> extends AbstractSelectList<java.util.Collection<V>,V,JmixMultiListSelect<V>> implements MultiSelectList<V>
SelectList.DoubleClickEvent<I>
HasValue.ValueChangeEvent<V>
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
HasContextHelp.ContextHelpIconClickEvent
metadataTools, optionCaptionProvider, optionsBinding
editable, parentEditableChangeListener, validators, VALIDATORS_LIST_INITIAL_CAPACITY
internalValue, uiTestIdsSupport, valueBinding
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
NAME
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Constructor and Description |
---|
MultiSelectListImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<V> |
convertToModel(java.util.Set<V> componentRawValue) |
protected java.util.Set<V> |
convertToPresentation(java.util.Collection<V> modelValue) |
protected JmixMultiListSelect<V> |
createComponent() |
protected boolean |
equalCollections(java.util.Collection<V> a,
java.util.Collection<V> b) |
protected boolean |
fieldValueEquals(java.util.Collection<V> value,
java.util.Collection<V> oldValue) |
protected void |
fireValueChange(java.util.Collection<V> oldValue,
java.util.Collection<V> value) |
protected java.util.Collection<V> |
getCollectionValue() |
protected java.util.Collection<V> |
getOldValue(java.util.Collection<V> newValue) |
boolean |
isEmpty() |
void |
setValue(java.util.Collection<V> value) |
addDoubleClickListener, afterPropertiesSet, focus, generateDefaultItemCaption, generateItemCaption, getOptionCaptionProvider, getOptions, getTabIndex, initComponent, onDoubleClick, setItemsToPresentation, setMetadataTools, setOptionCaptionProvider, setOptions, setTabIndex, valueBindingConnected
addValidator, attachValueChangeListener, getDatatypeConversionErrorMsg, getErrorMessage, getRequiredMessage, getValidators, isEditable, isRequired, isValid, removeValidator, setEditable, setEditableToComponent, setParent, setRequired, setRequiredMessage, setupComponentErrorProvider, triggerValidators, validate
addValueChangeListener, commit, componentValueChanged, discard, getValue, getValueSource, isBuffered, isModified, setBuffered, setUiTestId, setUiTestIdsSupport, setValueSource, setValueToPresentation, valueBindingActivated
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDoubleClickListener
getOptions, setOptions, setOptionsEnum, setOptionsList, setOptionsMap
getValueSource, setValueSource
addValueChangeListener, clear, getEmptyValue, getValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
addValidator, addValidators, getValidators, removeValidator
getRequiredMessage, isRequired, setRequired, setRequiredMessage
getOptionCaptionProvider, setOptionCaptionProvider
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
protected JmixMultiListSelect<V> createComponent()
createComponent
in class AbstractSelectList<java.util.Collection<V>,V,JmixMultiListSelect<V>>
protected java.util.Collection<V> convertToModel(@Nullable java.util.Set<V> componentRawValue)
convertToModel
in class AbstractValueComponent<JmixMultiListSelect<V>,java.util.Set<V>,java.util.Collection<V>>
protected boolean fieldValueEquals(@Nullable java.util.Collection<V> value, @Nullable java.util.Collection<V> oldValue)
fieldValueEquals
in class AbstractValueComponent<JmixMultiListSelect<V>,java.util.Set<V>,java.util.Collection<V>>
protected boolean equalCollections(@Nullable java.util.Collection<V> a, @Nullable java.util.Collection<V> b)
protected java.util.Set<V> convertToPresentation(@Nullable java.util.Collection<V> modelValue)
convertToPresentation
in class AbstractValueComponent<JmixMultiListSelect<V>,java.util.Set<V>,java.util.Collection<V>>
public void setValue(@Nullable java.util.Collection<V> value)
setValue
in interface HasValue<java.util.Collection<V>>
setValue
in class AbstractValueComponent<JmixMultiListSelect<V>,java.util.Set<V>,java.util.Collection<V>>
@Nullable protected java.util.Collection<V> getOldValue(@Nullable java.util.Collection<V> newValue)
protected java.util.Collection<V> getCollectionValue()
getCollectionValue
in class AbstractSelectList<java.util.Collection<V>,V,JmixMultiListSelect<V>>
protected void fireValueChange(@Nullable java.util.Collection<V> oldValue, @Nullable java.util.Collection<V> value)