gui.wizard
Class BasicWizardHost

java.lang.Object
  extended by gui.wizard.BasicWizardHost
All Implemented Interfaces:
WizardHost, java.awt.event.ActionListener, java.util.EventListener

public class BasicWizardHost
extends java.lang.Object
implements WizardHost, java.awt.event.ActionListener


Field Summary
private static java.lang.String COMMAND_BACK
           
private static java.lang.String COMMAND_CANCEL
           
private static java.lang.String COMMAND_FINISH
           
private static java.lang.String COMMAND_HELP
           
private static java.lang.String COMMAND_NEXT
           
private  javax.swing.JButton m_bttnBack
           
private  javax.swing.JButton m_bttnCancel
           
private  javax.swing.JButton m_bttnFinish
           
private  javax.swing.JButton m_bttnHelp
           
private  javax.swing.JButton m_bttnNext
           
private  javax.swing.JButton m_bttnOk
           
private  java.awt.CardLayout m_cardlayoutPages
           
private  JAPDialog m_Dialog
           
private  javax.swing.JPanel m_panelPages
           
private  Wizard m_Wizard
           
 
Constructor Summary
  BasicWizardHost(java.awt.Component a_dialog, Wizard a_wizard)
           
  BasicWizardHost(JAPDialog a_dialog, Wizard a_wizard)
           
private BasicWizardHost(java.lang.Object parent, Wizard wizard)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addWizardPage(int index, WizardPage wizardPage)
           
 void doCancel()
           
 JAPDialog getDialogParent()
           
 void lockDialog()
           
 void setBackEnabled(boolean b)
           
 void setCancelEnabled(boolean b)
           
 void setFinishEnabled(boolean b)
           
 void setHelpEnabled(boolean enabled)
           
 void setNextEnabled(boolean enabled)
           
 void showWizardPage(int index)
           
 void unlockDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Dialog

private JAPDialog m_Dialog

m_bttnOk

private javax.swing.JButton m_bttnOk

m_bttnCancel

private javax.swing.JButton m_bttnCancel

m_bttnFinish

private javax.swing.JButton m_bttnFinish

m_bttnBack

private javax.swing.JButton m_bttnBack

m_bttnNext

private javax.swing.JButton m_bttnNext

m_bttnHelp

private javax.swing.JButton m_bttnHelp

m_panelPages

private javax.swing.JPanel m_panelPages

m_cardlayoutPages

private java.awt.CardLayout m_cardlayoutPages

m_Wizard

private Wizard m_Wizard

COMMAND_NEXT

private static final java.lang.String COMMAND_NEXT
See Also:
Constant Field Values

COMMAND_BACK

private static final java.lang.String COMMAND_BACK
See Also:
Constant Field Values

COMMAND_CANCEL

private static final java.lang.String COMMAND_CANCEL
See Also:
Constant Field Values

COMMAND_FINISH

private static final java.lang.String COMMAND_FINISH
See Also:
Constant Field Values

COMMAND_HELP

private static final java.lang.String COMMAND_HELP
See Also:
Constant Field Values
Constructor Detail

BasicWizardHost

public BasicWizardHost(JAPDialog a_dialog,
                       Wizard a_wizard)

BasicWizardHost

public BasicWizardHost(java.awt.Component a_dialog,
                       Wizard a_wizard)

BasicWizardHost

private BasicWizardHost(java.lang.Object parent,
                        Wizard wizard)
Method Detail

addWizardPage

public void addWizardPage(int index,
                          WizardPage wizardPage)
Specified by:
addWizardPage in interface WizardHost

showWizardPage

public void showWizardPage(int index)
Specified by:
showWizardPage in interface WizardHost

getDialogParent

public JAPDialog getDialogParent()
Specified by:
getDialogParent in interface WizardHost

setHelpEnabled

public void setHelpEnabled(boolean enabled)
Specified by:
setHelpEnabled in interface WizardHost

setNextEnabled

public void setNextEnabled(boolean enabled)
Specified by:
setNextEnabled in interface WizardHost

setBackEnabled

public void setBackEnabled(boolean b)
Specified by:
setBackEnabled in interface WizardHost

setCancelEnabled

public void setCancelEnabled(boolean b)
Specified by:
setCancelEnabled in interface WizardHost

setFinishEnabled

public void setFinishEnabled(boolean b)
Specified by:
setFinishEnabled in interface WizardHost

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

lockDialog

public void lockDialog()

unlockDialog

public void unlockDialog()

doCancel

public void doCancel()