java.lang.Objectnet.jspcontrols.wizard.impl.WizardStep
net.jspcontrols.dialogs.samples.wizardaction.rules.StepSignup
Identification node of Signup wizard, the first node of the wizard. it allows to enter name and password of a new user, and also to choose an option to provide additional information (the information itself would be provided on the second step: Personalization)
| Field Summary |
| Fields inherited from class net.jspcontrols.wizard.impl.WizardStep |
incomingTransition, stateName, wizard |
| Constructor Summary | |
StepSignup(SignupWizard value,
java.lang.String name)
Creates Signup node |
|
| Method Summary | |
java.lang.String |
getConfirmPassword()
Returns repeated user password |
java.lang.String |
getName()
Returns user name stored in the wizard |
java.lang.String |
getPassword()
Returns user password stored in the wizard as cleartext. |
boolean |
getPersonalize()
Returns true if personalization flag is set. |
void |
resetBooleans()
Instructs the node to clear boolean values. |
void |
setConfirmPassword(java.lang.String confirmPassword)
Sets repeated user password in the wizard |
void |
setName(java.lang.String name)
Sets user name in the wizard |
void |
setPassword(java.lang.String password)
Sets user password in the wizard |
void |
setPersonalize(boolean personalize)
Sets personalization flag. |
boolean |
validateNameAndPassword()
Validates name and password. |
| Methods inherited from class net.jspcontrols.wizard.impl.WizardStep |
addOutgoingTransition, checkTraverseBack, getIncomingTransition, getOutgoingTransition, getOutgoingTransitions, getStateName, getWizard, isCheckpoint, isStateInPath, setCheckpoint, setIncomingTransition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StepSignup(SignupWizard value,
java.lang.String name)
value - owner wizard object, used to reference wizard-wide
objects like error messagesname - name of this node| Method Detail |
public java.lang.String getConfirmPassword()
public java.lang.String getName()
public java.lang.String getPassword()
public boolean getPersonalize()
public void resetBooleans()
public void setConfirmPassword(java.lang.String confirmPassword)
confirmPassword - user password to set in the wizardpublic void setName(java.lang.String name)
name - user name to set in the wizardpublic void setPassword(java.lang.String password)
password - user password to set in the wizardpublic void setPersonalize(boolean personalize)
personalize - true if user wants to provide additional
information about himself.public boolean validateNameAndPassword()