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
ConstructorDescriptionAuthActionListener
(JTextField usernameField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
acceptResponse
(AuthorizeResponse response) void
protected JTextField
protected JPasswordField
-
Constructor Details
-
AuthActionListener
public AuthActionListener(JTextField usernameField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider)
-
-
Method Details
-
getLoginField
-
getPasswordField
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
acceptException
- Specified by:
acceptException
in interfaceExceptionProvider
-
acceptResponse
- Specified by:
acceptResponse
in interfaceApplicationResponseProvider<AuthorizeResponse>
-