|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
GWTApplication.client.FaultDBForm
GWTApplication.client.ChangePasswordDialogBox
public class ChangePasswordDialogBox
This class will allow the user to change his password. It does by means of a pop up dialog which will allow the user to enter his new password twice. If the passwords do not match the attempt at setting the password is rejected.
Field Summary | |
---|---|
private com.google.gwt.user.client.ui.Button |
CancelButton
This is the cancel button widget |
(package private) com.google.gwt.user.client.ui.DialogBox |
ChangePasswordDialog
This is the main dialog box which will be displayed |
(package private) java.lang.String |
emailAddress
This is the email address of the person that is to have his password updated |
private com.google.gwt.user.client.ui.PasswordTextBox |
NewPassword
The user will enter his new password into this text box widget. |
private com.google.gwt.user.client.ui.PasswordTextBox |
PasswordConfirmation
The user will enter his new password into this text box widget. |
private com.google.gwt.user.client.ui.Button |
SubmitButton
This is the submit button widget |
Fields inherited from class GWTApplication.client.FaultDBForm |
---|
busyIndicator, internationalizationConstants, NOLENGTHCHECK, PrinterList, svc, UserAuthentication |
Constructor Summary | |
---|---|
ChangePasswordDialogBox(FaultServiceAsync svc,
java.lang.String emailAddress)
Constructor |
Method Summary | |
---|---|
void |
onClick(com.google.gwt.user.client.ui.Widget sender)
This is the click handler which is called when the user calls presses one of the buttons on the dialog. |
void |
showChangePasswordDialog()
Displays the dialog which will allow the user to change his password. |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getElement, getWidget, initWidget, isAttached, onAttach, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final com.google.gwt.user.client.ui.Button SubmitButton
private final com.google.gwt.user.client.ui.PasswordTextBox NewPassword
private com.google.gwt.user.client.ui.PasswordTextBox PasswordConfirmation
private final com.google.gwt.user.client.ui.Button CancelButton
com.google.gwt.user.client.ui.DialogBox ChangePasswordDialog
java.lang.String emailAddress
Constructor Detail |
---|
ChangePasswordDialogBox(FaultServiceAsync svc, java.lang.String emailAddress)
svc
- Used to communicate with the remote servlet
container.emailAddress
- This is the email address of the person who
is to have his password changed.Method Detail |
---|
public void onClick(com.google.gwt.user.client.ui.Widget sender)
onClick
in interface com.google.gwt.user.client.ui.ClickListener
sender
- This is the widget which raised the event.public void showChangePasswordDialog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |