|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.WindowPane
com.sptci.system.PasswordPane
public class PasswordPane
A view component that is used to display the change password form to the user.
Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected Button |
change
The button used to trigger a login action. |
protected PasswordField |
confirmPassword
The component to use to capture the confirmation of the new password. |
protected PasswordController |
controller
The controller for this view. |
protected PasswordField |
newPassword
The component to use to capture new password. |
protected TextField |
password
The component to use to capture the current password for the logged in user. |
protected Label |
suggest
The component on which the suggested password will be displayed. |
| Fields inherited from interface nextapp.echo2.app.ModalSupport |
|---|
MODAL_CHANGED_PROPERTY |
| Constructor Summary | |
|---|---|
protected |
PasswordPane()
Initialise the view using the specified controller. |
| Method Summary | |
|---|---|
protected void |
createCancel(Component component)
Initialise the component used to cancel the password change action and log out of the application. |
protected void |
createChange(Component component)
Initialise the change component and add to the specified
container component. |
protected void |
createComponent(String field,
Component component)
Initialise the specified component and add to the specified container component. |
protected void |
createSuggestPassword(Component component)
Create the components necessary to display a recommended password value. |
protected String |
getConfirmPassword()
Return the text entered into password. |
protected String |
getNewPassword()
Return the text entered into password. |
protected String |
getPassword()
Return the text entered into password. |
protected void |
initComponents()
Initialise the components of this pane. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TextField password
protected Label suggest
protected PasswordField newPassword
protected PasswordField confirmPassword
protected Button change
protected final PasswordController controller
| Constructor Detail |
|---|
protected PasswordPane()
controller.
| Method Detail |
|---|
protected void initComponents()
createComponent(java.lang.String, nextapp.echo2.app.Component),
createSuggestPassword(nextapp.echo2.app.Component),
createChange(nextapp.echo2.app.Component),
createCancel(nextapp.echo2.app.Component)
protected void createComponent(String field,
Component component)
field - The field that is to be initialised.component - The parent container to which the field is to be
added.protected void createSuggestPassword(Component component)
component - The parent container to which the components created
are to be added.protected void createChange(Component component)
change component and add to the specified
container component.
component - The parent container to which the field is to be
added.protected void createCancel(Component component)
component - The parent container to which the component is to be
added.protected String getPassword()
password.
protected String getNewPassword()
password.
protected String getConfirmPassword()
password.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||