C# Class Habanero.Faces.VWG.WizardControlVWG

Provides the controls for a wizard, which guides users through a process one step at a time.
Inheritance: UserControlVWG, IWizardControl
Mostrar archivo Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
Finish ( ) : void

Calls the finish method on the controller to being the completion process. If this is successful the Finished event is fired.

Next ( ) : void

Attempts to go to the next step in the wizard. If this is disallowed by the wizard controller a MessagePosted event will be fired.

Previous ( ) : void

Attempts to go to the previous step in the wizard.

Start ( ) : void

Starts the wizard by moving to the first step.

WizardControlVWG ( IWizardController wizardController, IControlFactory controlFactory ) : System

Initialises the WizardControl with the IWizardController. No logic is performed other than storing the wizard controller.

Private Methods

Method Description
CancelButton_Click ( object sender, EventArgs e ) : void
CreateButtonPanel ( ) : IPanel
DoIfCanMoveOn ( System.Operation operation ) : void
FinishButton_Click ( object sender, EventArgs e ) : void
FireFinished ( ) : void
FireMessagePosted ( string message ) : void
FireStepChanged ( IWizardStep wizardStep ) : void
NextButton_Click ( object sender, EventArgs e ) : void
PreviousButton_Click ( object sender, EventArgs e ) : void
SetButtonState ( ) : void
SetStep ( IWizardStep step ) : void

Method Details

Finish() public method

Calls the finish method on the controller to being the completion process. If this is successful the Finished event is fired.
public Finish ( ) : void
return void

Next() public method

Attempts to go to the next step in the wizard. If this is disallowed by the wizard controller a MessagePosted event will be fired.
public Next ( ) : void
return void

Previous() public method

Attempts to go to the previous step in the wizard.
If the wizard is on the first step this exception will be thrown.
public Previous ( ) : void
return void

Start() public method

Starts the wizard by moving to the first step.
public Start ( ) : void
return void

WizardControlVWG() public method

Initialises the WizardControl with the IWizardController. No logic is performed other than storing the wizard controller.
public WizardControlVWG ( IWizardController wizardController, IControlFactory controlFactory ) : System
wizardController IWizardController
controlFactory IControlFactory The control factory that this control will use to create a button
return System