Package gui.controller.auth
Class AuthActionListener
java.lang.Object
gui.controller.auth.AuthActionListener
- All Implemented Interfaces:
ExceptionProvider,ActionListener,EventListener,ApplicationResponseProvider<AuthorizeResponse>
- Direct Known Subclasses:
RegisterActionListener
public class AuthActionListener
extends Object
implements ActionListener, ApplicationResponseProvider<AuthorizeResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionAuthActionListener(JTextField usernameField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidacceptResponse(AuthorizeResponse response) voidprotected JTextFieldprotected JPasswordField
-
Constructor Details
-
AuthActionListener
public AuthActionListener(JTextField usernameField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider)
-
-
Method Details
-
getLoginField
-
getPasswordField
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
acceptException
- Specified by:
acceptExceptionin interfaceExceptionProvider
-
acceptResponse
- Specified by:
acceptResponsein interfaceApplicationResponseProvider<AuthorizeResponse>
-