Package ffx

Class Main

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public final class Main extends JFrame
The Main class is the entry point to the graphical user interface version of Force Field X.
Since:
1.0
Author:
Michael J. Schnieders
See Also:
  • Field Details

    • mainPanel

      public static MainPanel mainPanel
      This is the main application wrapper.
  • Constructor Details

    • Main

      public Main(@Nullable File commandLineFile, List<String> argList)
      Main does some window initializations.
      Parameters:
      commandLineFile - a File object.
      argList - a List object.
  • Method Details

    • main

      public static void main(String[] args)
      Create an instance of Force Field X
      Parameters:
      args - an array of String objects.
    • initMain

      public static File initMain(String[] args, List<String> argList)
      Process the input arguments into a List, start the logging, start Parallel Java and process the input command.
      Parameters:
      args - an array of String objects.
      argList - List is filled with processed arguments.
      Returns:
      A file for FFX to operate on.
    • ffxScript

      public static groovy.lang.Script ffxScript(String[] args)
      A main entry point that runs a script and return a refernce to the result.
      Parameters:
      args - an array of String objects.
      Returns:
      A Groovy Script instance.
    • runScript

      public static groovy.lang.Script runScript(ModelingShell shell, File commandLineFile, List<String> argList)
    • toString

      public String toString()

      Commons.Lang Style toString.

      Overrides:
      toString in class Component