Class WizardSupport.LoadSavedGamePanels
java.lang.Object
org.netbeans.spi.wizard.WizardPanelProvider
VASSAL.build.module.WizardSupport.LoadSavedGamePanels
- Enclosing class:
WizardSupport
public static class WizardSupport.LoadSavedGamePanels
extends org.netbeans.spi.wizard.WizardPanelProvider
Wizard pages for loading a saved game
- Author:
- rkinney
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JComponentcreatePanel(org.netbeans.spi.wizard.WizardController controller, String id, Map settings) Create a panel that represents a named step in the wizard.Methods inherited from class org.netbeans.spi.wizard.WizardPanelProvider
cancel, createWizard, finish, getLongDescription, indexOfStep, recycleExistingPanel, toString
-
Constructor Details
-
LoadSavedGamePanels
public LoadSavedGamePanels()
-
-
Method Details
-
createPanel
protected JComponent createPanel(org.netbeans.spi.wizard.WizardController controller, String id, Map settings) Description copied from class:org.netbeans.spi.wizard.WizardPanelProviderCreate a panel that represents a named step in the wizard. This method will be called exactly once in the life of a wizard. The panel should retain the passed settings Map, and add/remove values from it as the user enters information, callingsetProblem()andsetCanFinish()as appropriate in response to user input.- Specified by:
createPanelin classorg.netbeans.spi.wizard.WizardPanelProvider- Parameters:
controller- - the object which controls whether the Next/Finish buttons in the wizard are enabled, and what instructions are displayed to the user if they are notid- The name of the step, one of the array of steps passed in the constructorsettings- A Map containing settings from earlier steps in the wizard. It is safe to retain a reference to this map and put values in it as the user manipulates the UI; the reference should be refreshed whenever this method is called again.- Returns:
- A JComponent that should be displayed in the center of the wizard
-