Package io.jmix.bulkeditor.view
Class BulkEditViewComponentGenerationStrategy
java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
io.jmix.bulkeditor.view.BulkEditViewComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy
,org.springframework.core.Ordered
@Component("bulked_BulkEditViewComponentGenerationStrategy")
public class BulkEditViewComponentGenerationStrategy
extends AbstractComponentGenerationStrategy
implements org.springframework.core.Ordered
-
Field Summary
Fields inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
actions, datatypeRegistry, entityFieldCreationSupport, messages, metadata, metadataTools, uiComponents
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionBulkEditViewComponentGenerationStrategy
(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Component
com.vaadin.flow.component.Component
Creates a component according to the givenComponentGenerationContext
.protected com.vaadin.flow.component.Component
protected com.vaadin.flow.component.Component
createDatatypeField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.Component
createEnumField
(MetaPropertyPath metaPropertyPath) protected com.vaadin.flow.component.Component
createStringField
(ComponentGenerationContext context, MetaPropertyPath mpp) int
getOrder()
Methods inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
createCollectionField, createDatePicker, createDateTimePicker, createEntityField, createEnumField, createFileStorageUploadField, createFileUploadField, createNumberField, createTimePicker, resolveMetaPropertyPath, setValueSource
-
Field Details
-
MAX_TEXTFIELD_STRING_LENGTH
protected static final int MAX_TEXTFIELD_STRING_LENGTH- See Also:
-
TEXT_AREA_HEIGHT
- See Also:
-
-
Constructor Details
-
BulkEditViewComponentGenerationStrategy
public BulkEditViewComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport)
-
-
Method Details
-
createComponent
@Nullable public com.vaadin.flow.component.Component createComponent(ComponentGenerationContext context) Description copied from interface:ComponentGenerationStrategy
Creates a component according to the givenComponentGenerationContext
. If the strategy is not applicable to the given context it should return null value.- Specified by:
createComponent
in interfaceComponentGenerationStrategy
- Parameters:
context
- the context instance- Returns:
- created component
-
createComponentInternal
@Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context) - Overrides:
createComponentInternal
in classAbstractComponentGenerationStrategy
-
createDatatypeField
protected com.vaadin.flow.component.Component createDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp) - Overrides:
createDatatypeField
in classAbstractComponentGenerationStrategy
-
createStringField
protected com.vaadin.flow.component.Component createStringField(ComponentGenerationContext context, MetaPropertyPath mpp) - Overrides:
createStringField
in classAbstractComponentGenerationStrategy
-
createBooleanField
protected com.vaadin.flow.component.Component createBooleanField(ComponentGenerationContext context) - Overrides:
createBooleanField
in classAbstractComponentGenerationStrategy
-
createEnumField
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-