Class OutputManagerJS

java.lang.Object
org.jmol.viewer.OutputManagerJS

public class OutputManagerJS extends Object
  • Field Details

  • Constructor Details

    • OutputManagerJS

      public OutputManagerJS()
  • Method Details

    • getLogPath

      protected String getLogPath(String fileName)
    • createSceneSet

      protected String createSceneSet(String sceneFile, String type, int width, int height)
    • handleOutputToFile

      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 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[] return
      doCheck -
      Returns:
      null (canceled) or a message starting with OK or an error message
    • wrapPathForAllFiles

      protected String wrapPathForAllFiles(String cmd, String strCatch)