|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.essex.common.wizard.DefaultWizardFlow
public class DefaultWizardFlow
Created Date: 11-Jan-2004
| Field Summary |
|---|
| Fields inherited from interface uk.ac.essex.common.wizard.WizardFlow |
|---|
CURRENT_PANEL_PROPERTY |
| Constructor Summary | |
|---|---|
DefaultWizardFlow()
This class is the "bread and butter" of this framework. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
addWizardPanel(int index,
WizardPanel panel)
|
void |
addWizardPanel(WizardPanel panel)
|
void |
addWizardPanelAfter(WizardPanel panelToBePlacedAfter,
WizardPanel panel)
|
void |
addWizardPanelAfterCurrent(WizardPanel panel)
|
void |
addWizardPanelBefore(WizardPanel panelToBePlacedBefore,
WizardPanel panel)
|
void |
back()
|
void |
cancel()
Override to allow custom cancel behaviour |
javax.swing.JButton |
getBackButton()
|
javax.swing.JButton |
getCancelButton()
|
int |
getCurrentIndex()
|
WizardPanel |
getCurrentPanel()
|
javax.swing.JButton |
getFinishButton()
Used by users to close the wizard, by default this is disabled |
int |
getIndexOfPanel(WizardPanel panel)
|
javax.swing.JButton |
getNextButton()
|
WizardPanel |
getWizardPanel(int index)
|
java.util.List |
getWizardPanelList()
|
javax.swing.JPanel |
getWizardPanelsContainer()
|
boolean |
isFinishEnabled()
|
boolean |
isNextEnabled()
|
void |
next()
|
boolean |
onLastPanel()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
WizardPanel |
removeWizardPanel(int index)
|
WizardPanel |
removeWizardPanel(WizardPanel panel)
|
WizardPanel |
removeWizardPanelAfter(WizardPanel panel)
|
WizardPanel |
removeWizardPanelBefore(WizardPanel panel)
|
void |
setBackButton(javax.swing.JButton aBackButton)
|
void |
setCancelButton(javax.swing.JButton aCancelButton)
|
void |
setCurrentIndex(int aCurrentIndex)
|
void |
setFinishEnabled(boolean finishEnabled)
|
void |
setNextButton(javax.swing.JButton aNextButton)
|
void |
setNextEnabled(boolean nextEnabled)
|
void |
setWizardPanelList(java.util.ArrayList panelList)
|
void |
setWizardPanelList(java.util.List panelList)
|
void |
updateComponents()
Updates the components that wrap the content of the wizard. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWizardFlow()
| Method Detail |
|---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface WizardFlowpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface WizardFlowpublic void addWizardPanel(WizardPanel panel)
addWizardPanel in interface WizardFlow
public void addWizardPanel(int index,
WizardPanel panel)
addWizardPanel in interface WizardFlow
public void addWizardPanelAfter(WizardPanel panelToBePlacedAfter,
WizardPanel panel)
addWizardPanelAfter in interface WizardFlow
public void addWizardPanelBefore(WizardPanel panelToBePlacedBefore,
WizardPanel panel)
addWizardPanelBefore in interface WizardFlowpublic void addWizardPanelAfterCurrent(WizardPanel panel)
addWizardPanelAfterCurrent in interface WizardFlowpublic WizardPanel removeWizardPanel(WizardPanel panel)
removeWizardPanel in interface WizardFlowpublic WizardPanel removeWizardPanel(int index)
removeWizardPanel in interface WizardFlowpublic WizardPanel removeWizardPanelAfter(WizardPanel panel)
removeWizardPanelAfter in interface WizardFlowpublic WizardPanel removeWizardPanelBefore(WizardPanel panel)
removeWizardPanelBefore in interface WizardFlowpublic WizardPanel getWizardPanel(int index)
getWizardPanel in interface WizardFlowpublic int getIndexOfPanel(WizardPanel panel)
getIndexOfPanel in interface WizardFlowpublic boolean onLastPanel()
onLastPanel in interface WizardFlowpublic WizardPanel getCurrentPanel()
getCurrentPanel in interface WizardFlowpublic void cancel()
cancel in interface WizardFlowpublic void updateComponents()
updateComponents in interface WizardFlowpublic void next()
next in interface WizardFlowpublic void back()
back in interface WizardFlowpublic javax.swing.JPanel getWizardPanelsContainer()
getWizardPanelsContainer in interface WizardFlowpublic java.util.List getWizardPanelList()
getWizardPanelList in interface WizardFlowpublic void setWizardPanelList(java.util.ArrayList panelList)
public int getCurrentIndex()
getCurrentIndex in interface WizardFlowpublic void setCurrentIndex(int aCurrentIndex)
setCurrentIndex in interface WizardFlowpublic javax.swing.JButton getBackButton()
getBackButton in interface WizardFlowpublic void setBackButton(javax.swing.JButton aBackButton)
setBackButton in interface WizardFlowpublic javax.swing.JButton getNextButton()
getNextButton in interface WizardFlowpublic void setNextButton(javax.swing.JButton aNextButton)
setNextButton in interface WizardFlowpublic javax.swing.JButton getCancelButton()
getCancelButton in interface WizardFlowpublic void setCancelButton(javax.swing.JButton aCancelButton)
setCancelButton in interface WizardFlowpublic void setWizardPanelList(java.util.List panelList)
setWizardPanelList in interface WizardFlowpublic boolean isNextEnabled()
isNextEnabled in interface WizardFlowpublic void setNextEnabled(boolean nextEnabled)
setNextEnabled in interface WizardFlowpublic boolean isFinishEnabled()
isFinishEnabled in interface WizardFlowpublic javax.swing.JButton getFinishButton()
WizardFlow
getFinishButton in interface WizardFlowpublic void setFinishEnabled(boolean finishEnabled)
setFinishEnabled in interface WizardFlow
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||