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

    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

    Constructors 
    Constructor Description
    ProgramController()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    this is called by main
    void start​(javafx.stage.Stage stage)
    this is called after the application class has finished.

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    Methods inherited from class java.lang.Object

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

  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.lang.Exception
      this 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.Exception
      this is called after the application class has finished.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - the stage given to the function by application.
      Throws:
      java.lang.Exception - any thing that could go wrong.