OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.common.swingui
Class SolverAndPersistenceFrame.SolveWorker

java.lang.Object
  extended by javax.swing.SwingWorker<Solution,Void>
      extended by 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>


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
 
Field Summary
protected  Solution planningProblem
           
 
Constructor Summary
SolverAndPersistenceFrame.SolveWorker(Solution planningProblem)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

planningProblem

protected final Solution planningProblem
Constructor Detail

SolverAndPersistenceFrame.SolveWorker

public SolverAndPersistenceFrame.SolveWorker(Solution planningProblem)
Method Detail

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>

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.