Class AbstractWizardPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.vividsolutions.jump.workbench.ui.wizard.AbstractWizardPanel
All Implemented Interfaces:
WizardPanel, WizardPanelV2, ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
AddDataStoreLayerWizardPanel, AddWritableDataStoreLayerWizardPanel, ChooseProjectPanel, SaveToDataStorePanel

public class AbstractWizardPanel extends JPanel implements WizardPanelV2
See Also:
  • Constructor Details

    • AbstractWizardPanel

      public AbstractWizardPanel()
    • AbstractWizardPanel

      public AbstractWizardPanel(String id, String title, String instructions)
    • AbstractWizardPanel

      public AbstractWizardPanel(String id, String nextId, String title, String instructions)
  • Method Details

    • add

      public void add(InputChangedListener listener)
      Description copied from interface: WizardPanel
      Tip: Delegate to an InputChangedFirer.
      Specified by:
      add in interface WizardPanel
      Parameters:
      listener - a party to notify when the input changes (usually the WizardDialog, which needs to know when to update the enabled state of the buttons.
    • remove

      public void remove(InputChangedListener listener)
      Specified by:
      remove in interface WizardPanel
    • fireInputChanged

      protected void fireInputChanged()
    • enteredFromLeft

      public void enteredFromLeft(Map data)
      Description copied from interface: WizardPanel
      Called when the user presses Next on this panel's previous panel
      Specified by:
      enteredFromLeft in interface WizardPanel
      Parameters:
      data - the dataMap containing all parameters
    • enteredFromRight

      public void enteredFromRight() throws Exception
      Description copied from interface: WizardPanelV2
      Called in WizardDialog when the user presses Previous on this panel's next panel to (re)initialize this panel, see e.g. SelectFilesPanel
      Specified by:
      enteredFromRight in interface WizardPanelV2
      Throws:
      Exception - if an Exception occurs
    • getData

      public Map getData()
    • exitingToRight

      public void exitingToRight() throws Exception
      Description copied from interface: WizardPanel
      Called when the user presses Next on this panel
      Specified by:
      exitingToRight in interface WizardPanel
      Throws:
      Exception - if an Exception occurs
    • exitingToLeft

      public void exitingToLeft()
      Description copied from interface: WizardPanelV2
      Called in WizardDialog when the user leaves this panel without taking action
      Specified by:
      exitingToLeft in interface WizardPanelV2
    • getID

      public String getID()
      Specified by:
      getID in interface WizardPanel
    • getInstructions

      public String getInstructions()
      Specified by:
      getInstructions in interface WizardPanel
    • getNextID

      public String getNextID()
      Specified by:
      getNextID in interface WizardPanel
      Returns:
      null to turn the Next button into a Finish button
    • setNextID

      protected void setNextID(String nextId)
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface WizardPanel
    • isInputValid

      public boolean isInputValid()
      Specified by:
      isInputValid in interface WizardPanel