Class LoginApplication
java.lang.Object
javafx.application.Application
com.example.wellbeing_project.login.LoginApplication
public class LoginApplication
extends javafx.application.Application
Creates the integrative GUI for users to login.
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters
-
Field Summary
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
The main method used to launch the applicationvoid
openHomeApplication
(javafx.stage.Stage stage) Method to close the current stage and open the Home Application stage.void
openSignup
(javafx.stage.Stage stage) void
start
(javafx.stage.Stage stage) void
stop()
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
-
Constructor Details
-
LoginApplication
public LoginApplication()
-
-
Method Details
-
start
- Specified by:
start
in classjavafx.application.Application
- Throws:
IOException
-
openSignup
public void openSignup(javafx.stage.Stage stage) -
stop
- Overrides:
stop
in classjavafx.application.Application
- Throws:
Exception
-
openHomeApplication
public void openHomeApplication(javafx.stage.Stage stage) Method to close the current stage and open the Home Application stage.- Parameters:
stage
- The stage to be closed
-
main
The main method used to launch the application- Parameters:
args
- command line arguments.
-