Class ConfigStationType

All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ConfigStationType extends AbstractWizardCard implements ItemListener
This is the second card in the configuration wizard, identifying the type of station, and setting up auxiliary parts of YAAC as appropriate for the selected type.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • ConfigStationType

      public ConfigStationType()
      Create the station type specifying panel of the configuration wizard.
  • Method Details

    • 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
      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
      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
      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:
      AbstractWizardCard subclass to display
      See Also:
    • getPreviousCard

      public AbstractWizardCard getPreviousCard()
      Get the AbstractWizardCard instance that should be displayed when the user clicks the Back button. Will only be called if allowsBack() returns true.
      Overrides:
      getPreviousCard in class AbstractWizardCard
      Returns:
      StartConfigWizard 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. If this returns null, a Help button will not be displayed.
      Overrides:
      getHelpTag in class AbstractWizardCard
      Returns:
      String tag into the Help.jhm file, or null for no help tag
    • getTitleTag

      public String getTitleTag()
      Returns the tag into the localized ResourceBundles for the text to be displayed as the dialog 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
    • itemStateChanged

      public void itemStateChanged(ItemEvent e)
      DO NOT CALL. Callback to inform panel of checkbox changes.
      Specified by:
      itemStateChanged in interface ItemListener
      Parameters:
      e - ItemEvent identifying the modified widget