Class WizardSupport.PlayOfflinePanels

java.lang.Object
org.netbeans.spi.wizard.WizardPanelProvider
VASSAL.build.module.WizardSupport.PlayOfflinePanels
Enclosing class:
WizardSupport

public static class WizardSupport.PlayOfflinePanels extends org.netbeans.spi.wizard.WizardPanelProvider
Wizard pages for starting a new game offline
Author:
rkinney
  • Constructor Details

  • 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
    • loadSetup

      protected void loadSetup(PredefinedSetup setup, org.netbeans.spi.wizard.WizardController controller, Map settings)