Class InputDialogGenerationStrategy

java.lang.Object
io.jmix.flowui.component.factory.AbstractComponentGenerationStrategy
io.jmix.flowui.component.factory.InputDialogGenerationStrategy
All Implemented Interfaces:
ComponentGenerationStrategy, org.springframework.core.Ordered

@Component("flowui_InputDialogGenerationStrategy") public class InputDialogGenerationStrategy extends AbstractComponentGenerationStrategy implements org.springframework.core.Ordered
  • Field Details

    • dateTimeDatatypes

      protected static final List<Class<?>> dateTimeDatatypes
    • dateDatatypes

      protected static final List<Class<?>> dateDatatypes
    • timeDatatypes

      protected static final List<Class<?>> timeDatatypes
  • 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
    • createComponentInternal

      @Nullable protected com.vaadin.flow.component.Component createComponentInternal(ComponentGenerationContext context)
      Overrides:
      createComponentInternal in class AbstractComponentGenerationStrategy
    • createTextField

      protected com.vaadin.flow.component.Component createTextField(Datatype<?> datatype)
    • createDateTimeField

      protected com.vaadin.flow.component.Component createDateTimeField(Datatype<?> datatype)
    • createDateField

      protected com.vaadin.flow.component.Component createDateField(Datatype<?> datatype)
    • createTimeField

      protected com.vaadin.flow.component.Component createTimeField(Datatype<?> datatype)
    • createEntityField

      @Nullable protected com.vaadin.flow.component.Component createEntityField(ComponentGenerationContext context)
      Overrides:
      createEntityField in class AbstractComponentGenerationStrategy
    • createBooleanField

      protected com.vaadin.flow.component.Component createBooleanField()
    • createFileStorageUploadField

      protected com.vaadin.flow.component.Component createFileStorageUploadField()
    • createFileUploadField

      protected com.vaadin.flow.component.Component createFileUploadField()
    • createEnumField

      protected com.vaadin.flow.component.Component createEnumField(ComponentGenerationContext context)
      Overrides:
      createEnumField in class AbstractComponentGenerationStrategy
    • isDateBasedDatatype

      protected boolean isDateBasedDatatype(Datatype<?> datatype)
    • isTimeBasedDatatype

      protected boolean isTimeBasedDatatype(Datatype<?> datatype)
    • isDateTimeBasedDatatype

      protected boolean isDateTimeBasedDatatype(Datatype<?> datatype)
    • getOrder

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