Class Wizard
- All Implemented Interfaces:
Iterable<WizardStep>,ElementAttributeMethods<HTMLElement, Wizard>,ElementClassListMethods<HTMLElement, Wizard>,ElementConsumerMethods<HTMLElement, Wizard>,ElementContainerMethods<HTMLElement, Wizard>,ElementEventMethods<HTMLElement, Wizard>,ElementIdMethods<HTMLElement, Wizard>,ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement, Wizard>,HTMLElementDataMethods<HTMLElement, Wizard>,HTMLElementStyleMethods<HTMLElement, Wizard>,HTMLElementVisibilityMethods<HTMLElement, Wizard>,IsElement<HTMLElement>,TypedBuilder<HTMLElement, Wizard>,Component,HasItems<HTMLElement, Wizard, WizardStep>
public class Wizard
extends BaseComponent<HTMLElement, Wizard>
implements HasItems<HTMLElement, Wizard, WizardStep>
A wizard provides a guided workflow that offers a path to complete a task, create an object or objects, or finish a series of
steps for some other outcome. Wizards should incite trust in the user and guide them through an otherwise overwhelming
experience.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(WizardHeader header) add(WizardStep item) addHeader(WizardHeader header) voidcancel()voidclear()booleancontext()footer()header()height(int height) booleanisEmpty()iterator()lastStep()nav()voidnext()onAdd(BiConsumer<Wizard, WizardStep> onAdd) onCancel(ComponentHandler<Wizard> handler) onFinish(ComponentHandler<Wizard> handler) onRemove(BiConsumer<Wizard, WizardStep> onRemove) onStepChange(WizardStepChangeHandler stepChangeHandler) voidprevious()Same as progressive(true)progressive(boolean progressive) Progressively shows steps, where all steps following the active step are hidden.voidremoveItem(String identifier) voidvoidselect(WizardStep step) intsize()that()Same as visitRequired(true)visitRequired(boolean visitRequired) Disables steps that haven't been visited.static Wizardwizard()Methods inherited from class org.patternfly.component.BaseComponent
componentType, element, registerComponentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
wizard
-
add
- Specified by:
addin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
addHeader
-
add
-
height
-
progressive
Same as progressive(true) -
progressive
Progressively shows steps, where all steps following the active step are hidden. Defaults to false. Must be called before adding steps. -
visitRequired
Same as visitRequired(true) -
visitRequired
Disables steps that haven't been visited. Defaults to false. Must be called before adding steps. -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, Wizard>
-
onAdd
- Specified by:
onAddin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
onCancel
-
onFinish
-
onRemove
- Specified by:
onRemovein interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
onStepChange
-
iterator
- Specified by:
iteratorin interfaceIterable<WizardStep>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
item
- Specified by:
itemin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
removeItem
- Specified by:
removeItemin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement, Wizard, WizardStep>
-
context
-
header
-
firstStep
-
lastStep
-
currentStep
-
previous
public void previous() -
next
public void next() -
select
-
select
-
cancel
public void cancel()
-