C - The contextS - The state enumpublic abstract class WizardStep<C,S extends Enum<S>> extends Object implements org.jboss.gwt.elemento.core.IsElement
| Modifier | Constructor and Description |
|---|---|
protected |
WizardStep(String title) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
onBack(C context)
Called before the previous step is shown.
|
protected boolean |
onCancel(C context)
Called when this step is canceled.
|
protected boolean |
onNext(C context)
Called before the next step is shown.
|
protected void |
onShow(C context)
Called every time the step is shown.
|
protected void |
registerAttachable(Attachable first,
Attachable... rest) |
void |
reset(C context)
Subclasses should reset their state using this method.
|
protected Wizard<C,S> |
wizard()
Valid only after the wizard has been created.
|
protected String title
protected WizardStep(String title)
protected Wizard<C,S> wizard()
public void reset(C context)
onShow(Object) this method should be used to implement one-time
initialization.protected void onShow(C context)
context - the current contextprotected boolean onCancel(C context)
context - the current contexttrue if we can cancel this step, false otherwise.protected boolean onBack(C context)
context - the current contexttrue if we can navigate to the previous step, false otherwise.protected boolean onNext(C context)
context - the current contexttrue if we can navigate to the next step, false otherwise.protected void registerAttachable(Attachable first, Attachable... rest)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.