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
FieldsFields inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
actions, datatypeRegistry, entityFieldCreationSupport, messages, metadata, metadataTools, uiComponentsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionMultiValueSelectDialogGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Componentcom.vaadin.flow.component.ComponentCreates a component according to the givenComponentGenerationContext.protected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.ComponentcreateDatePicker(Datatype<E> datatype) protected com.vaadin.flow.component.ComponentcreateDateTimePicker(Datatype<E> datatype) protected com.vaadin.flow.component.ComponentcreateEntityComboBox(MultiValueSelectView.MultiValueSelectContext<E> context, MetaClass metaClass) protected com.vaadin.flow.component.Componentcom.vaadin.flow.component.ComponentcreateEntityPicker(MultiValueSelectView.MultiValueSelectContext<E> context, MetaClass metaClass) protected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.ComponentcreateTextField(MultiValueSelectView.MultiValueSelectContext<E> context, Datatype<E> datatype) protected com.vaadin.flow.component.ComponentcreateTimePicker(Datatype<E> datatype) intgetOrder()voidsetDataComponents(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:ComponentGenerationStrategyCreates a component according to the givenComponentGenerationContext.- Specified by:
createComponentin interfaceComponentGenerationStrategy- Parameters:
context- the context instance- Returns:
- created component
-
createComponentInternal
@Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context) - Overrides:
createComponentInternalin 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:
getOrderin interfaceorg.springframework.core.Ordered
-