Package org.openscience.jmol.app
Class JmolApp
java.lang.Object
org.openscience.jmol.app.JmolApp
- All Implemented Interfaces:
JmolAppAPI
- Direct Known Subclasses:
Nmr
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHistoryWindowDimInfo
(String name, Component window, Dimension inner) void
addHistoryWindowInfo
(String name, Component window, Point border) private void
checkOptions
(org.apache.commons.cli.CommandLine line, org.apache.commons.cli.Options options) getHistoryWindowSize
(String name) private org.apache.commons.cli.Options
void
parseCommandLine
(String[] args) private void
runScript
(String script, boolean outputResults, JmolViewer vwr) void
startViewer
(JmolViewer vwr, SplashInterface splash, boolean isJmolData)
-
Field Details
-
port
public int portThe data model. -
startupWidth
public int startupWidth -
startupHeight
public int startupHeight -
haveBorder
public boolean haveBorder -
userPropsFile
-
historyFile
-
pluginFile
-
haveConsole
public boolean haveConsole -
haveDisplay
public boolean haveDisplay -
splashEnabled
public boolean splashEnabled -
isDataOnly
public boolean isDataOnly -
isKiosk
public boolean isKiosk -
isPrintOnly
public boolean isPrintOnly -
isSilent
public boolean isSilent -
info
-
jmolPosition
-
autoAnimationDelay
public float autoAnimationDelay -
modelFilename
-
scriptFilename
-
script1
-
script2
-
scanInput
private boolean scanInput
-
-
Constructor Details
-
JmolApp
public JmolApp() -
JmolApp
standard Jmol application entry point- Parameters:
args
-
-
-
Method Details
-
parseCommandLine
-
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
-
runScript
-
addHistoryWindowInfo
- Specified by:
addHistoryWindowInfo
in interfaceJmolAppAPI
-
addHistoryWindowDimInfo
- Specified by:
addHistoryWindowDimInfo
in interfaceJmolAppAPI
-
getHistoryWindowPosition
- Specified by:
getHistoryWindowPosition
in interfaceJmolAppAPI
-
getHistoryWindowSize
- Specified by:
getHistoryWindowSize
in interfaceJmolAppAPI
-