Package org.apache.axis2.tools.component
Class DefaultWizardComponents
- java.lang.Object
-
- org.apache.axis2.tools.component.DefaultWizardComponents
-
- All Implemented Interfaces:
Wizard
,WizardComponents
public class DefaultWizardComponents extends Object implements WizardComponents
this is used for default wizard components
-
-
Field Summary
-
Fields inherited from interface org.apache.axis2.tools.component.WizardComponents
CURRENT_PANEL_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description DefaultWizardComponents()
This class is the "bread and butter" of this framework.
-
Method Summary
-
-
-
Constructor Detail
-
DefaultWizardComponents
public DefaultWizardComponents()
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(WizardPanel panel)
- Specified by:
addWizardPanel
in interfaceWizard
- Specified by:
addWizardPanel
in interfaceWizardComponents
-
addWizardPanel
public void addWizardPanel(int index, WizardPanel panel)
- Specified by:
addWizardPanel
in interfaceWizard
- Specified by:
addWizardPanel
in interfaceWizardComponents
-
addWizardPanelAfter
public void addWizardPanelAfter(WizardPanel panelToBePlacedAfter, WizardPanel panel)
- Specified by:
addWizardPanelAfter
in interfaceWizardComponents
-
addWizardPanelBefore
public void addWizardPanelBefore(WizardPanel panelToBePlacedBefore, WizardPanel panel)
- Specified by:
addWizardPanelBefore
in interfaceWizardComponents
-
addWizardPanelAfterCurrent
public void addWizardPanelAfterCurrent(WizardPanel panel)
- Specified by:
addWizardPanelAfterCurrent
in interfaceWizardComponents
-
removeWizardPanel
public WizardPanel removeWizardPanel(WizardPanel panel)
- Specified by:
removeWizardPanel
in interfaceWizard
- Specified by:
removeWizardPanel
in interfaceWizardComponents
-
removeWizardPanel
public WizardPanel removeWizardPanel(int index)
- Specified by:
removeWizardPanel
in interfaceWizard
- Specified by:
removeWizardPanel
in interfaceWizardComponents
-
removeWizardPanelAfter
public WizardPanel removeWizardPanelAfter(WizardPanel panel)
- Specified by:
removeWizardPanelAfter
in interfaceWizardComponents
-
removeWizardPanelBefore
public WizardPanel removeWizardPanelBefore(WizardPanel panel)
- Specified by:
removeWizardPanelBefore
in interfaceWizardComponents
-
getWizardPanel
public WizardPanel getWizardPanel(int index)
- Specified by:
getWizardPanel
in interfaceWizard
- Specified by:
getWizardPanel
in interfaceWizardComponents
-
getIndexOfPanel
public int getIndexOfPanel(WizardPanel panel)
- Specified by:
getIndexOfPanel
in interfaceWizardComponents
-
onLastPanel
public boolean onLastPanel()
- Specified by:
onLastPanel
in interfaceWizardComponents
-
getCurrentPanel
public WizardPanel getCurrentPanel() throws Exception
- Specified by:
getCurrentPanel
in interfaceWizardComponents
- Throws:
Exception
-
updateComponents
public void updateComponents()
- Specified by:
updateComponents
in interfaceWizardComponents
-
getWizardPanelList
public List getWizardPanelList()
- Specified by:
getWizardPanelList
in interfaceWizard
- Specified by:
getWizardPanelList
in interfaceWizardComponents
-
setWizardPanelList
public void setWizardPanelList(ArrayList panelList)
-
getFinishAction
public FinishAction getFinishAction()
- Specified by:
getFinishAction
in interfaceWizardComponents
-
setFinishAction
public void setFinishAction(FinishAction aFinishAction)
- Specified by:
setFinishAction
in interfaceWizardComponents
-
getCancelAction
public CancelAction getCancelAction()
- Specified by:
getCancelAction
in interfaceWizardComponents
-
setCancelAction
public void setCancelAction(CancelAction aCancelAction)
- Specified by:
setCancelAction
in interfaceWizardComponents
-
getCurrentIndex
public int getCurrentIndex()
- Specified by:
getCurrentIndex
in interfaceWizardComponents
-
setCurrentIndex
public void setCurrentIndex(int aCurrentIndex)
- Specified by:
setCurrentIndex
in interfaceWizardComponents
-
getWizardPanelsContainer
public JPanel getWizardPanelsContainer()
- Specified by:
getWizardPanelsContainer
in interfaceWizardComponents
-
setWizardPanelsContainer
public void setWizardPanelsContainer(JPanel aWizardPanelsContainer)
- Specified by:
setWizardPanelsContainer
in interfaceWizardComponents
-
getBackButton
public JButton getBackButton()
- Specified by:
getBackButton
in interfaceWizardComponents
-
setBackButton
public void setBackButton(JButton aBackButton)
- Specified by:
setBackButton
in interfaceWizardComponents
-
getNextButton
public JButton getNextButton()
- Specified by:
getNextButton
in interfaceWizardComponents
-
setNextButton
public void setNextButton(JButton aNextButton)
- Specified by:
setNextButton
in interfaceWizardComponents
-
getCancelButton
public JButton getCancelButton()
- Specified by:
getCancelButton
in interfaceWizardComponents
-
setCancelButton
public void setCancelButton(JButton aCancelButton)
- Specified by:
setCancelButton
in interfaceWizardComponents
-
getFinishButton
public JButton getFinishButton()
- Specified by:
getFinishButton
in interfaceWizardComponents
-
setFinishButton
public void setFinishButton(JButton button)
- Specified by:
setFinishButton
in interfaceWizardComponents
-
setWizardPanelList
public void setWizardPanelList(List panelList)
- Specified by:
setWizardPanelList
in interfaceWizard
- Specified by:
setWizardPanelList
in interfaceWizardComponents
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfaceWizardComponents
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfaceWizardComponents
-
-