Class WizardBase

java.lang.Object
net.thevpc.nuts.nswing.WizardBase
All Implemented Interfaces:
Wizard

public abstract class WizardBase extends Object implements Wizard
  • Constructor Details

    • WizardBase

      public WizardBase()
  • Method Details

    • isExitOnCloseFrame

      public boolean isExitOnCloseFrame()
    • setExitOnCloseFrame

      public void setExitOnCloseFrame(boolean exitOnCloseFrame)
    • getFrameTitle

      public String getFrameTitle()
    • getFrameIconImage

      public Image getFrameIconImage()
    • setFrameIconImage

      public void setFrameIconImage(Image frameIconImage)
    • setFrameTitle

      public void setFrameTitle(String frameTitle)
    • onNextButton

      public void onNextButton()
      Specified by:
      onNextButton in interface Wizard
    • onPreviousButton

      public void onPreviousButton()
      Specified by:
      onPreviousButton in interface Wizard
    • onCancelButton

      public void onCancelButton()
      Specified by:
      onCancelButton in interface Wizard
    • onExitButton

      public void onExitButton()
      Specified by:
      onExitButton in interface Wizard
    • getFrame

      public JFrame getFrame()
      Specified by:
      getFrame in interface Wizard
    • getNextButton

      public JButton getNextButton()
      Specified by:
      getNextButton in interface Wizard
    • getPreviousButton

      public JButton getPreviousButton()
      Specified by:
      getPreviousButton in interface Wizard
    • getCancelButton

      public JButton getCancelButton()
      Specified by:
      getCancelButton in interface Wizard
    • getExitButton

      public JButton getExitButton()
      Specified by:
      getExitButton in interface Wizard
    • getPagesCount

      public int getPagesCount()
      Specified by:
      getPagesCount in interface Wizard
    • setDarkMode

      public void setDarkMode(boolean darkMode)
      Specified by:
      setDarkMode in interface Wizard
    • setProgressByPageIndex

      public void setProgressByPageIndex()
    • applyPlaf

      public void applyPlaf()
      Specified by:
      applyPlaf in interface Wizard
    • showFrame

      public JFrame showFrame()
    • createFrame

      public JFrame createFrame()
    • createMainPanel

      public JPanel createMainPanel()
    • createBottom

      public JPanel createBottom()
    • hasNext

      public boolean hasNext(int pageIndex)
      Specified by:
      hasNext in interface Wizard
    • hasPrevious

      public boolean hasPrevious(int pageIndex)
      Specified by:
      hasPrevious in interface Wizard
    • getVars

      public Map<String,Object> getVars()
      Specified by:
      getVars in interface Wizard
    • loadingPage

      protected abstract WizardPageBase loadingPage()
    • createCenterImpl

      protected abstract void createCenterImpl()
    • startLoading

      public void startLoading()
      Specified by:
      startLoading in interface Wizard
    • stopLoading

      public void stopLoading(int index)
      Specified by:
      stopLoading in interface Wizard
    • addPanel

      protected void addPanel(WizardPageBase p)
    • createLeftImpl

      protected JComponent createLeftImpl()
    • setLefComponent

      public void setLefComponent(JComponent c)