Package io.jmix.ui.component.factory
Class AbstractComponentGenerationStrategy
java.lang.Object
io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy
- Direct Known Subclasses:
BulkEditComponentGenerationStrategy
,CustomDatatypesComponentGenerationStrategy
,DataGridEditorComponentGenerationStrategy
,DefaultComponentGenerationStrategy
,JpqlFilterComponentGenerationStrategy
,PropertyFilterComponentGenerationStrategy
,WebdavComponentGenerationStrategy
public abstract class AbstractComponentGenerationStrategy
extends Object
implements ComponentGenerationStrategy
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected EntityFieldCreationSupport
protected Icons
protected Messages
protected Metadata
protected MetadataTools
protected UiComponents
-
Constructor Summary
ConstructorDescriptionAbstractComponentGenerationStrategy
(Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, Metadata metadata, MetadataTools metadataTools, Icons icons, Actions actions) -
Method Summary
Modifier and TypeMethodDescriptionprotected Field
protected Component
createClassField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Component
createCollectionField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Component
protected Field
createCurrencyField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Component
createDatatypeField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Component
protected Component
protected Component
createEntityField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Field
protected Field
protected Field
protected Component
protected Field
protected Component
createStringField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Component
protected Field
protected MetaPropertyPath
resolveMetaPropertyPath
(MetaClass metaClass, String property) protected void
setLinkFieldAttributes
(EntityLinkField linkField, ComponentGenerationContext context) protected void
setValueSource
(Field 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.ui.component.ComponentGenerationStrategy
createComponent
-
Field Details
-
messages
-
uiComponents
-
entityFieldCreationSupport
-
metadata
-
metadataTools
-
icons
-
actions
-
-
Constructor Details
-
AbstractComponentGenerationStrategy
public AbstractComponentGenerationStrategy(Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, Metadata metadata, MetadataTools metadataTools, Icons icons, Actions actions)
-
-
Method Details
-
createComponentInternal
-
createClassField
-
createDatatypeField
@Nullable protected Component createDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp) -
createDatatypeLinkField
-
createEnumField
-
createMaskedField
-
createStringField
-
createUuidField
-
createBooleanField
-
createDateField
-
createTimeField
-
createNumberField
-
createCurrencyField
@Nullable protected Field createCurrencyField(ComponentGenerationContext context, MetaPropertyPath mpp) -
createFileUploadField
-
createFileStorageUploadField
-
createEntityField
-
createCollectionField
-
setLinkFieldAttributes
protected void setLinkFieldAttributes(EntityLinkField linkField, ComponentGenerationContext context) -
resolveMetaPropertyPath
-
setValueSource
-