Package io.jmix.flowui.component.factory
Class AbstractComponentGenerationStrategy
java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy
- Direct Known Subclasses:
AppSettingsComponentGenerationStrategy
,CustomDatatypesComponentGenerationStrategy
,DefaultComponentGenerationStrategy
,InputDialogGenerationStrategy
,JpqlFilterComponentGenerationStrategy
,MultiValueSelectDialogGenerationStrategy
,PropertyFilterComponentGenerationStrategy
public abstract class AbstractComponentGenerationStrategy
extends Object
implements ComponentGenerationStrategy
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected DatatypeRegistry
protected EntityFieldCreationSupport
protected Messages
protected Metadata
protected MetadataTools
protected UiComponents
-
Constructor Summary
ConstructorDescriptionAbstractComponentGenerationStrategy
(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
createDatatypeField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
createStringField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.Component
protected MetaPropertyPath
resolveMetaPropertyPath
(MetaClass metaClass, String property) protected void
setValueSource
(SupportsValueSource<?> field, ComponentGenerationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.component.ComponentGenerationStrategy
createComponent
-
Field Details
-
uiComponents
-
entityFieldCreationSupport
-
metadata
-
metadataTools
-
actions
-
messages
-
datatypeRegistry
-
-
Constructor Details
-
AbstractComponentGenerationStrategy
public AbstractComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport)
-
-
Method Details
-
createComponentInternal
@Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context) -
createDatatypeField
@Nullable protected com.vaadin.flow.component.Component createDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp) -
createEnumField
-
createStringField
protected com.vaadin.flow.component.Component createStringField(ComponentGenerationContext context, MetaPropertyPath mpp) -
createBooleanField
protected com.vaadin.flow.component.Component createBooleanField(ComponentGenerationContext context) -
createDatePicker
-
createTimePicker
-
createDateTimePicker
protected com.vaadin.flow.component.Component createDateTimePicker(ComponentGenerationContext context) -
createNumberField
-
createEntityField
@Nullable protected com.vaadin.flow.component.Component createEntityField(ComponentGenerationContext context) -
createFileUploadField
protected com.vaadin.flow.component.Component createFileUploadField(ComponentGenerationContext context) -
createFileStorageUploadField
protected com.vaadin.flow.component.Component createFileStorageUploadField(ComponentGenerationContext context) -
createCollectionField
protected com.vaadin.flow.component.Component createCollectionField(ComponentGenerationContext context) -
resolveMetaPropertyPath
-
setValueSource
-