|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.simtk.pdb.LoadPdbUrlProcess
public class LoadPdbUrlProcess
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected MoleculeCollection |
molecules
|
protected java.net.URL |
url
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
protected |
LoadPdbUrlProcess(java.net.URL url,
SimpleObservable loadMoleculeObservable)
|
Method Summary | |
---|---|
void |
abort()
|
void |
cancelLoad()
|
protected java.io.InputStream |
getInputStream()
|
int |
getMaximum()
|
int |
getMinimum()
|
MoleculeCollection |
getMolecules()
|
int |
getProgress()
|
boolean |
isFailed()
|
boolean |
isSuccessful()
|
protected void |
loadMolecules()
|
void |
run()
|
void |
setPdbId(java.lang.String pdbId)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.simtk.gui.MonitoredProcess |
---|
isAlive |
Field Detail |
---|
protected java.net.URL url
protected volatile MoleculeCollection molecules
Constructor Detail |
---|
protected LoadPdbUrlProcess(java.net.URL url, SimpleObservable loadMoleculeObservable)
Method Detail |
---|
protected java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public void setPdbId(java.lang.String pdbId)
protected void loadMolecules() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void cancelLoad()
public MoleculeCollection getMolecules()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void abort()
abort
in interface MonitoredProcess
public int getProgress()
getProgress
in interface MonitoredProcess
public int getMinimum()
getMinimum
in interface MonitoredProcess
public int getMaximum()
getMaximum
in interface MonitoredProcess
public boolean isFailed()
isFailed
in interface MonitoredProcess
public boolean isSuccessful()
isSuccessful
in interface MonitoredProcess
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |