Class WordAutomata

java.lang.Object
javafx.application.Application
it.univr.wordautomata.WordAutomata

public class WordAutomata extends javafx.application.Application
The main class of the application. It is responsible for starting the application and initializing its base components.
  • 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
    Creates a new WordAutomata.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Exits the application.
     
    void
    run()
    Launches the application.
    void
    start(javafx.stage.Stage stage)
    Starts the application.
    void
    Toggles the theme of the application.

    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

    • WordAutomata

      public WordAutomata()
      Creates a new WordAutomata.
  • Method Details

    • getComponents

      public Components getComponents()
    • start

      public void start(javafx.stage.Stage stage) throws IOException
      Starts the application.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - the command line arguments
      Throws:
      IOException
    • toggleTheme

      public void toggleTheme()
      Toggles the theme of the application.
    • run

      public void run()
      Launches the application.
    • exit

      public void exit()
      Exits the application.