Class AbstractWizardButtonBar<P extends AbstractWizardButtonBar<P>>

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
software.xdev.vaadin.grid_exporter.components.wizard.buttonbar.AbstractWizardButtonBar<P>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable
Direct Known Subclasses:
WizardButtonBar, WizardButtonBarWithAnchor

@CssImport("./styles/wizard.css") public abstract class AbstractWizardButtonBar<P extends AbstractWizardButtonBar<P>> extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.HorizontalLayout> implements com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.vaadin.flow.component.button.Button
     
    protected final com.vaadin.flow.component.button.Button
     
    protected final com.vaadin.flow.component.button.Button
     
    protected final com.vaadin.flow.component.button.Button
     
    protected final com.vaadin.flow.component.orderedlayout.HorizontalLayout
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.vaadin.flow.shared.Registration
    addButtonClickEvent(com.vaadin.flow.component.button.Button button, Consumer<Boolean> isFromClientConsumer)
     
    com.vaadin.flow.shared.Registration
    addCancelClickListener(Consumer<Boolean> isFromClientConsumer)
     
    com.vaadin.flow.shared.Registration
    addDoneClickListener(Consumer<Boolean> isFromClientConsumer)
     
    configureButton(Function<P,com.vaadin.flow.component.button.Button> selfButtonSupplier, Consumer<com.vaadin.flow.component.button.Button> configureButtonAction)
     
    com.vaadin.flow.component.button.Button
     
    com.vaadin.flow.component.button.Button
     
    com.vaadin.flow.component.button.Button
     
    com.vaadin.flow.component.button.Button
     
    protected void
     
    protected void
     
    protected void
     
    protected P
     
    protected void
     
    withButtonText(Function<P,com.vaadin.flow.component.button.Button> selfButtonSupplier, String text)
     
    withCancelClickListener(Consumer<Boolean> isFromClientConsumer)
     
    withDoneClickListener(Consumer<Boolean> isFromClientConsumer)
     

    Methods inherited from class com.vaadin.flow.component.Composite

    getChildren, getContent, getElement, initContent

    Methods 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, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasSize

    getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Field Details

    • btnCancel

      protected final com.vaadin.flow.component.button.Button btnCancel
    • btnPrevious

      protected final com.vaadin.flow.component.button.Button btnPrevious
    • btnNext

      protected final com.vaadin.flow.component.button.Button btnNext
    • btnDone

      protected final com.vaadin.flow.component.button.Button btnDone
    • hlEndButtons

      protected final com.vaadin.flow.component.orderedlayout.HorizontalLayout hlEndButtons
  • Constructor Details

    • AbstractWizardButtonBar

      public AbstractWizardButtonBar()
  • Method Details

    • init

      protected void init(WizardPanelActions panel)
    • initUI

      protected void initUI()
    • registerListeners

      protected void registerListeners(WizardPanelActions panel)
    • addButtonClickEvent

      protected com.vaadin.flow.shared.Registration addButtonClickEvent(com.vaadin.flow.component.button.Button button, Consumer<Boolean> isFromClientConsumer)
    • updateFromStepState

      protected void updateFromStepState(WizardStepState stepState)
    • getBtnCancel

      public com.vaadin.flow.component.button.Button getBtnCancel()
    • getBtnPrevious

      public com.vaadin.flow.component.button.Button getBtnPrevious()
    • getBtnNext

      public com.vaadin.flow.component.button.Button getBtnNext()
    • getBtnDone

      public com.vaadin.flow.component.button.Button getBtnDone()
    • configureButton

      public P configureButton(Function<P,com.vaadin.flow.component.button.Button> selfButtonSupplier, Consumer<com.vaadin.flow.component.button.Button> configureButtonAction)
    • withButtonText

      public P withButtonText(Function<P,com.vaadin.flow.component.button.Button> selfButtonSupplier, String text)
    • addCancelClickListener

      public com.vaadin.flow.shared.Registration addCancelClickListener(Consumer<Boolean> isFromClientConsumer)
    • withCancelClickListener

      public P withCancelClickListener(Consumer<Boolean> isFromClientConsumer)
    • addDoneClickListener

      public com.vaadin.flow.shared.Registration addDoneClickListener(Consumer<Boolean> isFromClientConsumer)
    • withDoneClickListener

      public P withDoneClickListener(Consumer<Boolean> isFromClientConsumer)
    • self

      protected P self()