GWTApplication.client
Class ChangePasswordListener

java.lang.Object
  extended by GWTApplication.client.ChangePasswordListener
All Implemented Interfaces:
com.google.gwt.user.client.ui.ClickListener, java.util.EventListener

 class ChangePasswordListener
extends java.lang.Object
implements com.google.gwt.user.client.ui.ClickListener

This class is a listener class which is called when the user clicks upon the Change Password link at the top of the display and results in a dialog window being displayed in which the user can enter the details of a new password.

Version:
$Id: ChangePasswordListener.java,v 1.2 2007/08/17 14:22:43 cb Exp $
Author:
Craige Bevil

Field Summary
private  ChangePasswordDialogBox changePasswordDialog
          This is the dialog window in which the user will change his password
private  FaultServiceAsync svc
          This is the service which will be used to access the servlet which is running in the tomcat container
private  AuthenticationDetails UserAuthentication
          The authentication details of the user
 
Constructor Summary
ChangePasswordListener(AuthenticationDetails UserAuthentication)
          Constructor
 
Method Summary
 void onClick(com.google.gwt.user.client.ui.Widget sender)
          This is called when the user clicks on the hyperlink which allows the user to change his password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changePasswordDialog

private ChangePasswordDialogBox changePasswordDialog
This is the dialog window in which the user will change his password


UserAuthentication

private AuthenticationDetails UserAuthentication
The authentication details of the user


svc

private final FaultServiceAsync svc
This is the service which will be used to access the servlet which is running in the tomcat container

Constructor Detail

ChangePasswordListener

ChangePasswordListener(AuthenticationDetails UserAuthentication)
Constructor

Parameters:
UserAuthentication - This is the details of the users authentication.
Method Detail

onClick

public void onClick(com.google.gwt.user.client.ui.Widget sender)
This is called when the user clicks on the hyperlink which allows the user to change his password. It results in the the dialog box which is used to change the password being displayed (see ChangePasswordDialogBox).

Specified by:
onClick in interface com.google.gwt.user.client.ui.ClickListener
Parameters:
sender - This is the widget that raised this event.