Class SolverAndPersistenceFrame.SolveWorker
- java.lang.Object
-
- javax.swing.SwingWorker<Solution_,Void>
-
- org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame.SolveWorker
-
- All Implemented Interfaces:
Runnable
,Future<Solution_>
,RunnableFuture<Solution_>
- Enclosing class:
- SolverAndPersistenceFrame<Solution_>
protected class SolverAndPersistenceFrame.SolveWorker extends SwingWorker<Solution_,Void>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
-
-
Constructor Summary
Constructors Constructor Description SolveWorker(Solution_ problem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Solution_
doInBackground()
protected void
done()
-
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
-
-
-
-
Field Detail
-
problem
protected final Solution_ problem
-
-
Constructor Detail
-
SolveWorker
public SolveWorker(Solution_ problem)
-
-
Method Detail
-
doInBackground
protected Solution_ doInBackground() throws Exception
- Specified by:
doInBackground
in classSwingWorker<Solution_,Void>
- Throws:
Exception
-
done
protected void done()
- Overrides:
done
in classSwingWorker<Solution_,Void>
-
-