Class DefaultJWizardComponents
- All Implemented Interfaces:
JWizard,JWizardComponents
Title: DefaultJWizardComponents
Description: Swing-Based Wizard Framework for Wizards
Copyright (C) 2003 William Ready
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
To receive a copy of the GNU Lesser General Public License
write to: The Free Software Foundation, Inc.,
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
- Version:
- 1.1 Localization and Property Change Listening implemented by Piotr KamiƱski.
- Author:
- William Ready
-
Field Summary
Fields inherited from interface org.bidib.wizard.mvc.common.view.wizard.JWizardComponents
CURRENT_PANEL_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionThis class is the "bread and butter" of this framework. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddWizardPanel(int index, JWizardPanel panel) voidaddWizardPanel(JWizardPanel panel) voidaddWizardPanelAfter(JWizardPanel panelToBePlacedAfter, JWizardPanel panel) voidvoidaddWizardPanelBefore(JWizardPanel panelToBePlacedBefore, JWizardPanel panel) intintgetIndexOfPanel(JWizardPanel panel) getWizardPanel(int index) booleanvoidremoveWizardPanel(int index) removeWizardPanel(JWizardPanel panel) voidsetBackButton(JButton aBackButton) voidsetCancelAction(CancelAction aCancelAction) voidsetCancelButton(JButton aCancelButton) voidsetCurrentIndex(int aCurrentIndex) voidsetFinishAction(FinishAction aFinishAction) voidsetFinishButton(JButton button) voidsetNextButton(JButton aNextButton) voidsetWizardPanelList(List<JWizardPanel> panelList) voidsetWizardPanelsContainer(JPanel aWizardPanelsContainer) void
-
Constructor Details
-
DefaultJWizardComponents
public DefaultJWizardComponents()This class is the "bread and butter" of this framework. All of these components can be used visually however you want, as shown in the frame and example packages, but all a developer really needs is this, and they can even instead implement JWizard and choose to do this portion any way they wish.
-
-
Method Details
-
addWizardPanel
- Specified by:
addWizardPanelin interfaceJWizard- Specified by:
addWizardPanelin interfaceJWizardComponents
-
addWizardPanel
- Specified by:
addWizardPanelin interfaceJWizard- Specified by:
addWizardPanelin interfaceJWizardComponents
-
addWizardPanelAfter
- Specified by:
addWizardPanelAfterin interfaceJWizardComponents
-
addWizardPanelBefore
- Specified by:
addWizardPanelBeforein interfaceJWizardComponents
-
addWizardPanelAfterCurrent
- Specified by:
addWizardPanelAfterCurrentin interfaceJWizardComponents
-
removeWizardPanel
- Specified by:
removeWizardPanelin interfaceJWizard- Specified by:
removeWizardPanelin interfaceJWizardComponents
-
removeWizardPanel
- Specified by:
removeWizardPanelin interfaceJWizard- Specified by:
removeWizardPanelin interfaceJWizardComponents
-
removeWizardPanelAfter
- Specified by:
removeWizardPanelAfterin interfaceJWizardComponents
-
removeWizardPanelBefore
- Specified by:
removeWizardPanelBeforein interfaceJWizardComponents
-
getWizardPanel
- Specified by:
getWizardPanelin interfaceJWizard- Specified by:
getWizardPanelin interfaceJWizardComponents
-
getIndexOfPanel
- Specified by:
getIndexOfPanelin interfaceJWizardComponents
-
onLastPanel
public boolean onLastPanel()- Specified by:
onLastPanelin interfaceJWizardComponents
-
getCurrentPanel
- Specified by:
getCurrentPanelin interfaceJWizardComponents- Throws:
Exception
-
updateComponents
public void updateComponents()- Specified by:
updateComponentsin interfaceJWizardComponents
-
getWizardPanelList
- Specified by:
getWizardPanelListin interfaceJWizard- Specified by:
getWizardPanelListin interfaceJWizardComponents
-
setWizardPanelList
- Specified by:
setWizardPanelListin interfaceJWizard- Specified by:
setWizardPanelListin interfaceJWizardComponents
-
getFinishAction
- Specified by:
getFinishActionin interfaceJWizardComponents
-
setFinishAction
- Specified by:
setFinishActionin interfaceJWizardComponents
-
getCancelAction
- Specified by:
getCancelActionin interfaceJWizardComponents
-
setCancelAction
- Specified by:
setCancelActionin interfaceJWizardComponents
-
getCurrentIndex
public int getCurrentIndex()- Specified by:
getCurrentIndexin interfaceJWizardComponents
-
setCurrentIndex
public void setCurrentIndex(int aCurrentIndex) - Specified by:
setCurrentIndexin interfaceJWizardComponents
-
getWizardPanelsContainer
- Specified by:
getWizardPanelsContainerin interfaceJWizardComponents
-
setWizardPanelsContainer
- Specified by:
setWizardPanelsContainerin interfaceJWizardComponents
-
getBackButton
- Specified by:
getBackButtonin interfaceJWizardComponents
-
setBackButton
- Specified by:
setBackButtonin interfaceJWizardComponents
-
getNextButton
- Specified by:
getNextButtonin interfaceJWizardComponents
-
setNextButton
- Specified by:
setNextButtonin interfaceJWizardComponents
-
getCancelButton
- Specified by:
getCancelButtonin interfaceJWizardComponents
-
setCancelButton
- Specified by:
setCancelButtonin interfaceJWizardComponents
-
getFinishButton
- Specified by:
getFinishButtonin interfaceJWizardComponents
-
setFinishButton
- Specified by:
setFinishButtonin interfaceJWizardComponents
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfaceJWizardComponents
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceJWizardComponents
-