|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.hawaii.ics.yucheng.BackgroundWorker<GraphSolution,java.lang.Object>
edu.hawaii.ics.yucheng.SpanningTreeApplet.Worker
edu.hawaii.ics.yucheng.SpanningTreeApplet.DownloadGraphWorker
class SpanningTreeApplet.DownloadGraphWorker
A class that solves downloaded graphs in a background thread.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.hawaii.ics.yucheng.SpanningTreeApplet.Worker |
---|
SpanningTreeApplet.Worker.Delegate |
Field Summary | |
---|---|
private java.net.URL |
myUrl
|
Constructor Summary | |
---|---|
SpanningTreeApplet.DownloadGraphWorker(java.net.URL url)
Initializes a new instance of the class. |
Method Summary | |
---|---|
protected GraphSolution |
solve(GraphSolver solver)
Solves a graph and returns the solution. |
Methods inherited from class edu.hawaii.ics.yucheng.SpanningTreeApplet.Worker |
---|
processError, processProgress, processResult, run |
Methods inherited from class edu.hawaii.ics.yucheng.BackgroundWorker |
---|
cancel, isCancelled, isRunning, join, processDelegate, sendProgress, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.net.URL myUrl
Constructor Detail |
---|
public SpanningTreeApplet.DownloadGraphWorker(java.net.URL url)
url
- The URL.Method Detail |
---|
protected GraphSolution solve(GraphSolver solver) throws java.lang.Exception
solve
in class SpanningTreeApplet.Worker
solver
- The graph solver.
java.lang.Exception
- Thrown if there are any errors of any kind.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |