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
FieldsModifier and TypeFieldDescriptionprotected final com.vaadin.flow.component.button.Buttonprotected final com.vaadin.flow.component.button.Buttonprotected final com.vaadin.flow.component.button.Buttonprotected final com.vaadin.flow.component.button.Buttonprotected final com.vaadin.flow.component.orderedlayout.HorizontalLayout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.shared.RegistrationaddButtonClickEvent(com.vaadin.flow.component.button.Button button, Consumer<Boolean> isFromClientConsumer) com.vaadin.flow.shared.RegistrationaddCancelClickListener(Consumer<Boolean> isFromClientConsumer) com.vaadin.flow.shared.RegistrationaddDoneClickListener(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.Buttoncom.vaadin.flow.component.button.Buttoncom.vaadin.flow.component.button.Buttoncom.vaadin.flow.component.button.Buttonprotected voidinit(WizardPanelActions panel) protected voidinitUI()protected voidprotected Pself()protected voidupdateFromStepState(WizardStepState stepState) 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, 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.HasElement
getElementMethods 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, setWidthFullMethods 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
-
initUI
protected void initUI() -
registerListeners
-
addButtonClickEvent
-
updateFromStepState
-
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
-
withButtonText
-
addCancelClickListener
-
withCancelClickListener
-
addDoneClickListener
-
withDoneClickListener
-
self
-