Class GeneralStep<T>
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.formlayout.FormLayout,T>
software.xdev.vaadin.grid_exporter.wizard.steps.GeneralStep<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 GeneralStep<T>
extends AbstractGridExportWizardStepComposite<com.vaadin.flow.component.formlayout.FormLayout,T>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.vaadin.flow.data.binder.Binder<GridExporterWizardState<T>>protected final Map<ColumnConfiguration<T>,com.vaadin.flow.data.binder.Binder<ColumnConfiguration<T>>> protected final com.vaadin.flow.component.grid.Grid<ColumnConfiguration<T>>protected com.vaadin.flow.shared.Registrationprotected final com.vaadin.flow.component.textfield.TextFieldFields inherited from class software.xdev.vaadin.grid_exporter.wizard.steps.AbstractGridExportWizardStepComposite
translatorFields inherited from class software.xdev.vaadin.grid_exporter.components.wizard.step.WizardStepComposite
state, stepName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidinitUI()protected booleanisColumnsInvalid(GridExporterWizardState<T> state) protected booleanisMovingPossible(boolean increment, ColumnConfiguration<T> column) protected voidmove(boolean increment, ColumnConfiguration<T> column) voidonEnterStep(GridExporterWizardState<T> state) booleanonProgress(GridExporterWizardState<T> state) Called when next is clicked and the current step is exitedprotected voidMethods inherited from class software.xdev.vaadin.grid_exporter.wizard.steps.AbstractGridExportWizardStepComposite
translateMethods inherited from class software.xdev.vaadin.grid_exporter.components.wizard.step.WizardStepComposite
getStepName, getWizardState, setStepName, setWizardStateMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
binder
-
txtFileName
protected final com.vaadin.flow.component.textfield.TextField txtFileName -
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
-
-
Method Details
-
initUI
protected void initUI() -
initBindings
protected void initBindings() -
onEnterStep
-
validateGrid
protected void validateGrid() -
onProgress
Description copied from interface:WizardStepCalled when next is clicked and the current step is exited- Parameters:
state- The current state- Returns:
falsewhen the exit can't happen due to e.g. validation problems.
-
isColumnsInvalid
-
isMovingPossible
-
move
-