org.optaplanner.examples.common.swingui
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
protected class SolverAndPersistenceFrame.SolveWorker
- extends SwingWorker<Solution,Void>
Methods inherited from class javax.swing.SwingWorker |
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
planningProblem
protected final Solution planningProblem
SolverAndPersistenceFrame.SolveWorker
public SolverAndPersistenceFrame.SolveWorker(Solution planningProblem)
doInBackground
protected Solution doInBackground()
throws Exception
- Specified by:
doInBackground
in class SwingWorker<Solution,Void>
- Throws:
Exception
done
protected void done()
- Overrides:
done
in class SwingWorker<Solution,Void>
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.