Class InspectorFormLayoutBuilder
java.lang.Object
io.jmix.datatoolsflowui.view.entityinspector.assistant.InspectorFormLayoutBuilder
@Component("datatl_EntityInspectorFormBuilder")
@Scope("prototype")
public class InspectorFormLayoutBuilder
extends Object
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected AccessManagerprotected Actionsprotected final InstanceContainerprotected booleanprotected MessageToolsprotected MetadataToolsprotected com.vaadin.flow.component.Componentprotected UiComponentsprotected UiComponentsGenerator
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedInspectorFormLayoutBuilder(InstanceContainer container, boolean isNewEntity) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddField(InstanceContainer container, com.vaadin.flow.component.formlayout.FormLayout form, MetaProperty metaProperty, boolean isReadonly) Adds field to the specified form.com.vaadin.flow.component.formlayout.FormLayoutbuild()static InspectorFormLayoutBuilderfrom(org.springframework.context.ApplicationContext applicationContext, InstanceContainer container, boolean isNewEntity) protected StringgetPropertyTitle(MetaClass metaClass, MetaProperty metaProperty) withDisabledProperties(String... properties) withOwnerComponent(com.vaadin.flow.component.Component component) 
- 
Field Details- 
uiComponents
- 
metadataTools
- 
uiComponentsGenerator
- 
actions
- 
messageTools
- 
accessManager
- 
container
- 
ownerComponentprotected com.vaadin.flow.component.Component ownerComponent
- 
disabledProperties
- 
isNewEntityprotected boolean isNewEntity
 
- 
- 
Constructor Details- 
InspectorFormLayoutBuilder
 
- 
- 
Method Details- 
frompublic static InspectorFormLayoutBuilder from(org.springframework.context.ApplicationContext applicationContext, InstanceContainer container, boolean isNewEntity) 
- 
withOwnerComponent
- 
withDisabledProperties
- 
buildpublic com.vaadin.flow.component.formlayout.FormLayout build()
- 
addFieldprotected void addField(InstanceContainer container, com.vaadin.flow.component.formlayout.FormLayout form, MetaProperty metaProperty, boolean isReadonly) Adds field to the specified form. If the field should be custom, adds it to the specified customFields collection which can be used later to create fieldGenerators- Parameters:
- metaProperty- meta property of the item's property which field is creating
- form- field group to which created field will be added
 
- 
getPropertyTitle
 
-