SPT Core API

com.sptci.echo2.login
Class UserNameListener

java.lang.Object
  extended by com.sptci.echo2.login.AbstractListener
      extended by com.sptci.echo2.login.UserNameListener
All Implemented Interfaces:
Serializable, EventListener, ActionListener

public class UserNameListener
extends AbstractListener

An action listener that transfers control from the LoginPane.userName field to the LoginPane.password field.

© Copyright 2008 Sans Pareil Technologies, Inc.

Version:
$Id: UserNameListener.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2008-04-12
See Also:
Serialized Form

Constructor Summary
UserNameListener()
           
 
Method Summary
 void actionPerformed(ActionEvent event)
          The action listener implementation.
 
Methods inherited from class com.sptci.echo2.login.AbstractListener
checkPassword, checkText, checkUserName, checkView, getLoginPane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserNameListener

public UserNameListener()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
The action listener implementation. Transfer control to the LoginPane.password field if AbstractListener.checkUserName(com.sptci.echo2.login.LoginPane) returns true. Sub-classes that need different checks on the value should override this method or AbstractListener.checkUserName(com.sptci.echo2.login.LoginPane) as appropriate.


SPT Core API