Class GeneralStep<T>

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<C>
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 GeneralStep<T> extends AbstractGridExportWizardStepComposite<com.vaadin.flow.component.formlayout.FormLayout,T>
See Also:
  • Field Details

    • binder

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

      protected final com.vaadin.flow.component.textfield.TextField txtFileName
    • gridColumns

      protected final com.vaadin.flow.component.grid.Grid<ColumnConfiguration<T>> gridColumns
    • columnBinders

      protected final Map<ColumnConfiguration<T>,com.vaadin.flow.data.binder.Binder<ColumnConfiguration<T>>> columnBinders
    • gridSelectionChanged

      protected com.vaadin.flow.shared.Registration gridSelectionChanged
  • Constructor Details

    • GeneralStep

      public GeneralStep(Translator translator)
  • Method Details

    • initUI

      protected void initUI()
    • initBindings

      protected void initBindings()
    • onEnterStep

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

      protected void validateGrid()
    • 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.
    • isColumnsInvalid

      protected boolean isColumnsInvalid(GridExporterWizardState<T> state)
    • isMovingPossible

      protected boolean isMovingPossible(boolean increment, ColumnConfiguration<T> column)
    • move

      protected void move(boolean increment, ColumnConfiguration<T> column)