Class PamWizard

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
CalibrationsExportWizard, DeploymentWizard, DetectionsExportWizard

public abstract class PamWizard extends PamDialog
See Also:
  • Constructor Details

    • PamWizard

      public PamWizard(Window parentFrame, String title)
  • Method Details

    • addCard

      public void addCard(PamWizardCard wizPanel)
    • getMainPanel

      public JPanel getMainPanel()
      Get the main panel. This is the main dialog panel and uses a borderlayout with the cards in the CENTER of the panel. Additional information panels (generally fixed and not changing with the dialog) can be added NORTH, SOUTH, WEST and EAST.
      Returns:
      main Panel.
    • enableControls

      public void enableControls()
    • setCardParams

      public abstract void setCardParams(PamWizardCard wizardCard)
    • getCardParams

      public abstract boolean getCardParams(PamWizardCard wizardCard)
    • getCardIndex

      public int getCardIndex()
    • getPreviousButton

      public JButton getPreviousButton()
    • setParams

      public void setParams()
    • getParams

      public boolean getParams()
      Description copied from class: PamDialog
      called when the Ok button is pressed. This must return true in order that the dialog may close. It should also copy all parameters into an object that will be returned by showDialog.
      Specified by:
      getParams in class PamDialog
    • restoreDefaultSettings

      public void restoreDefaultSettings()
      Description copied from class: PamDialog
      standard function which should us used to copy default parameters into the dialog controls.
      Specified by:
      restoreDefaultSettings in class PamDialog
    • moveFirst

      public void moveFirst()
      Move to the first card in the stack
    • moveLast

      public void moveLast()
      Move to the last card in the stack