Class WizardBase
java.lang.Object
net.thevpc.nuts.swing.WizardBase
- All Implemented Interfaces:
Wizard
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidprotected abstract voidprotected JComponentgetFrame()intgetVars()booleanhasNext(int pageIndex) booleanhasPrevious(int pageIndex) booleanprotected abstract WizardPageBasevoidvoidvoidvoidvoidsetDarkMode(boolean darkMode) voidsetExitOnCloseFrame(boolean exitOnCloseFrame) voidsetFrameIconImage(Image frameIconImage) voidsetFrameTitle(String frameTitle) voidvoidvoidvoidstopLoading(int index)
-
Constructor Details
-
WizardBase
public WizardBase()
-
-
Method Details
-
isExitOnCloseFrame
public boolean isExitOnCloseFrame() -
setExitOnCloseFrame
public void setExitOnCloseFrame(boolean exitOnCloseFrame) -
getFrameTitle
-
getFrameIconImage
-
setFrameIconImage
-
setFrameTitle
-
onNextButton
public void onNextButton()- Specified by:
onNextButtonin interfaceWizard
-
onPreviousButton
public void onPreviousButton()- Specified by:
onPreviousButtonin interfaceWizard
-
onCancelButton
public void onCancelButton()- Specified by:
onCancelButtonin interfaceWizard
-
onExitButton
public void onExitButton()- Specified by:
onExitButtonin interfaceWizard
-
getFrame
-
getNextButton
- Specified by:
getNextButtonin interfaceWizard
-
getPreviousButton
- Specified by:
getPreviousButtonin interfaceWizard
-
getCancelButton
- Specified by:
getCancelButtonin interfaceWizard
-
getExitButton
- Specified by:
getExitButtonin interfaceWizard
-
getPagesCount
public int getPagesCount()- Specified by:
getPagesCountin interfaceWizard
-
setDarkMode
public void setDarkMode(boolean darkMode) - Specified by:
setDarkModein interfaceWizard
-
setProgressByPageIndex
public void setProgressByPageIndex() -
applyPlaf
-
showFrame
-
createFrame
-
createMainPanel
-
createBottom
-
hasNext
-
hasPrevious
public boolean hasPrevious(int pageIndex) - Specified by:
hasPreviousin interfaceWizard
-
getVars
-
loadingPage
-
createCenterImpl
protected abstract void createCenterImpl() -
startLoading
public void startLoading()- Specified by:
startLoadingin interfaceWizard
-
stopLoading
public void stopLoading(int index) - Specified by:
stopLoadingin interfaceWizard
-
addPanel
-
createLeftImpl
-
setLefComponent
-