Package com.esprit.controllers.users
Class LoginController
java.lang.Object
com.esprit.controllers.users.LoginController
- All Implemented Interfaces:
javafx.fxml.Initializable
JavaFX controller class for the RAKCHA application. Handles UI interactions
and manages view logic using FXML.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- RAKCHA Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.scene.layout.AnchorPane
private javafx.scene.control.Label
private javafx.scene.control.TextField
private javafx.scene.control.Hyperlink
private javafx.scene.control.Hyperlink
private javafx.scene.control.Button
private static final Logger
private javafx.scene.layout.AnchorPane
private javafx.scene.control.Button
private javafx.scene.control.Label
private javafx.scene.control.PasswordField
private javafx.scene.control.Button
private javafx.scene.control.Button
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(URL location, ResourceBundle resources) (package private) void
login
(javafx.event.ActionEvent event) (package private) void
signInWithGoogle
(javafx.event.ActionEvent event) (package private) void
signInWithMicrosoft
(javafx.event.ActionEvent event) (package private) void
switchToSignUp
(javafx.event.ActionEvent event)
-
Field Details
-
LOGGER
-
anchorPane
private javafx.scene.layout.AnchorPane anchorPane -
emailErrorLabel
private javafx.scene.control.Label emailErrorLabel -
emailTextField
private javafx.scene.control.TextField emailTextField -
forgetPasswordEmailHyperlink
private javafx.scene.control.Hyperlink forgetPasswordEmailHyperlink -
forgetPasswordHyperlink
private javafx.scene.control.Hyperlink forgetPasswordHyperlink -
passwordErrorLabel
private javafx.scene.control.Label passwordErrorLabel -
passwordTextField
private javafx.scene.control.PasswordField passwordTextField -
signInButton
private javafx.scene.control.Button signInButton -
signUpButton
private javafx.scene.control.Button signUpButton -
googleSIgnInButton
private javafx.scene.control.Button googleSIgnInButton -
microsoftSignInButton
private javafx.scene.control.Button microsoftSignInButton -
loginAnchorPane
private javafx.scene.layout.AnchorPane loginAnchorPane
-
-
Constructor Details
-
LoginController
public LoginController()
-
-
Method Details
-
signInWithGoogle
void signInWithGoogle(javafx.event.ActionEvent event) throws IOException, ExecutionException, InterruptedException - Parameters:
event
-- Throws:
IOException
ExecutionException
InterruptedException
-
signInWithMicrosoft
void signInWithMicrosoft(javafx.event.ActionEvent event) throws IOException, ExecutionException, InterruptedException - Parameters:
event
-- Throws:
IOException
ExecutionException
InterruptedException
-
login
- Throws:
IOException
-
switchToSignUp
- Throws:
IOException
-
initialize
- Specified by:
initialize
in interfacejavafx.fxml.Initializable
-