Class AppSettingsComponentGenerationStrategy
java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
io.jmix.appsettingsflowui.componentfactory.AppSettingsComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy,org.springframework.core.Ordered
@Component("appsettings_AppSettingsComponentGenerationStrategy")
public class AppSettingsComponentGenerationStrategy
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, uiComponentsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionAppSettingsComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected com.vaadin.flow.component.select.Select<Boolean>com.vaadin.flow.component.ComponentCreates a component according to the givenComponentGenerationContext.protected EntityPicker<?>protected com.vaadin.flow.component.select.Select<?>createEnumField(Range range) protected com.vaadin.flow.component.AbstractFieldintgetOrder()protected booleanisBoolean(MetaProperty metaProperty) protected static booleanisSecret(MetaProperty metaProperty) protected booleanrequireTextArea(MetaProperty metaProperty, Object item) Methods inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
createBooleanField, createCollectionField, createComponentInternal, createDatatypeField, createDatePicker, createDateTimePicker, createEntityField, createEnumField, createFileStorageUploadField, createFileUploadField, createNumberField, createStringField, createTimePicker, resolveMetaPropertyPath, setValueSource
-
Constructor Details
-
AppSettingsComponentGenerationStrategy
public AppSettingsComponentGenerationStrategy(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: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
-
createEnumField
-
createEntityPickerField
-
createBooleanField
-
createPasswordField
protected com.vaadin.flow.component.AbstractField createPasswordField() -
isSecret
-
isBoolean
-
requireTextArea
-
containsSeparator
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-