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
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Next() public méthode

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
Résultat void

Previous() public méthode

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
Résultat void

Start() public méthode

Starts the wizard by moving to the first step.
public Start ( ) : void
Résultat void

WizardControlVWG() public méthode

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
Résultat System