Package org.jdesktop.swingx
Class JXLoginPane.LoginListenerImpl
- java.lang.Object
-
- org.jdesktop.swingx.auth.LoginAdapter
-
- org.jdesktop.swingx.JXLoginPane.LoginListenerImpl
-
- All Implemented Interfaces:
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 protected
LoginListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loginCanceled(LoginEvent source)
Called by the JXLoginPane in the event of a login cancellation by the user.void
loginFailed(LoginEvent source)
Called by the JXLoginPane in the event of a login failurevoid
loginStarted(LoginEvent source)
Called by the JXLoginPane when the Authentication operation is started.void
loginSucceeded(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:LoginListener
Called by the JXLoginPane in the event of a successful login.- Specified by:
loginSucceeded
in interfaceLoginListener
- Overrides:
loginSucceeded
in classLoginAdapter
- Parameters:
source
- panel that fired the event
-
loginStarted
public void loginStarted(LoginEvent source)
Description copied from interface:LoginListener
Called by the JXLoginPane when the Authentication operation is started.- Specified by:
loginStarted
in interfaceLoginListener
- Overrides:
loginStarted
in classLoginAdapter
- Parameters:
source
- panel that fired the event
-
loginFailed
public void loginFailed(LoginEvent source)
Description copied from interface:LoginListener
Called by the JXLoginPane in the event of a login failure- Specified by:
loginFailed
in interfaceLoginListener
- Overrides:
loginFailed
in classLoginAdapter
- Parameters:
source
- panel that fired the event
-
loginCanceled
public void loginCanceled(LoginEvent source)
Description copied from interface:LoginListener
Called by the JXLoginPane in the event of a login cancellation by the user.- Specified by:
loginCanceled
in interfaceLoginListener
- Overrides:
loginCanceled
in classLoginAdapter
- Parameters:
source
- panel that fired the event
-
-