java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<C>
software.xdev.vaadin.grid_exporter.components.wizard.step.WizardStepComposite<C,GridExporterWizardState<T>>
software.xdev.vaadin.grid_exporter.wizard.steps.AbstractGridExportWizardStepComposite<com.vaadin.flow.component.orderedlayout.VerticalLayout,T>
software.xdev.vaadin.grid_exporter.wizard.steps.FormatStep<T>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable, WizardStep<GridExporterWizardState<T>>, Translator

public class FormatStep<T> extends AbstractGridExportWizardStepComposite<com.vaadin.flow.component.orderedlayout.VerticalLayout,T>
See Also:
  • Field Details

    • binder

      protected final com.vaadin.flow.data.binder.Binder<GridExporterWizardState<T>> binder
    • cbFormats

      protected final com.vaadin.flow.component.combobox.ComboBox<Format> cbFormats
    • vlConfigs

      protected final com.vaadin.flow.component.orderedlayout.VerticalLayout vlConfigs
    • configComponents

      protected List<? extends SpecificConfigComponent<? extends SpecificConfig>> configComponents
  • Constructor Details

    • FormatStep

      public FormatStep(Translator translator)
  • Method Details

    • initUI

      protected void initUI()
    • registerListeners

      protected void registerListeners()
    • showConfigComponentsFor

      protected void showConfigComponentsFor(Format format)
    • bindConfigComponents

      protected void bindConfigComponents(GridExporterWizardState<T> state, boolean deleteNonMatchingFromState)
    • initBindings

      protected void initBindings()
    • onEnterStep

      public void onEnterStep(GridExporterWizardState<T> state)
    • onProgress

      public boolean onProgress(GridExporterWizardState<T> state)
      Description copied from interface: WizardStep
      Called when next is clicked and the current step is exited
      Parameters:
      state - The current state
      Returns:
      false when the exit can't happen due to e.g. validation problems.