Package VASSAL.build.module
Class WizardSupport.SavedGameLoader
java.lang.Object
java.lang.Thread
VASSAL.build.module.WizardSupport.SavedGameLoader
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
WizardSupport.TutorialLoader
- Enclosing class:
- WizardSupport
public static class WizardSupport.SavedGameLoader extends Thread
Loads a saved game in the background. Add a branch to the wizard if the loaded game has unfinished
GameSetupStep
s. Otherwise, enable the finish button.- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors Constructor Description SavedGameLoader(org.netbeans.spi.wizard.WizardController controller, Map<String,Object> settings, InputStream in, String wizardKey)
-
Method Summary
Modifier and Type Method Description protected Command
loadSavedGame()
void
run()
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
SavedGameLoader
public SavedGameLoader(org.netbeans.spi.wizard.WizardController controller, Map<String,Object> settings, InputStream in, String wizardKey)
-
-
Method Details
-
run
public void run() -
loadSavedGame
- Throws:
IOException
-