Class DefaultJWizardComponents
- java.lang.Object
-
- org.bidib.wizard.mvc.common.view.wizard.DefaultJWizardComponents
-
- All Implemented Interfaces:
JWizard,JWizardComponents
public class DefaultJWizardComponents extends Object implements 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
Constructors Constructor Description DefaultJWizardComponents()This class is the "bread and butter" of this framework.
-
Method Summary
-
-
-
Constructor Detail
-
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 Detail
-
addWizardPanel
public void addWizardPanel(JWizardPanel panel)
- Specified by:
addWizardPanelin interfaceJWizard- Specified by:
addWizardPanelin interfaceJWizardComponents
-
addWizardPanel
public void addWizardPanel(int index, JWizardPanel panel)- Specified by:
addWizardPanelin interfaceJWizard- Specified by:
addWizardPanelin interfaceJWizardComponents
-
addWizardPanelAfter
public void addWizardPanelAfter(JWizardPanel panelToBePlacedAfter, JWizardPanel panel)
- Specified by:
addWizardPanelAfterin interfaceJWizardComponents
-
addWizardPanelBefore
public void addWizardPanelBefore(JWizardPanel panelToBePlacedBefore, JWizardPanel panel)
- Specified by:
addWizardPanelBeforein interfaceJWizardComponents
-
addWizardPanelAfterCurrent
public void addWizardPanelAfterCurrent(JWizardPanel panel)
- Specified by:
addWizardPanelAfterCurrentin interfaceJWizardComponents
-
removeWizardPanel
public JWizardPanel removeWizardPanel(JWizardPanel panel)
- Specified by:
removeWizardPanelin interfaceJWizard- Specified by:
removeWizardPanelin interfaceJWizardComponents
-
removeWizardPanel
public JWizardPanel removeWizardPanel(int index)
- Specified by:
removeWizardPanelin interfaceJWizard- Specified by:
removeWizardPanelin interfaceJWizardComponents
-
removeWizardPanelAfter
public JWizardPanel removeWizardPanelAfter(JWizardPanel panel)
- Specified by:
removeWizardPanelAfterin interfaceJWizardComponents
-
removeWizardPanelBefore
public JWizardPanel removeWizardPanelBefore(JWizardPanel panel)
- Specified by:
removeWizardPanelBeforein interfaceJWizardComponents
-
getWizardPanel
public JWizardPanel getWizardPanel(int index)
- Specified by:
getWizardPanelin interfaceJWizard- Specified by:
getWizardPanelin interfaceJWizardComponents
-
getIndexOfPanel
public int getIndexOfPanel(JWizardPanel panel)
- Specified by:
getIndexOfPanelin interfaceJWizardComponents
-
onLastPanel
public boolean onLastPanel()
- Specified by:
onLastPanelin interfaceJWizardComponents
-
getCurrentPanel
public JWizardPanel getCurrentPanel() throws Exception
- Specified by:
getCurrentPanelin interfaceJWizardComponents- Throws:
Exception
-
updateComponents
public void updateComponents()
- Specified by:
updateComponentsin interfaceJWizardComponents
-
getWizardPanelList
public List<JWizardPanel> getWizardPanelList()
- Specified by:
getWizardPanelListin interfaceJWizard- Specified by:
getWizardPanelListin interfaceJWizardComponents
-
setWizardPanelList
public void setWizardPanelList(List<JWizardPanel> panelList)
- Specified by:
setWizardPanelListin interfaceJWizard- Specified by:
setWizardPanelListin interfaceJWizardComponents
-
getFinishAction
public FinishAction getFinishAction()
- Specified by:
getFinishActionin interfaceJWizardComponents
-
setFinishAction
public void setFinishAction(FinishAction aFinishAction)
- Specified by:
setFinishActionin interfaceJWizardComponents
-
getCancelAction
public CancelAction getCancelAction()
- Specified by:
getCancelActionin interfaceJWizardComponents
-
setCancelAction
public void setCancelAction(CancelAction aCancelAction)
- Specified by:
setCancelActionin interfaceJWizardComponents
-
getCurrentIndex
public int getCurrentIndex()
- Specified by:
getCurrentIndexin interfaceJWizardComponents
-
setCurrentIndex
public void setCurrentIndex(int aCurrentIndex)
- Specified by:
setCurrentIndexin interfaceJWizardComponents
-
getWizardPanelsContainer
public JPanel getWizardPanelsContainer()
- Specified by:
getWizardPanelsContainerin interfaceJWizardComponents
-
setWizardPanelsContainer
public void setWizardPanelsContainer(JPanel aWizardPanelsContainer)
- Specified by:
setWizardPanelsContainerin interfaceJWizardComponents
-
getBackButton
public JButton getBackButton()
- Specified by:
getBackButtonin interfaceJWizardComponents
-
setBackButton
public void setBackButton(JButton aBackButton)
- Specified by:
setBackButtonin interfaceJWizardComponents
-
getNextButton
public JButton getNextButton()
- Specified by:
getNextButtonin interfaceJWizardComponents
-
setNextButton
public void setNextButton(JButton aNextButton)
- Specified by:
setNextButtonin interfaceJWizardComponents
-
getCancelButton
public JButton getCancelButton()
- Specified by:
getCancelButtonin interfaceJWizardComponents
-
setCancelButton
public void setCancelButton(JButton aCancelButton)
- Specified by:
setCancelButtonin interfaceJWizardComponents
-
getFinishButton
public JButton getFinishButton()
- Specified by:
getFinishButtonin interfaceJWizardComponents
-
setFinishButton
public void setFinishButton(JButton button)
- Specified by:
setFinishButtonin interfaceJWizardComponents
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListenerin interfaceJWizardComponents
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfaceJWizardComponents
-
-