|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jrre.JRRE
The Java Reasearch Runtime Enviroments virtual machine implementation. This class manages the interactions between the objectArea, classloader, and the instruction and operand stacks.
Constructor Summary | |
JRRE(java.lang.String fileName)
Initialises the runtime enviroment, loads the class specified, and begin's execution of its init method. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Handles action events fired by button presses and passes them to registered action listeners. |
void |
addEventListener(VMEventListener listener)
|
static void |
beginExecution()
Begin/resume execution at the next instruction. |
static boolean |
execute()
Execute the top instruction. |
static boolean |
getGui()
Deprecated. |
static Class |
getRootClass()
Gets the RootClass. |
static boolean |
getRunAtLoad()
|
static boolean |
getVerbose()
Gets the Verbose mode. |
static boolean |
guiOn()
|
static void |
halt()
Halt execution. |
static void |
load(Class classToLoad)
Initialises the enviroment, loads the class specified and any classes it referanced, and begins execution of its init method. |
static void |
pause()
|
static void |
processEvent(VMEvent event)
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
Handles action events fired by button presses and passes them to registered action listeners. |
void |
run()
|
static void |
setGui(boolean guiBool)
Sets the Gui. |
static void |
setRootClass(Class rootClass)
Sets the RootClass. |
static void |
setRunAtLoad(boolean runAtLoadSet)
|
static void |
setVerbose(boolean verboseBool)
Sets the Verbose mode. |
static boolean |
step(int stepCount)
Step to the next instruction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JRRE(java.lang.String fileName)
init
method.
fileName
- Method Detail |
public static Class getRootClass()
public static void setRootClass(Class rootClass)
public static void processEvent(VMEvent event)
public static boolean getGui()
public static boolean guiOn()
public static boolean getRunAtLoad()
public static void setRunAtLoad(boolean runAtLoadSet)
public static void setGui(boolean guiBool)
public static boolean getVerbose()
public static void setVerbose(boolean verboseBool)
public void addEventListener(VMEventListener listener)
public void propertyChange(java.beans.PropertyChangeEvent event)
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void run()
run
in interface java.lang.Runnable
public static void beginExecution()
public static void pause()
public static void halt()
public static boolean step(int stepCount)
public static boolean execute()
public static void load(Class classToLoad)
init
method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |