com.sptci.system
Class SuggestPasswordListener
java.lang.Object
com.sptci.echo2.Listener<PasswordController>
com.sptci.system.SuggestPasswordListener
- All Implemented Interfaces:
- Serializable, EventListener, ActionListener
class SuggestPasswordListener
- extends Listener<PasswordController>
The action listener that is used to update PasswordPane.suggest
with a recommended randomly generated password.
Copyright 2007 Sans Pareil Technologies, Inc.
- Version:
- $Id: SuggestPasswordListener.java 3135 2007-04-24 01:16:30Z rakesh $
- Author:
- Rakesh Vidyadharan 2007-04-23
|
Field Summary |
static int |
PASSWORD_LENGTH
The length of the password that is to be generated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASSWORD_LENGTH
public static final int PASSWORD_LENGTH
- The length of the password that is to be generated.
8
- See Also:
- Constant Field Values
SuggestPasswordListener
SuggestPasswordListener(PasswordController controller)
- Create a new instance of the listener backed by the specified
controller.
- Parameters:
controller - The controller to use to access the view that is
to be updated.
actionPerformed
public void actionPerformed(ActionEvent event)
- The action listener implementation. Updates
PasswordPane.suggest with a recommended value.
- See Also:
PasswordController.setSuggest(java.lang.String),
PasswordGenerator.generate( int )