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,- BulkEditViewComponentGenerationStrategy,- CustomDatatypesComponentGenerationStrategy,- DefaultComponentGenerationStrategy,- InputDialogGenerationStrategy,- JpqlFilterComponentGenerationStrategy,- MultiValueSelectDialogGenerationStrategy,- PropertyFilterComponentGenerationStrategy,- WebdavComponentGenerationStrategy
public abstract class AbstractComponentGenerationStrategy
extends Object
implements ComponentGenerationStrategy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Actionsprotected DatatypeRegistryprotected EntityFieldCreationSupportprotected Messagesprotected Metadataprotected MetadataToolsprotected UiComponents
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.ComponentcreateCollectionField(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.ComponentcreateDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.ComponentcreateStringField(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.Componentprotected booleanprotected MetaPropertyPathresolveMetaPropertyPath(MetaClass metaClass, String property) protected voidsetValueSource(SupportsValueSource<?> field, ComponentGenerationContext context) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.component.ComponentGenerationStrategycreateComponent
- 
Field Details- 
uiComponents
- 
entityFieldCreationSupport
- 
metadata
- 
metadataTools
- 
actions
- 
messages
- 
datatypeRegistry
 
- 
- 
Constructor Details- 
AbstractComponentGenerationStrategypublic 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) 
- 
createDatatypeFieldprotected com.vaadin.flow.component.Component createDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp) 
- 
createEnumField
- 
createStringFieldprotected com.vaadin.flow.component.Component createStringField(ComponentGenerationContext context, MetaPropertyPath mpp) 
- 
createBooleanFieldprotected com.vaadin.flow.component.Component createBooleanField(ComponentGenerationContext context) 
- 
createDatePicker
- 
createTimePicker
- 
createDateTimePickerprotected com.vaadin.flow.component.Component createDateTimePicker(ComponentGenerationContext context) 
- 
createNumberField
- 
createEntityField@Nullable protected com.vaadin.flow.component.Component createEntityField(ComponentGenerationContext context) 
- 
createFileUploadFieldprotected com.vaadin.flow.component.Component createFileUploadField(ComponentGenerationContext context) 
- 
createFileStorageUploadFieldprotected com.vaadin.flow.component.Component createFileStorageUploadField(ComponentGenerationContext context) 
- 
createCollectionField@Nullable protected com.vaadin.flow.component.Component createCollectionField(ComponentGenerationContext context, MetaPropertyPath mpp) 
- 
isComposition
- 
resolveMetaPropertyPath
- 
setValueSource
 
-