Package io.jmix.flowui.component.factory
Class MultiValueSelectDialogGenerationStrategy<E>
java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
io.jmix.flowui.component.factory.MultiValueSelectDialogGenerationStrategy<E>
- All Implemented Interfaces:
ComponentGenerationStrategy
,org.springframework.core.Ordered
@Component("flowui_MultiValueSelectDialogGenerationStrategy")
public class MultiValueSelectDialogGenerationStrategy<E>
extends AbstractComponentGenerationStrategy
implements org.springframework.core.Ordered
-
Field Summary
Fields inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
actions, datatypeRegistry, entityFieldCreationSupport, messages, metadata, metadataTools, uiComponents
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionMultiValueSelectDialogGenerationStrategy
(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Component
com.vaadin.flow.component.Component
Creates a component according to the givenComponentGenerationContext
.protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
createDatePicker
(Datatype<E> datatype) protected com.vaadin.flow.component.Component
createDateTimePicker
(Datatype<E> datatype) protected com.vaadin.flow.component.Component
createEntityComboBox
(MultiValueSelectView.MultiValueSelectContext<E> context, MetaClass metaClass) protected com.vaadin.flow.component.Component
com.vaadin.flow.component.Component
createEntityPicker
(MultiValueSelectView.MultiValueSelectContext<E> context, MetaClass metaClass) protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
createTextField
(MultiValueSelectView.MultiValueSelectContext<E> context, Datatype<E> datatype) protected com.vaadin.flow.component.Component
createTimePicker
(Datatype<E> datatype) int
getOrder()
void
setDataComponents
(DataComponents dataComponents) Methods inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
createBooleanField, createCollectionField, createDatatypeField, createDatePicker, createDateTimePicker, createEntityField, createEnumField, createFileStorageUploadField, createFileUploadField, createNumberField, createStringField, createTimePicker, resolveMetaPropertyPath, setValueSource
-
Field Details
-
dataComponents
-
-
Constructor Details
-
MultiValueSelectDialogGenerationStrategy
public MultiValueSelectDialogGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport)
-
-
Method Details
-
setDataComponents
-
createComponent
@Nullable public com.vaadin.flow.component.Component createComponent(ComponentGenerationContext context) Description copied from interface:ComponentGenerationStrategy
Creates a component according to the givenComponentGenerationContext
.- Specified by:
createComponent
in interfaceComponentGenerationStrategy
- Parameters:
context
- the context instance- Returns:
- created component
-
createComponentInternal
@Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context) - Overrides:
createComponentInternal
in classAbstractComponentGenerationStrategy
-
createComboBox
protected com.vaadin.flow.component.Component createComboBox(MultiValueSelectView.MultiValueSelectContext<E> context) -
createEntityField
@Nullable protected com.vaadin.flow.component.Component createEntityField(MultiValueSelectView.MultiValueSelectContext<E> context) -
createEntityComboBox
protected com.vaadin.flow.component.Component createEntityComboBox(MultiValueSelectView.MultiValueSelectContext<E> context, MetaClass metaClass) -
createEntityPicker
public com.vaadin.flow.component.Component createEntityPicker(MultiValueSelectView.MultiValueSelectContext<E> context, MetaClass metaClass) -
createEnumField
protected com.vaadin.flow.component.Component createEnumField(MultiValueSelectView.MultiValueSelectContext<E> context) -
createFieldWithItems
protected com.vaadin.flow.component.Component createFieldWithItems(MultiValueSelectView.MultiValueSelectContext<E> context) -
createDatatypeField
@Nullable protected com.vaadin.flow.component.Component createDatatypeField(MultiValueSelectView.MultiValueSelectContext<E> context) -
createDatePicker
-
createTimePicker
-
createDateTimePicker
-
createTextField
protected com.vaadin.flow.component.Component createTextField(MultiValueSelectView.MultiValueSelectContext<E> context, Datatype<E> datatype) -
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-