FSMWizard(FSM fsm, Namespace data)
Creates an instance of FSMWizard using the specified FSM to drive the sequence of panels and the specified Namespace as the backing storage for the TraversableContext that is passed to the panels in their onEntry(...) and onExit(...) methods.

setDialog(oracle.bali.ewt.wizard.WizardDialog dialog)
This method takes an instance of WizardDialog and associates it with the FSMWizard so that WizardCallbacks messages coming from the individual panels will be routed to the WizardDialog.

void

setFinishPageAdded(boolean pageAdded)
Sets whether or not a finish page has been added to the FSMWizard

FSMWizard

FSMWizard

Creates an instance of FSMWizard using the specified FSM to drive the sequence of panels and the specified Namespace as the backing storage for the TraversableContext that is passed to the panels in their onEntry(...) and onExit(...) methods.

Method Detail

setWizardTitle

public void setWizardTitle(java.lang.String wizardTitle)

As per the spec, this title should be of the form: "Product or Wizard Name - Process Name"

setShowStepNumber

public void setShowStepNumber(boolean showStepNumber)

getShowStepNumber

public boolean getShowStepNumber()

Returns true if the FSMWizard has been set to show step numbers in the page title, false otherwise.

getDialog

This method returns an instance of WizardDialog that is initialized to interact with the FSMWizard. This method will return the same WizardDialog instance on subsequent invocations, even if the specified Frame is different.

getDialog

setDialog

public void setDialog(oracle.bali.ewt.wizard.WizardDialog dialog)

This method takes an instance of WizardDialog and associates it with the FSMWizard so that WizardCallbacks messages coming from the individual panels will be routed to the WizardDialog. This method only needs to be used if the WizardDialog needs to be created or initialized in some custom way before displaying the FSMWizard.

If the specified WizardDialog is null, then any currently associated dialog will be unassociated.

dispose

public void dispose()

Dispose any memory associated with the Wizard. Once this method is called the Wizard is unusable and clients should not call any methods on Wizard.

Overrides:

dispose in class oracle.bali.ewt.wizard.Wizard

isDisposed

public boolean isDisposed()

reset

public void reset()

Resets the wizard. Override to rest the fsm.

Overrides:

reset in class oracle.bali.ewt.wizard.BaseWizard

doPrevious

protected void doPrevious()

Handles the user hitting the "Previous" button. Overridden to validate FSM before moving to the previous page.

Overrides:

doPrevious in class oracle.bali.ewt.wizard.BaseWizard

doNext

protected void doNext()

Handles the user hitting the "Next" button. Overridden to validate FSM before moving to the previous page.

Overrides:

doNext in class oracle.bali.ewt.wizard.BaseWizard

doFinish

protected void doFinish()

This method only delegates to super.doFinish() if exiting the current panel succeeds.