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
  • Constructor Details

  • Method Details

    • createComponent

      @Nullable public com.vaadin.flow.component.Component createComponent(ComponentGenerationContext context)
      Description copied from interface: ComponentGenerationStrategy
      Creates a component according to the given ComponentGenerationContext. If the strategy is not applicable to the given context it should return null value.
      Specified by:
      createComponent in interface ComponentGenerationStrategy
      Parameters:
      context - the context instance
      Returns:
      created component
    • createEnumField

      protected com.vaadin.flow.component.select.Select<?> createEnumField(Range range)
    • createEntityPickerField

      protected EntityPicker<?> createEntityPickerField()
    • createBooleanField

      protected com.vaadin.flow.component.select.Select<Boolean> createBooleanField()
    • createPasswordField

      protected com.vaadin.flow.component.AbstractField createPasswordField()
    • isSecret

      protected static boolean isSecret(MetaProperty metaProperty)
    • isBoolean

      protected boolean isBoolean(MetaProperty metaProperty)
    • requireTextArea

      protected boolean requireTextArea(MetaProperty metaProperty, @Nullable Object item)
    • containsSeparator

      protected boolean containsSeparator(String s)
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered