C# Class Habanero.Faces.VWG.WizardStepVWG

A basic implementation of WizardStep that can be used for simply displaying a message. Should a step be required that is a simple message for the user (such as at the end of a wizard), this step can be used
Inheritance: UserControlVWG, IWizardStep
Afficher le fichier Open project: Chillisoft/habanero.faces

Méthodes publiques

Méthode Description
CanCancel ( ) : bool

Can the user cancel from this wizard step. I.e. the objects under the control of this step have not been moved into a state that prohibits cancelling all changes. It is very rare that you would not be able to cancel at any point in a wizard.

CanFinish ( ) : bool

Can the user select finish from this wizard step. I.e. is sufficient information captured so that all information gathered in future steps can be set to defaults.

CanMoveBack ( ) : bool

Verifies whether the user can move back from this step.

CanMoveOn ( string &message ) : bool

Always returns true as this wizard step is simply for displaying a message to a user.

CancelStep ( ) : void

Provides an interface for the developer to implement functionality to cancel all edits made as part of this wizard step. The default wizard controller functionality is to call all wizard steps cancelStep methods when its Cancel method is called on the Wizard Controller (i.e. typically when Cancel Button is selected.

InitialiseStep ( ) : void

Initialises the step. Run when the step is reached.

MoveOn ( ) : void

Does any actions involved in this wizard step when you move on to the next wizard step. E.g. Updates any Objects from User interface controls.

UndoMoveOn ( ) : void

Undoes any actions that have been done by this wizard step. Usually you would want this to do nothing since if the user does a previous and then next they would not expect to lose their. But in some cases you may have created objects based on the selection in this step and when you move back to this step you want to these so that if the user changes his/her selection then new objects or different objects are created.

WizardStepVWG ( ) : System

Constructs the WizardStep

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

CanCancel() public méthode

Can the user cancel from this wizard step. I.e. the objects under the control of this step have not been moved into a state that prohibits cancelling all changes. It is very rare that you would not be able to cancel at any point in a wizard.
public CanCancel ( ) : bool
Résultat bool

CanFinish() public méthode

Can the user select finish from this wizard step. I.e. is sufficient information captured so that all information gathered in future steps can be set to defaults.
public CanFinish ( ) : bool
Résultat bool

CanMoveBack() public méthode

Verifies whether the user can move back from this step.
public CanMoveBack ( ) : bool
Résultat bool

CanMoveOn() public méthode

Always returns true as this wizard step is simply for displaying a message to a user.
public CanMoveOn ( string &message ) : bool
message string Out parameter that will always be the empty string
Résultat bool

CancelStep() public méthode

Provides an interface for the developer to implement functionality to cancel all edits made as part of this wizard step. The default wizard controller functionality is to call all wizard steps cancelStep methods when its Cancel method is called on the Wizard Controller (i.e. typically when Cancel Button is selected.
public CancelStep ( ) : void
Résultat void

InitialiseStep() public méthode

Initialises the step. Run when the step is reached.
public InitialiseStep ( ) : void
Résultat void

MoveOn() public méthode

Does any actions involved in this wizard step when you move on to the next wizard step. E.g. Updates any Objects from User interface controls.
public MoveOn ( ) : void
Résultat void

UndoMoveOn() public méthode

Undoes any actions that have been done by this wizard step. Usually you would want this to do nothing since if the user does a previous and then next they would not expect to lose their. But in some cases you may have created objects based on the selection in this step and when you move back to this step you want to these so that if the user changes his/her selection then new objects or different objects are created.
public UndoMoveOn ( ) : void
Résultat void

WizardStepVWG() public méthode

Constructs the WizardStep
public WizardStepVWG ( ) : System
Résultat System