Class StartConfigWizard

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class StartConfigWizard extends AbstractWizardCard
This class is the first card of the configuration wizard. It asks for the identity of the station to be configured.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • StartConfigWizard

      public StartConfigWizard()
      Create the first card for the configuration wizard.
  • Method Details

    • cardAdded

      public void cardAdded(boolean byNext)
      Called by WizardPanel when this card is first displayed in the wizard, so any additional context-specific initialization can be done that requires the card to be installed into a valid Window-rooted AWT hierarchy.
      Overrides:
      cardAdded in class AbstractWizardCard
      Parameters:
      byNext - boolean true if this method was called because the Next button was pressed, false otherwise
    • allowsNext

      public boolean allowsNext()
      Specify whether this card should allow the Next button to work in the wizard.
      Specified by:
      allowsNext in class AbstractWizardCard
      Returns:
      boolean true if the Next button should be enabled (only if a callsign has been specified)
      See Also:
    • allowsBack

      public boolean allowsBack()
      Specify whether this card should allow the Back button to work in the wizard.
      Specified by:
      allowsBack in class AbstractWizardCard
      Returns:
      boolean true if the Back button should be enabled (never for this first card)
      See Also:
    • allowsFinish

      public boolean allowsFinish()
      Specify whether this card should allow the Finish button to work in the wizard.
      Specified by:
      allowsFinish in class AbstractWizardCard
      Returns:
      boolean true if the Finish button should be enabled (never for this card)
      See Also:
    • getNextCard

      public AbstractWizardCard getNextCard()
      Get the AbstractWizardCard instance that should be displayed when the user clicks the Next button. Will only be called if allowsNext() returns true.
      Overrides:
      getNextCard in class AbstractWizardCard
      Returns:
      ConfigStationType to display
      See Also:
    • getHelpTag

      public String getHelpTag()
      Return the tag into the YAACHelpMap.jhm file for displaying help for this card if the Help button is clicked.
      Overrides:
      getHelpTag in class AbstractWizardCard
      Returns:
      String tag into the Help.jhm file
    • getTitleTag

      public String getTitleTag()
      Returns the tag into the localized ResourceBundles for the text to be displayed as the border title for this wizard card.
      Overrides:
      getTitleTag in class AbstractWizardCard
      Returns:
      String tag into the ResourceBundles
      See Also:
    • cardRemoved

      public void cardRemoved(boolean byNext)
      Called by WizardPanel when this card is taken down from this wizard, so any cleanup and closure for this panel can be done.
      Overrides:
      cardRemoved in class AbstractWizardCard
      Parameters:
      byNext - boolean true if this method was called because the Next button was pressed, false otherwise