class FileLoadThread extends JmolThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private String |
cacheName |
(package private) String |
fileName |
private String |
key |
CHECK1, CHECK2, CHECK3, currentTime, eval, FINISH, hoverEnabled, INIT, isJS, isReset, lastRepaintTime, MAIN, name, sc, sleepTime, startTime, stopped, targetTime, viewer
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
FileLoadThread(JmolScriptEvaluator eval,
Viewer viewer,
String fileName,
String key,
String cacheName)
JavaScript only
|
Modifier and Type | Method and Description |
---|---|
protected void |
run1(int mode) |
(package private) void |
setData(String fileName,
Object data)
Called by Jmol._loadFileAsyncDone(this.viewer.applet).
|
checkInterrupted, interrupt, oops, reset, resumeEval, run, runSleep, setEval, setManager, setViewer, start
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
public FileLoadThread(JmolScriptEvaluator eval, Viewer viewer, String fileName, String key, String cacheName)
eval
- viewer
- fileName
- key
- cacheName
- protected void run1(int mode) throws InterruptedException
run1
in class JmolThread
InterruptedException
void setData(String fileName, Object data) throws InterruptedException
fileName
- data
- InterruptedException