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
FieldsModifier and TypeFieldDescriptionprotected Actionsprotected DatatypeRegistryprotected EntityFieldCreationSupportprotected Messagesprotected Metadataprotected MetadataToolsprotected UiComponents -
Constructor Summary
ConstructorsConstructorDescriptionAbstractComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.component.Componentprotected 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 MetaPropertyPathresolveMetaPropertyPath(MetaClass metaClass, String property) protected voidsetValueSource(SupportsValueSource<?> field, ComponentGenerationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-