KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jdesktop > swing > auth > LoginListener


1 package org.jdesktop.swing.auth;
2
3 /*
4  * $Id: LoginListener.java,v 1.2 2005/01/28 01:35:06 bino_george Exp $
5  *
6  * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
7  * Santa Clara, California 95054, U.S.A. All rights reserved.
8  */

9
10 import java.util.EventObject JavaDoc;
11
12 /*
13  * <b>LoginListener</b> provides a listener for the actual login
14  * process.
15  *
16  * @author Bino George
17  */

18 public interface LoginListener {
19     
20     /**
21      * Called by the <strong>JXLoginPanel</strong> in the event of a login failure
22      *
23      * @param source panel that fired the event
24      */

25     public void loginFailed(EventObject JavaDoc source);
26     /**
27      * Called by the <strong>JXLoginPanel</strong> when the Authentication
28      * operation is started.
29      * @param source panel that fired the event
30      */

31     public void loginStarted(EventObject JavaDoc source);
32     /**
33      * Called by the <strong>JXLoginPanel</strong> in the event of a login
34      * cancellation by the user.
35      *
36      * @param source panel that fired the event
37      */

38     public void loginCanceled(EventObject JavaDoc source);
39     /**
40      * Called by the <strong>JXLoginPanel</strong> in the event of a
41      * successful login.
42      *
43      * @param source panel that fired the event
44      */

45     public void loginSucceeded(EventObject JavaDoc source);
46 }
47
Popular Tags