Package org.neotropic.util.visual.wizard
Class Wizard
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.neotropic.util.visual.wizard.Wizard
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.VerticalLayout>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasOrderedComponents<com.vaadin.flow.component.orderedlayout.VerticalLayout>
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.VerticalLayout>
,com.vaadin.flow.component.orderedlayout.ThemableLayout
,Serializable
- Direct Known Subclasses:
NewPhysicalConnectionWizard
,NewPhysicalConnectionWizard
,SDHContainerLinkWizard
,SDHTransportLinkWizard
,SDHTributaryLinkWizard
public class Wizard extends com.vaadin.flow.component.orderedlayout.VerticalLayout
A simple, general purpose wizard implementation that can be easily embedded in miniapplications and dashboard widgets- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>, Orlando Paz <orlando.paz@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Wizard.Step
Interface implemented by all the steps in the wizardclass
Wizard.WizardEvent
static interface
Wizard.WizardEventListener
Interface to be implemented by all components interested in listening to the events fired by aWizard
-
Field Summary
Fields Modifier and Type Field Description protected TranslationService
ts
-
Constructor Summary
Constructors Constructor Description Wizard(TranslationService ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEventListener(Wizard.WizardEventListener listener)
void
build(Wizard.Step firstStep)
void
clearListeners()
void
fireEvent(Wizard.WizardEvent event)
com.vaadin.flow.component.orderedlayout.HorizontalLayout
getLytButtons()
com.vaadin.flow.component.html.Div
getLytMainContent()
void
setLytButtons(com.vaadin.flow.component.orderedlayout.HorizontalLayout lytButtons)
void
setLytMainContent(com.vaadin.flow.component.html.Div lytMainContent)
-
Methods inherited from class com.vaadin.flow.component.orderedlayout.VerticalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacing
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, 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.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
-
-
-
-
Field Detail
-
ts
protected TranslationService ts
-
-
Constructor Detail
-
Wizard
public Wizard(TranslationService ts)
-
-
Method Detail
-
build
public void build(Wizard.Step firstStep)
-
getLytMainContent
public com.vaadin.flow.component.html.Div getLytMainContent()
-
setLytMainContent
public void setLytMainContent(com.vaadin.flow.component.html.Div lytMainContent)
-
getLytButtons
public com.vaadin.flow.component.orderedlayout.HorizontalLayout getLytButtons()
-
setLytButtons
public void setLytButtons(com.vaadin.flow.component.orderedlayout.HorizontalLayout lytButtons)
-
fireEvent
public void fireEvent(Wizard.WizardEvent event)
-
addEventListener
public void addEventListener(Wizard.WizardEventListener listener)
-
clearListeners
public void clearListeners()
-
-