Class GS_Application

java.lang.Object
javafx.application.Application
org.gsusers.gsmv.GS_Application

public class GS_Application extends javafx.application.Application
Main class of project
  • 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
    starts G_String all over again.
     
    javafx.stage.Stage
    getter for primary stage available by a call to 'main'
    void
    helpSwitch(String sCommand)
    In response to GUI initiates 'help' action.
    static void
    main(String[] args)
    Obligatory main stub of javafx application
    javafx.scene.Scene
    In response to GUI, allows user to set program preferences that will be stored.
    void
    User has selected replication analysis.
    void
    User has selected replication synthesis
    void
    In response to GUI sets switches for script driven simulation.
    void
    In response GUI activates the analysis branch to save the collected results.
    void
    show(javafx.scene.Group _display)
    Central display king pin.
    showPDF(String sName)
    ... to display Brennan's original uRGENOVA manual pdf.
    void
    In response to GUI set switches for manual simulation
    void
    start(javafx.stage.Stage stage)
    'start' method of javafx application
    void
    In response to GUI sets switches for manual analysis
    void
    In response to GUI sets switches for script driven analysis
    void
    Except for very localized messages, the graphical user interface (GUI) is standardized.
    void
    primitive helper for 'ChangePreference', saves or restores previous scene.

    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

    • GS_Application

      public GS_Application()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage) throws IOException
      'start' method of javafx application
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - the primary stage for this application, onto which the application scene can be set. Applications may create other stages, if needed, but they will not be primary stages.
      Throws:
      IOException - if FXMLLoader fails to load
    • main

      public static void main(String[] args)
      Obligatory main stub of javafx application
      Parameters:
      args - optional string array of arguments, unused
    • show

      public void show(javafx.scene.Group _display)
      Central display king pin. Receives scene (group), and passes it on to the GUI.
      Parameters:
      _display - ;
    • getPrimaryStage

      public javafx.stage.Stage getPrimaryStage()
      getter for primary stage available by a call to 'main'
      Returns:
      primaryStage;
    • showPDF

      public File showPDF(String sName)
      ... to display Brennan's original uRGENOVA manual pdf. see also;
      Parameters:
      sName - ;
      Returns:
      File;
    • stepUp

      public void stepUp()
      Except for very localized messages, the graphical user interface (GUI) is standardized. Throughout G_String, the objects create javafx scenes called 'groups', which are handed to the 'show' subroutine. User interactions with the GUI are directly fed back to appropriate methods of Main. Responds to GUI 'Next' button.
    • startOver

      public void startOver()
      In response to GUI sets switches for script driven analysis
    • helpSwitch

      public void helpSwitch(String sCommand)
      In response to GUI initiates 'help' action. This method allows context switching to help any time. The current screen content (scene) is stored (only one level), and returned at end of help screen watching. If necessary, this method could be expanded to use a stack to save screens,
      Parameters:
      sCommand - ;
    • Simulate

      public void Simulate()
      In response to GUI set switches for manual simulation
    • Resimulate

      public void Resimulate()
      In response to GUI sets switches for script driven simulation.
    • switchChangePreferences

      public void switchChangePreferences(Boolean bPrefs)
      primitive helper for 'ChangePreference', saves or restores previous scene.
      Parameters:
      bPrefs - ;
    • freshStart

      public void freshStart()
      starts G_String all over again. Resets all switches and Nest to default
    • saveAll

      public void saveAll()
      In response GUI activates the analysis branch to save the collected results.
    • replicate

      public void replicate()
      User has selected replication analysis.
    • replicateAgain

      public void replicateAgain()
      User has selected replication synthesis
    • startFresh

      public void startFresh()
      In response to GUI sets switches for manual analysis
    • prefChanger

      public javafx.scene.Scene prefChanger()
      In response to GUI, allows user to set program preferences that will be stored.

      @return, Scene for preferences control;

      Returns:
      javafx scene showing user preferences, interactive
    • getPrefs

      public Preferences getPrefs()