jwizardcomponent
Interface JWizardComponents

All Superinterfaces:
JWizard
All Known Implementing Classes:
DefaultJWizardComponents

public interface JWizardComponents
extends JWizard

Title: JWizardComponents.java

Project: JWizardComponent

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 Property Change Listening implemented by Piotr Kamiński.
Author:
William Ready

Field Summary
static java.lang.String CURRENT_PANEL_PROPERTY
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addWizardPanel(int index, JWizardPanel panel)
           
 void addWizardPanel(JWizardPanel panel)
           
 void addWizardPanelAfter(JWizardPanel panelToBePlacedAfter, JWizardPanel panel)
           
 void addWizardPanelAfterCurrent(JWizardPanel panel)
           
 void addWizardPanelBefore(JWizardPanel panelToBePlacedBefore, JWizardPanel panel)
           
 javax.swing.JButton getBackButton()
           
 CancelAction getCancelAction()
           
 javax.swing.JButton getCancelButton()
           
 int getCurrentIndex()
           
 JWizardPanel getCurrentPanel()
           
 FinishAction getFinishAction()
           
 javax.swing.JButton getFinishButton()
           
 int getIndexOfPanel(JWizardPanel panel)
           
 javax.swing.JButton getNextButton()
           
 JWizardPanel getWizardPanel(int index)
           
 java.util.List getWizardPanelList()
           
 javax.swing.JPanel getWizardPanelsContainer()
           
 boolean onLastPanel()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 JWizardPanel removeWizardPanel(int index)
           
 JWizardPanel removeWizardPanel(JWizardPanel panel)
           
 JWizardPanel removeWizardPanelAfter(JWizardPanel panel)
           
 JWizardPanel removeWizardPanelBefore(JWizardPanel panel)
           
 void setBackButton(javax.swing.JButton aBackButton)
           
 void setCancelAction(CancelAction aCancelAction)
           
 void setCancelButton(javax.swing.JButton aCancelButton)
           
 void setCurrentIndex(int aCurrentIndex)
           
 void setFinishAction(FinishAction aFinishAction)
           
 void setFinishButton(javax.swing.JButton button)
           
 void setNextButton(javax.swing.JButton aNextButton)
           
 void setWizardPanelList(java.util.List panelList)
           
 void setWizardPanelsContainer(javax.swing.JPanel aWizardPanelsContainer)
           
 void updateComponents()
           
 

Field Detail

CURRENT_PANEL_PROPERTY

public static final java.lang.String CURRENT_PANEL_PROPERTY
See Also:
Constant Field Values
Method Detail

addWizardPanel

public void addWizardPanel(JWizardPanel panel)
Specified by:
addWizardPanel in interface JWizard

addWizardPanel

public void addWizardPanel(int index,
                           JWizardPanel panel)
Specified by:
addWizardPanel in interface JWizard

addWizardPanelAfter

public void addWizardPanelAfter(JWizardPanel panelToBePlacedAfter,
                                JWizardPanel panel)

addWizardPanelBefore

public void addWizardPanelBefore(JWizardPanel panelToBePlacedBefore,
                                 JWizardPanel panel)

addWizardPanelAfterCurrent

public void addWizardPanelAfterCurrent(JWizardPanel panel)

removeWizardPanel

public JWizardPanel removeWizardPanel(JWizardPanel panel)
Specified by:
removeWizardPanel in interface JWizard

removeWizardPanel

public JWizardPanel removeWizardPanel(int index)
Specified by:
removeWizardPanel in interface JWizard

removeWizardPanelAfter

public JWizardPanel removeWizardPanelAfter(JWizardPanel panel)

removeWizardPanelBefore

public JWizardPanel removeWizardPanelBefore(JWizardPanel panel)

getWizardPanel

public JWizardPanel getWizardPanel(int index)
Specified by:
getWizardPanel in interface JWizard

getIndexOfPanel

public int getIndexOfPanel(JWizardPanel panel)

updateComponents

public void updateComponents()

getCurrentPanel

public JWizardPanel getCurrentPanel()
                             throws java.lang.Exception
java.lang.Exception

getFinishAction

public FinishAction getFinishAction()

setFinishAction

public void setFinishAction(FinishAction aFinishAction)

getCancelAction

public CancelAction getCancelAction()

setCancelAction

public void setCancelAction(CancelAction aCancelAction)

getCurrentIndex

public int getCurrentIndex()

setCurrentIndex

public void setCurrentIndex(int aCurrentIndex)

getWizardPanelsContainer

public javax.swing.JPanel getWizardPanelsContainer()

setWizardPanelsContainer

public void setWizardPanelsContainer(javax.swing.JPanel aWizardPanelsContainer)

getBackButton

public javax.swing.JButton getBackButton()

setBackButton

public void setBackButton(javax.swing.JButton aBackButton)

getNextButton

public javax.swing.JButton getNextButton()

setNextButton

public void setNextButton(javax.swing.JButton aNextButton)

getCancelButton

public javax.swing.JButton getCancelButton()

setCancelButton

public void setCancelButton(javax.swing.JButton aCancelButton)

getFinishButton

public javax.swing.JButton getFinishButton()

setFinishButton

public void setFinishButton(javax.swing.JButton button)

getWizardPanelList

public java.util.List getWizardPanelList()
Specified by:
getWizardPanelList in interface JWizard

setWizardPanelList

public void setWizardPanelList(java.util.List panelList)
Specified by:
setWizardPanelList in interface JWizard

onLastPanel

public boolean onLastPanel()

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)