Package start
Class Main
- java.lang.Object
-
- javafx.application.Application
-
- start.Main
-
public class Main extends javafx.application.ApplicationMain starting Java commands for the Production GUI.- Author:
- Brandon Heck
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)static voidsetProduct(Product device)Passes a Product Device to the Controller so that it is able to Retain the.voidstart(javafx.stage.Stage primaryStage)voidtoggleStage(boolean show)Toggle Stage.voidvalidatePassword(java.lang.String pass)Sends the entered password to test if it is valid to the database.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
start
public void start(javafx.stage.Stage primaryStage) throws java.lang.Exception- Specified by:
startin classjavafx.application.Application- Throws:
java.lang.Exception
-
validatePassword
public void validatePassword(java.lang.String pass)
Sends the entered password to test if it is valid to the database.- Parameters:
pass- Password to try to log into the database with.
-
toggleStage
public void toggleStage(boolean show)
Toggle Stage.- Parameters:
show- true = show the stage | false = hide the stage.
-
setProduct
public static void setProduct(Product device)
Passes a Product Device to the Controller so that it is able to Retain the. Provided information from the User when they added the type of product they Selected.- Parameters:
device- is-a Product class that extends Product and has further information about the Product to add the the Product Database.
-
-