org.jext.scripting.dawn
Class Run

java.lang.Object
  extended byorg.jext.scripting.dawn.Run

public final class Run
extends java.lang.Object


Constructor Summary
Run()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Run

public Run()
Method Detail

execute

public static void execute(java.lang.String code,
                           JextFrame parent)
Executes some Dawn code.

Parameters:
code - The script code to be interpreted
parent - The window which execuets the script

execute

public static void execute(java.lang.String code,
                           JextFrame parent,
                           boolean isThreaded)
Executes some Dawn code.

Parameters:
code - The script code to be interpreted
parent - The window which execuets the script
isThreaded - If true, Dawn libraries loading is threaded

runScript

public static void runScript(java.lang.String fileName,
                             JextFrame parent)
Runs a Jext script from a file.

Parameters:
fileName - Path to the script
parent - The Jext window which have to execute the script

runScript

public static void runScript(java.lang.String fileName,
                             JextFrame parent,
                             boolean isThreaded)
Runs a Jext script from a file.

Parameters:
fileName - Path to the script
parent - The Jext window which have to execute the script
isThreaded - If true, loading of libraries is threaded


Copyright ? 2002 Romain Guy.