C# 클래스 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
상속: UserControlVWG, IWizardStep
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

메소드 상세

CanCancel() 공개 메소드

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
리턴 bool

CanFinish() 공개 메소드

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
리턴 bool

CanMoveBack() 공개 메소드

Verifies whether the user can move back from this step.
public CanMoveBack ( ) : bool
리턴 bool

CanMoveOn() 공개 메소드

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
리턴 bool

CancelStep() 공개 메소드

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
리턴 void

InitialiseStep() 공개 메소드

Initialises the step. Run when the step is reached.
public InitialiseStep ( ) : void
리턴 void

MoveOn() 공개 메소드

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
리턴 void

UndoMoveOn() 공개 메소드

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
리턴 void

WizardStepVWG() 공개 메소드

Constructs the WizardStep
public WizardStepVWG ( ) : System
리턴 System