org.openscience.jmol.app
Class JmolApp

java.lang.Object
  extended by org.openscience.jmol.app.JmolApp

public class JmolApp
extends java.lang.Object


Field Summary
 java.awt.Point border
           
 boolean checkScriptAndOpenFiles
           
 boolean checkScriptNoFiles
           
 java.lang.String commandOptions
           
 boolean exitUponCompletion
           
 boolean haveBorder
           
 boolean haveConsole
           
 boolean haveDisplay
           
 HistoryFile historyFile
           
 boolean isDataOnly
           
 boolean isPrintOnly
           
 boolean isSilent
           
 java.awt.Point jmolPosition
           
 boolean listCommands
           
 java.lang.String menuFile
           
 JmolAdapter modelAdapter
           
 java.lang.String modelFilename
           
 java.lang.String script
           
 java.lang.String script1
           
 java.lang.String script2
           
 java.lang.String scriptFilename
           
 boolean splashEnabled
           
 int startupHeight
          The data model.
 int startupWidth
          The data model.
 boolean transparentBackground
           
 boolean useIndependentCommandThread
           
 java.io.File userPropsFile
           
 JmolViewer viewer
           
 
Constructor Summary
JmolApp()
           
JmolApp(java.lang.String[] args)
          standard Jmol application entry point
 
Method Summary
private  void checkOptions(org.apache.commons.cli.CommandLine line, org.apache.commons.cli.Options options)
           
private  org.apache.commons.cli.Options getOptions()
           
 void parseCommandLine(java.lang.String[] args)
           
 void startViewer(JmolViewer viewer, SplashInterface splash)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startupWidth

public int startupWidth
The data model.


startupHeight

public int startupHeight
The data model.


border

public java.awt.Point border

haveBorder

public boolean haveBorder

userPropsFile

public java.io.File userPropsFile

historyFile

public HistoryFile historyFile

menuFile

public java.lang.String menuFile

splashEnabled

public boolean splashEnabled

useIndependentCommandThread

public boolean useIndependentCommandThread

transparentBackground

public boolean transparentBackground

checkScriptNoFiles

public boolean checkScriptNoFiles

checkScriptAndOpenFiles

public boolean checkScriptAndOpenFiles

exitUponCompletion

public boolean exitUponCompletion

haveConsole

public boolean haveConsole

haveDisplay

public boolean haveDisplay

isDataOnly

public boolean isDataOnly

isPrintOnly

public boolean isPrintOnly

isSilent

public boolean isSilent

listCommands

public boolean listCommands

commandOptions

public java.lang.String commandOptions

modelFilename

public java.lang.String modelFilename

scriptFilename

public java.lang.String scriptFilename

script1

public java.lang.String script1

script

public java.lang.String script

script2

public java.lang.String script2

jmolPosition

public java.awt.Point jmolPosition

viewer

public JmolViewer viewer

modelAdapter

public JmolAdapter modelAdapter
Constructor Detail

JmolApp

public JmolApp()

JmolApp

public JmolApp(java.lang.String[] args)
standard Jmol application entry point

Parameters:
args -
Method Detail

parseCommandLine

public void parseCommandLine(java.lang.String[] args)

getOptions

private org.apache.commons.cli.Options getOptions()

checkOptions

private void checkOptions(org.apache.commons.cli.CommandLine line,
                          org.apache.commons.cli.Options options)

startViewer

public void startViewer(JmolViewer viewer,
                        SplashInterface splash)