Class CollectionFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,Set<P>>,P,V>
java.lang.Object
io.jmix.flowui.component.delegate.AbstractComponentDelegate<C>
io.jmix.flowui.component.delegate.AbstractValueComponentDelegate<C,Collection<V>,Set<P>>
io.jmix.flowui.component.delegate.AbstractFieldDelegate<C,Collection<V>,Set<P>>
io.jmix.flowui.component.delegate.CollectionFieldDelegate<C,P,V>
- All Implemented Interfaces:
ValueBindingDelegate<Collection<V>>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component("flowui_CollectionFieldDelegate")
@Scope("prototype")
public class CollectionFieldDelegate<C extends com.vaadin.flow.component.AbstractField<?,Set<P>>,P,V>
extends AbstractFieldDelegate<C,Collection<V>,Set<P>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.component.delegate.ValueBindingDelegate
ValueBindingDelegate.ValueBindingChangeEvent<T> -
Field Summary
Fields inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
applicationContext, conversionInvalid, datatype, errorMessage, explicitlyInvalid, immediateRequiredValidationEnabled, messages, metadataTools, PROPERTY_INVALID, requiredMessage, statusChangeHandler, toModelConverter, uiComponentProperties, validatorsFields inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
valueBindingFields inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
component -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToModel(Set<V> presentationValue) convertToModel(Set<V> presentationValue, @Nullable Stream<V> options) protected Collection<V> convertToModelInternal(Stream<V> items) convertToPresentation(@Nullable Collection<V> modelValue) protected AbstractValueBinding<Collection<V>> createValueBinding(ValueSource<Collection<V>> valueSource) booleanequalCollections(@Nullable Collection<V> a, @Nullable Collection<V> b) Methods inherited from class io.jmix.flowui.component.delegate.AbstractFieldDelegate
addUnparsableChangeListener, addValidator, applyDefaultValueFormat, checkUnparseableValue, executeValidators, formatMessage, getComponentValue, getDatatype, getErrorMessage, getMessage, getRequiredErrorMessage, getRequiredMessage, initComponent, isEmptyAndRequired, isInvalid, isInvalidInternal, setApplicationContext, setComponentRequiredErrorState, setConversionInvalid, setDatatype, setErrorMessage, setInvalid, setInvalidInternal, setMessages, setMetadataTools, setRequiredMessage, setStatusChangeHandler, setToModelConverter, setUiComponentProperties, updateInvalidState, updateRequiredState, validatorsPassedMethods inherited from class io.jmix.flowui.component.delegate.AbstractValueComponentDelegate
addValueBindingChangeListener, getEventBus, getValueBinding, getValueSource, setupProperties, setValueSource, valueBindingChangedMethods inherited from class io.jmix.flowui.component.delegate.AbstractComponentDelegate
getComponent
-
Constructor Details
-
CollectionFieldDelegate
-
-
Method Details
-
createValueBinding
protected AbstractValueBinding<Collection<V>> createValueBinding(ValueSource<Collection<V>> valueSource) - Specified by:
createValueBindingin classAbstractValueComponentDelegate<C extends com.vaadin.flow.component.AbstractField<?,Set<P>>, Collection<V>, Set<P>>
-
convertToModel
-
convertToModel
-
convertToModelInternal
-
convertToPresentation
-
equalCollections
-