Package org.jmol.api

Interface JmolScriptEvaluator

    • Method Detail

      • pushContextDown

        void pushContextDown​(String why)
      • resumeEval

        void resumeEval​(Object sc)
      • getAllowJSThreads

        boolean getAllowJSThreads()
      • setCompiler

        void setCompiler()
      • getAtomBitSet

        javajs.util.BS getAtomBitSet​(Object atomExpression)
      • isStopped

        boolean isStopped()
      • notifyResumeStatus

        void notifyResumeStatus()
      • isPaused

        boolean isPaused()
      • getNextStatement

        String getNextStatement()
      • resumePausedExecution

        void resumePausedExecution()
      • stepPausedExecution

        void stepPausedExecution()
      • pauseExecution

        void pauseExecution​(boolean b)
      • isExecuting

        boolean isExecuting()
      • haltExecution

        void haltExecution()
      • compileScriptFile

        boolean compileScriptFile​(String strScript,
                                  boolean isQuiet)
      • compileScriptString

        boolean compileScriptString​(String strScript,
                                    boolean isQuiet)
      • getErrorMessage

        String getErrorMessage()
      • getErrorMessageUntranslated

        String getErrorMessageUntranslated()
      • getScript

        String getScript()
      • setDebugging

        void setDebugging()
      • isStepping

        boolean isStepping()
      • evaluateExpression

        Object evaluateExpression​(Object stringOrTokens,
                                  boolean asVariable,
                                  boolean compileOnly)
      • deleteAtomsInVariables

        void deleteAtomsInVariables​(javajs.util.BS bsDeleted)
      • evalFunctionFloat

        float evalFunctionFloat​(Object func,
                                Object params,
                                float[] values)
      • evaluateCompiledScript

        void evaluateCompiledScript​(boolean isSyntaxCheck,
                                    boolean isSyntaxAndFileCheck,
                                    boolean historyDisabled,
                                    boolean listCommands,
                                    javajs.util.SB outputBuffer,
                                    boolean allowThreads)
      • setObjectPropSafe

        String setObjectPropSafe​(String id,
                                 int tokCommand)
      • stopScriptThreads

        void stopScriptThreads()
      • isStateScript

        boolean isStateScript()
      • checkSelect

        boolean checkSelect​(Map<String,​SV> h,
                            T[] where)
      • setStatic

        int setStatic​(int tok,
                      int value)