Package org.jmol.viewer
Class OutputManagerJS
java.lang.Object
org.jmol.viewer.OutputManagerJS
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
createSceneSet
(String sceneFile, String type, int width, int height) protected String
getLogPath
(String fileName) protected String
handleOutputToFile
(Map<String, Object> params, boolean doCheck) general routine for creating an image or writing data to a file passes request to statusManager to pass along to app or applet jmolStatusListener interfaceprotected String
wrapPathForAllFiles
(String cmd, String strCatch)
-
Field Details
-
vwr
-
privateKey
protected double privateKey -
SCENE_TAG
- See Also:
-
-
Constructor Details
-
OutputManagerJS
public OutputManagerJS()
-
-
Method Details
-
getLogPath
-
createSceneSet
-
handleOutputToFile
general routine for creating an image or writing data to a file passes request to statusManager to pass along to app or applet jmolStatusListener interface- Parameters:
params
- include: fileName: starts with ? --> use file dialog; type: PNG, JPG, etc.; text: String to output; bytes: byte[] or null if an image; scripts for scenes; quality: for JPG and PNG; width: image width; height: image height; fullPath: String[] returndoCheck
-- Returns:
- null (canceled) or a message starting with OK or an error message
-
wrapPathForAllFiles
-