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

    Modifier and Type Method Description
    void cancel​(javafx.event.ActionEvent event)  
    void signup​(javafx.event.ActionEvent actionEvent)
    Method that changes scene if signup scheme is filled correctly to Login

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • signup

      public void signup​(javafx.event.ActionEvent actionEvent) throws java.io.IOException
      Method 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