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
ConstructorsConstructorDescriptionRegisterActionListener(JTextField userNameField, JTextField loginField, JPasswordField passwordField, AuthActionListenerCallback callback, ExceptionProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidacceptResponse(AuthorizeResponse response) voidInvoked 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:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classAuthActionListener- Parameters:
e- the event to be processed
-
acceptException
- Specified by:
acceptExceptionin interfaceExceptionProvider- Overrides:
acceptExceptionin classAuthActionListener
-
acceptResponse
- Specified by:
acceptResponsein interfaceApplicationResponseProvider<AuthorizeResponse>- Overrides:
acceptResponsein classAuthActionListener
-