Interface JmolScriptEvaluator
- All Known Implementing Classes:
ScriptError, ScriptEval, ScriptParam
public interface JmolScriptEvaluator
-
Method Summary
Modifier and TypeMethodDescriptioncheckScriptSilent(String strScript) booleancheckSelect(Map<String, SV> h, T[] where) booleancompileScriptString(String strScript, boolean isQuiet) voiddeleteAtomsInVariables(BS bsDeleted) floatevalFunctionFloat(Object func, Object params, float[] values) booleanevalParallel(ScriptContext context, ShapeManager shapeManager) voidevaluateCompiledScript(Object[] params, boolean isSyntaxCheck, boolean isSyntaxAndFileCheck, boolean historyDisabled, boolean listCommands, SB outputBuffer, boolean allowThreads) evaluateExpression(Object stringOrTokens, boolean asVariable, boolean compileOnly) booleangetAtomBitSet(Object atomExpression) getScriptContext(String why) voidbooleanbooleanisPaused()booleanbooleanbooleanvoidloadFileResourceAsync(String fileName) voidvoidpauseExecution(boolean b) voidpushContextDown(String why) voidresumeEval(Object sc) voidvoidvoidrunScriptBuffer(String string, SB outputBuffer, boolean isFuncReturn) voidvoidsetObjectPropSafe(String id, int tokCommand) intsetStatic(int tok, int value) voidvoid
-
Method Details
-
setViewer
-
getThisContext
ScriptContext getThisContext() -
pushContextDown
-
resumeEval
-
getAllowJSThreads
boolean getAllowJSThreads() -
setCompiler
void setCompiler() -
getAtomBitSet
-
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() -
compileScriptString
-
getErrorMessage
String getErrorMessage() -
getErrorMessageUntranslated
String getErrorMessageUntranslated() -
checkScriptSilent
-
getScript
String getScript() -
setDebugging
void setDebugging() -
isStepping
boolean isStepping() -
getScriptContext
-
evaluateExpression
-
deleteAtomsInVariables
-
evalParallel
-
runScript
- Throws:
ScriptException
-
runScriptBuffer
- Throws:
ScriptException
-
evalFunctionFloat
-
evaluateCompiledScript
-
setObjectPropSafe
-
stopScriptThreads
void stopScriptThreads() -
isStateScript
boolean isStateScript() -
checkSelect
-
loadFileResourceAsync
-
setStatic
int setStatic(int tok, int value)
-