Package com.adventure

Class Main

java.lang.Object
javafx.application.Application
com.adventure.Main

public class Main extends javafx.application.Application
Main class used to start the application.
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    loadIcons(javafx.stage.Stage stage)
    Loads necessary icons for the application.
    static void
    main(String[] args)
    Main function, launches the application.
    void
    start(javafx.stage.Stage stage)
     

    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

    • Main

      public Main()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage)
      Specified by:
      start in class javafx.application.Application
    • loadIcons

      public void loadIcons(javafx.stage.Stage stage)
      Loads necessary icons for the application.
      Parameters:
      stage - Application stage.
    • main

      public static void main(String[] args)
      Main function, launches the application.
      Parameters:
      args - Command line arguments.