Class MultiValueSelectView.MultiValueSelectContext<E>
java.lang.Object
io.jmix.flowui.component.ComponentGenerationContext
io.jmix.flowui.app.multivaluepicker.MultiValueSelectView.MultiValueSelectContext<E>
- Enclosing interface:
- MultiValueSelectView<E>
public static class MultiValueSelectView.MultiValueSelectContext<E>
extends ComponentGenerationContext
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Consumer<ActionPerformedEvent>
protected Collection<E>
protected com.vaadin.flow.component.ItemLabelGenerator<E>
protected Class<?>
protected String
protected boolean
protected TimeZone
protected boolean
Fields inherited from class io.jmix.flowui.component.ComponentGenerationContext
collectionItems, enumItems, items, metaClass, property, targetClass, valueSource, xmlDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addValidator
(Validator<E> validator) com.vaadin.flow.component.ItemLabelGenerator<E>
Class<?>
boolean
boolean
void
setAddItemToLayoutHandler
(Consumer<E> addItemToLayoutHandler) void
setAddValueInternalHandler
(Consumer<com.vaadin.flow.component.HasValue<?, E>> addValueInternalHandler) void
setEntityName
(String entityName) void
setEntityPickerActionPerformedEventHandler
(Consumer<ActionPerformedEvent> entityPickerActionPerformedEventHandler) void
setEnumClass
(Class<? extends Enum<?>> enumClass) void
setInitialValues
(Collection<E> initialValues) void
setItemLabelGenerator
(com.vaadin.flow.component.ItemLabelGenerator<E> itemLabelGenerator) void
setJavaClass
(Class<?> javaClass) void
setLookupViewId
(String lookupViewId) void
setReadOnly
(boolean readOnly) void
setTimeZone
(TimeZone timeZone) void
setUseComboBox
(boolean useComboBox) void
setValidators
(List<Validator<E>> validators) void
setValueExistsHandler
(Predicate<E> valueExistsHandler) Methods inherited from class io.jmix.flowui.component.ComponentGenerationContext
getCollectionItems, getEnumItems, getItems, getMetaClass, getProperty, getTargetClass, getValueSource, getXmlDescriptor, setCollectionItems, setEnumItems, setItems, setTargetClass, setValueSource, setXmlDescriptor
-
Field Details
-
entityName
-
enumClass
-
javaClass
-
readOnly
protected boolean readOnly -
initialValues
-
lookupViewId
-
useComboBox
protected boolean useComboBox -
valueExistsHandler
-
addItemToLayoutHandler
-
entityPickerActionPerformedEventHandler
-
addValueInternalHandler
-
itemLabelGenerator
-
validators
-
timeZone
-
-
Constructor Details
-
MultiValueSelectContext
public MultiValueSelectContext()
-
-
Method Details
-
getEntityName
-
setEntityName
-
getEnumClass
-
setEnumClass
-
getJavaClass
-
setJavaClass
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
getInitialValues
-
setInitialValues
-
getLookupViewId
-
setLookupViewId
-
isUseComboBox
public boolean isUseComboBox() -
setUseComboBox
public void setUseComboBox(boolean useComboBox) -
getItemLabelGenerator
-
setItemLabelGenerator
public void setItemLabelGenerator(@Nullable com.vaadin.flow.component.ItemLabelGenerator<E> itemLabelGenerator) -
getValidators
-
setValidators
-
addValidator
-
getTimeZone
-
setTimeZone
-
getValueExistsHandler
-
setValueExistsHandler
-
getAddItemToLayoutHandler
-
setAddItemToLayoutHandler
-
getEntityPickerActionPerformedEventHandler
-
setEntityPickerActionPerformedEventHandler
public void setEntityPickerActionPerformedEventHandler(Consumer<ActionPerformedEvent> entityPickerActionPerformedEventHandler) -
getAddValueInternalHandler
-
setAddValueInternalHandler
-