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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected JComponent
    createPanel(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.WizardPanelProvider
      Create 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, calling setProblem() and setCanFinish() as appropriate in response to user input.
      Specified by:
      createPanel in class org.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 not
      id - The name of the step, one of the array of steps passed in the constructor
      settings - 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