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 SummaryFields inherited from class io.jmix.flowui.component.factory.AbstractComponentGenerationStrategyactions, datatypeRegistry, entityFieldCreationSupport, messages, metadata, metadataTools, uiComponentsFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsConstructorDescriptionAppSettingsComponentGenerationStrategy(UiComponents uiComponents, Metadata metadata, MetadataTools metadataTools, Actions actions, DatatypeRegistry datatypeRegistry, Messages messages, EntityFieldCreationSupport entityFieldCreationSupport) 
- 
Method SummaryModifier 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.AbstractComponentGenerationStrategycreateBooleanField, createCollectionField, createComponentInternal, createDatatypeField, createDatePicker, createDateTimePicker, createEntityField, createEnumField, createFileStorageUploadField, createFileUploadField, createNumberField, createStringField, createTimePicker, isComposition, resolveMetaPropertyPath, setValueSource
- 
Constructor Details- 
AppSettingsComponentGenerationStrategypublic 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 interface- ComponentGenerationStrategy
- Parameters:
- context- the context instance
- Returns:
- created component
 
- 
createEnumField
- 
createEntityPickerField
- 
createBooleanField
- 
createPasswordFieldprotected com.vaadin.flow.component.AbstractField createPasswordField()
- 
isSecret
- 
isBoolean
- 
requireTextArea
- 
containsSeparator
- 
getOrderpublic int getOrder()- Specified by:
- getOrderin interface- org.springframework.core.Ordered
 
 
-