Package io.github.michael_bailey.client
Class ProgramController
java.lang.Object
javafx.application.Application
io.github.michael_bailey.client.ProgramController
public class ProgramController
extends javafx.application.Application
Program Controller.
This class manages all data and resources for the program.
it has all interactions between windows and data models defined in this class.
it also contatins all event handlers that
- Since:
- 1.0
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ProgramController()
-
Method Summary
-
Constructor Details
-
ProgramController
public ProgramController()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.lang.Exceptionthis is called by main- Parameters:
args
- arguments passed from the command line- Throws:
java.lang.Exception
- any exception
-
start
public void start(javafx.stage.Stage stage) throws java.lang.Exceptionthis is called after the application class has finished.- Specified by:
start
in classjavafx.application.Application
- Parameters:
stage
- the stage given to the function by application.- Throws:
java.lang.Exception
- any thing that could go wrong.
-