public class WizardPanel extends Composite implements WizardActionListener, WizardContextListener, WizardStepPanelStateChangeHandler
Constructor and Description |
---|
WizardPanel(WizardContext context,
List<WizardStepPanelGroup> wizardPanelGroups,
WizardStepPanel finishPanel)
Create a wizard panel with the specified groups of panels
|
Modifier and Type | Method and Description |
---|---|
void |
addWizardActionListener(WizardActionListener listener) |
void |
onCancel()
Cancel the current input
|
void |
onClick(ClickEvent event) |
void |
onFinish()
Finish the wizard action.
|
void |
onHelp()
Open the help manual in a new tab/window when
the toolbar help button is clicked.
|
void |
onNext()
Move to the next panel in the deck when a "next" event
is received
|
void |
onPanel(WizardStepPanel panel)
Show the specified panel when the link is clicked in
the left navigation bar
|
void |
onPrevious()
Move to the previous panel in the deck when a "previous" event
is received
|
void |
onSave()
Save the user input
|
void |
onStateChange(WizardStepPanel source,
WizardStepPanelState oldState,
WizardStepPanelState newState) |
void |
onWizardContextChange(WizardContextChangeEvent e)
Respond to a change in the wizard context
|
void |
onWizardContextLoad()
Fill the wizard context when loaded from a file or database
|
void |
setVisiblePanel(WizardStepPanel panel)
Show the specified panel in the wizard
|
public WizardPanel(WizardContext context, List<WizardStepPanelGroup> wizardPanelGroups, WizardStepPanel finishPanel)
wizardPanelGroups
- list of panel groups to display in the wizardpublic void setVisiblePanel(WizardStepPanel panel)
panel
- panel to displaypublic void onNext()
onNext
in interface WizardActionListener
public void onPrevious()
onPrevious
in interface WizardActionListener
public void onPanel(WizardStepPanel panel)
onPanel
in interface WizardActionListener
panel
- panel to displaypublic void onFinish()
onFinish
in interface WizardActionListener
public void onHelp()
onHelp
in interface WizardActionListener
public void onSave()
onSave
in interface WizardActionListener
public void onCancel()
onCancel
in interface WizardActionListener
public void onWizardContextChange(WizardContextChangeEvent e)
onWizardContextChange
in interface WizardContextListener
public void onWizardContextLoad()
onWizardContextLoad
in interface WizardContextListener
public void onClick(ClickEvent event)
public void onStateChange(WizardStepPanel source, WizardStepPanelState oldState, WizardStepPanelState newState)
onStateChange
in interface WizardStepPanelStateChangeHandler
public void addWizardActionListener(WizardActionListener listener)
University of Colorado Denver, Department of Biostatistics and Informatics