Package gui.controller.register
Class RegisterActionListener
java.lang.Object
gui.controller.auth.AuthActionListener
gui.controller.register.RegisterActionListener
- All Implemented Interfaces:
ExceptionProvider
,ActionListener
,EventListener
,ApplicationResponseProvider<AuthorizeResponse>
public class RegisterActionListener
extends AuthActionListener
implements ActionListener, ApplicationResponseProvider<AuthorizeResponse>
-
Constructor Summary
ConstructorDescriptionRegisterActionListener
(JTextField userNameField, JTextField loginField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
acceptResponse
(AuthorizeResponse response) void
Invoked when an action occurs.Methods inherited from class gui.controller.auth.AuthActionListener
getLoginField, getPasswordField
-
Constructor Details
-
RegisterActionListener
public RegisterActionListener(JTextField userNameField, JTextField loginField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider)
-
-
Method Details
-
actionPerformed
Invoked when an action occurs.- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classAuthActionListener
- Parameters:
e
- the event to be processed
-
acceptException
- Specified by:
acceptException
in interfaceExceptionProvider
- Overrides:
acceptException
in classAuthActionListener
-
acceptResponse
- Specified by:
acceptResponse
in interfaceApplicationResponseProvider<AuthorizeResponse>
- Overrides:
acceptResponse
in classAuthActionListener
-