Package hec.gui

Class WizardPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
DefineWorldCoordinatesWizardPanel, SummaryWizardPanel

public abstract class WizardPanel extends JPanel
See Also:
  • Field Details

  • Constructor Details

    • WizardPanel

      protected WizardPanel()
    • WizardPanel

      protected WizardPanel(LayoutManager lm)
      Create a new WizardJPanel object
      Parameters:
      lm - the LayoutManager for this panel
  • Method Details

    • getBackPanelName

      public String getBackPanelName()
      Return the panel name to go to if the back button is pressed. Null means no previous panel
      Returns:
      The Back Panel Name
    • getNextPanelName

      public String getNextPanelName()
      Get the panel name to go to if the next button is pressed. Null means no next panel
      Returns:
      The Next Panel Name
    • getWindowTitle

      public String getWindowTitle()
      Gets the Window Title for the dialog when this panel is active
      Returns:
      The Window Title
    • setWindowTitle

      public void setWindowTitle(String title)
      Sets the Window Title for the dialog when this panel is active
      Parameters:
      title - The new WindowTitle value
    • setBackPanelName

      public void setBackPanelName(String panelName)
      Sets the panel name when the back button is pressed.
      Parameters:
      panelName - The new BackPanelName value
    • setNextPanelName

      public void setNextPanelName(String panelName)
      Sets the panel name when the next button is pressed.
      Parameters:
      panelName - The new NextPanelName value
    • fireValidPanelPropertyChangeEvent

      protected void fireValidPanelPropertyChangeEvent()
    • isValidPanel

      public abstract boolean isValidPanel()
      return whether this panel is correctly filled in.
      Returns:
      The Valid value
    • getPanelName

      public abstract String getPanelName()
      return the name of this panel
      Returns:
      this panel's name
    • goingToNextPanel

      public void goingToNextPanel()
      called when the dialog is moving to the next panel
    • getToolTipText

      public String getToolTipText(MouseEvent e)
      Overrides:
      getToolTipText in class JComponent