Package org.jdesktop.swingx
Class JXLoginPane.LoginListenerImpl
- java.lang.Object
-
- org.jdesktop.swingx.auth.LoginAdapter
-
- org.jdesktop.swingx.JXLoginPane.LoginListenerImpl
-
- All Implemented Interfaces:
java.util.EventListener,LoginListener
- Enclosing class:
- JXLoginPane
protected class JXLoginPane.LoginListenerImpl extends LoginAdapter
Listener class to track state in the LoginService
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoginListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidloginCanceled(LoginEvent source)Called by the JXLoginPane in the event of a login cancellation by the user.voidloginFailed(LoginEvent source)Called by the JXLoginPane in the event of a login failurevoidloginStarted(LoginEvent source)Called by the JXLoginPane when the Authentication operation is started.voidloginSucceeded(LoginEvent source)Called by the JXLoginPane in the event of a successful login.
-
-
-
Method Detail
-
loginSucceeded
public void loginSucceeded(LoginEvent source)
Description copied from interface:LoginListenerCalled by the JXLoginPane in the event of a successful login.- Specified by:
loginSucceededin interfaceLoginListener- Overrides:
loginSucceededin classLoginAdapter- Parameters:
source- panel that fired the event
-
loginStarted
public void loginStarted(LoginEvent source)
Description copied from interface:LoginListenerCalled by the JXLoginPane when the Authentication operation is started.- Specified by:
loginStartedin interfaceLoginListener- Overrides:
loginStartedin classLoginAdapter- Parameters:
source- panel that fired the event
-
loginFailed
public void loginFailed(LoginEvent source)
Description copied from interface:LoginListenerCalled by the JXLoginPane in the event of a login failure- Specified by:
loginFailedin interfaceLoginListener- Overrides:
loginFailedin classLoginAdapter- Parameters:
source- panel that fired the event
-
loginCanceled
public void loginCanceled(LoginEvent source)
Description copied from interface:LoginListenerCalled by the JXLoginPane in the event of a login cancellation by the user.- Specified by:
loginCanceledin interfaceLoginListener- Overrides:
loginCanceledin classLoginAdapter- Parameters:
source- panel that fired the event
-
-