public final class Run
extends java.lang.Object
Constructor and Description |
---|
Run() |
Modifier and Type | Method and Description |
---|---|
static void |
execute(java.lang.String code,
JextFrame parent)
Executes some Dawn code.
|
static void |
execute(java.lang.String code,
JextFrame parent,
boolean isThreaded)
Executes some Dawn code.
|
static void |
runScript(java.lang.String fileName,
JextFrame parent)
Runs a Jext script from a file.
|
static void |
runScript(java.lang.String fileName,
JextFrame parent,
boolean isThreaded)
Runs a Jext script from a file.
|
public static void execute(java.lang.String code, JextFrame parent)
code
- The script code to be interpretedparent
- The window which execuets the scriptpublic static void execute(java.lang.String code, JextFrame parent, boolean isThreaded)
code
- The script code to be interpretedparent
- The window which execuets the scriptisThreaded
- If true, Dawn libraries loading is threadedpublic static void runScript(java.lang.String fileName, JextFrame parent)
fileName
- Path to the scriptparent
- The Jext window which have to execute the scriptpublic static void runScript(java.lang.String fileName, JextFrame parent, boolean isThreaded)
fileName
- Path to the scriptparent
- The Jext window which have to execute the scriptisThreaded
- If true, loading of libraries is threadedCopyright ? 2002 Romain Guy.