Package io.jmix.flowui.component.factory
Class PropertyFilterComponentGenerationStrategy
java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
io.jmix.flowui.component.factory.PropertyFilterComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy,org.springframework.core.Ordered
@Component("flowui_PropertyFilterComponentGenerationStrategy")
public class PropertyFilterComponentGenerationStrategy
extends AbstractComponentGenerationStrategy
implements org.springframework.core.Ordered
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextstatic final StringFields inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
actions, datatypeRegistry, entityFieldCreationSupport, messages, metadata, metadataTools, uiComponentsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionPropertyFilterComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.Componentcom.vaadin.flow.component.ComponentCreates a component according to the givenComponentGenerationContext.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.ComponentcreateIntervalField(ComponentGenerationContext context, MetaPropertyPath mpp) protected com.vaadin.flow.component.ComponentintgetOrder()Methods inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
createCollectionField, createFileStorageUploadField, createFileUploadField, createNumberField, createStringField, createTimePicker, resolveMetaPropertyPath, setValueSource
-
Field Details
-
UNARY_FIELD_CLASS_NAME
- See Also:
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
PropertyFilterComponentGenerationStrategy
public PropertyFilterComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
createComponent
@Nullable public com.vaadin.flow.component.Component createComponent(ComponentGenerationContext context) Description copied from interface:ComponentGenerationStrategyCreates a component according to the givenComponentGenerationContext. If the strategy is not applicable to the given context it should return null value.- Specified by:
createComponentin interfaceComponentGenerationStrategy- Parameters:
context- the context instance- Returns:
- created component
-
createComponentInternal
@Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context) - Overrides:
createComponentInternalin classAbstractComponentGenerationStrategy
-
createEntityField
@Nullable protected com.vaadin.flow.component.Component createEntityField(ComponentGenerationContext context) - Overrides:
createEntityFieldin classAbstractComponentGenerationStrategy
-
createDatatypeField
@Nullable protected com.vaadin.flow.component.Component createDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp) - Overrides:
createDatatypeFieldin classAbstractComponentGenerationStrategy
-
createDatePicker
- Overrides:
createDatePickerin classAbstractComponentGenerationStrategy
-
createDateTimePicker
protected com.vaadin.flow.component.Component createDateTimePicker(ComponentGenerationContext context) - Overrides:
createDateTimePickerin classAbstractComponentGenerationStrategy
-
createBooleanField
protected com.vaadin.flow.component.Component createBooleanField(ComponentGenerationContext context) - Overrides:
createBooleanFieldin classAbstractComponentGenerationStrategy
-
createUnaryField
-
createEnumField
- Overrides:
createEnumFieldin classAbstractComponentGenerationStrategy
-
createIntervalField
protected com.vaadin.flow.component.Component createIntervalField(ComponentGenerationContext context, MetaPropertyPath mpp) -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-