Package NTNU.IDATT1002.controllers
Class SignUp
java.lang.Object
NTNU.IDATT1002.controllers.SignUp
public class SignUp
extends java.lang.Object
Controls the buttons and changeable elements on signup.fxml,
a page where you create a new user for the application
- Version:
- 1.0 22.03.2020
- Author:
- madslun, Simon Jensen
-
Field Summary
Fields Modifier and Type Field Description javafx.scene.control.PasswordField
confirm_password
javafx.scene.control.DatePicker
signup_birthDate
javafx.scene.control.Button
signup_btn
javafx.scene.control.TextField
signup_email
javafx.scene.control.TextField
signup_firstName
javafx.scene.layout.GridPane
signup_form
javafx.scene.control.TextField
signup_lastName
javafx.scene.control.PasswordField
signup_password
javafx.scene.control.TextField
signup_phoneCode
javafx.scene.control.TextField
signup_phoneNr
javafx.scene.control.TextField
signup_username
UserService
userService
-
Constructor Summary
Constructors Constructor Description SignUp()
-
Method Summary
-
Field Details
-
signup_form
public javafx.scene.layout.GridPane signup_form -
signup_firstName
public javafx.scene.control.TextField signup_firstName -
signup_lastName
public javafx.scene.control.TextField signup_lastName -
signup_username
public javafx.scene.control.TextField signup_username -
signup_email
public javafx.scene.control.TextField signup_email -
signup_password
public javafx.scene.control.PasswordField signup_password -
confirm_password
public javafx.scene.control.PasswordField confirm_password -
signup_phoneCode
public javafx.scene.control.TextField signup_phoneCode -
signup_phoneNr
public javafx.scene.control.TextField signup_phoneNr -
signup_birthDate
public javafx.scene.control.DatePicker signup_birthDate -
userService
-
signup_btn
public javafx.scene.control.Button signup_btn
-
-
Constructor Details
-
SignUp
public SignUp()
-
-
Method Details
-
signup
public void signup(javafx.event.ActionEvent actionEvent) throws java.io.IOExceptionMethod that changes scene if signup scheme is filled correctly to Login- Parameters:
actionEvent
-- Throws:
java.io.IOException
-
cancel
public void cancel(javafx.event.ActionEvent event) throws java.io.IOException- Throws:
java.io.IOException
-