|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--robi.sim.code.SimCodeLoader
| Nested Class Summary | |
(package private) static class |
SimCodeLoader.classfnfilter
|
| Field Summary | |
private java.lang.Class |
loadedClass
|
private java.lang.Thread |
me
|
| Constructor Summary | |
SimCodeLoader(java.lang.Class cl)
|
|
| Method Summary | |
static java.lang.Object[] |
getClasses(java.lang.String path)
Searches for LeJos classes on a specified path Only classes with a main method will be returned |
void |
pauseCode()
Pauses the LeJos Code running |
void |
run()
Implementation of the run() from Interface Runnable Executes the loaded LeJos code in a own thread |
void |
startCode()
Creates (if needed) and starts the LeJos Code which is loaded |
void |
stopCode()
Stops the LeJos Code Loaded |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.Thread me
private java.lang.Class loadedClass
| Constructor Detail |
public SimCodeLoader(java.lang.Class cl)
| Method Detail |
public void startCode()
public void pauseCode()
public void stopCode()
public void run()
run in interface java.lang.Runnablepublic static java.lang.Object[] getClasses(java.lang.String path)
path - Path where the LeJos classes are located
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||