Package no.ntnu.idatt

Class App

java.lang.Object
javafx.application.Application
no.ntnu.idatt.App

public class App extends javafx.application.Application
JavaFX App, this is the main class of the application. Loads FXML files and shows stages.
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static javafx.stage.Stage
     

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
    App()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main​(String[] args)
     
    void
    start​(javafx.stage.Stage stage)
     
    void
     

    Methods inherited from class javafx.application.Application

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

    Methods inherited from class java.lang.Object

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

    • primaryStage

      public static javafx.stage.Stage primaryStage
  • Constructor Details

    • App

      public App()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage) throws Exception
      Specified by:
      start in class javafx.application.Application
      Throws:
      Exception
    • stop

      public void stop() throws IOException
      Overrides:
      stop in class javafx.application.Application
      Throws:
      IOException
    • main

      public static void main(String[] args)