mixconfig.wizard.ConfigWizard Class Reference

Inherits mixconfig::wizard::WizardLayout, java::awt::event::ActionListener, and javax::swing::event::ChangeListener.

List of all members.

Public Member Functions

 ConfigWizard () throws IOException
void stateChanged (ChangeEvent e)
void actionPerformed (ActionEvent e)
void load ()
void setConfiguration (MixConfiguration mixconfig)
void reset ()
void changeButtonLabelToNext ()
String getHelpContext ()
int getPageCount ()
int getCurrentPageNr ()
Class getCurrentPageClass ()
Container getHelpExtractionDisplayContext ()

Private Attributes

ConfigWizardPanel m_wizPanel


Detailed Description

A class that displays the Mix configuration panels as a wizard. To the left of the panel, a logo is displayed; at the bottom, there are three navigation buttons (back, next, and cancel). The center of the panel displays the wizard's pages, where only one page is visible at a time.
Upon click on "next", a plausibility check is performed on the page and a warning about any inconsistent input is shown. If there are no warnings, the wizard continues by displaying the next page. If the end is reached, the "next" button changes into a "finish" button. When this is clicked, a file dialog is shown to let the user save the new configuration.
Author:
ronin <ronin2@web.de>

Constructor & Destructor Documentation

mixconfig.wizard.ConfigWizard.ConfigWizard (  )  throws IOException


Member Function Documentation

void mixconfig.wizard.ConfigWizard.stateChanged ( ChangeEvent  e  ) 

void mixconfig.wizard.ConfigWizard.actionPerformed ( ActionEvent  e  ) 

void mixconfig.wizard.ConfigWizard.load (  ) 

Calls the load-Methode of each Panel This is necessary if you change the view (expert|wizard)

References mixconfig.wizard.ConfigWizardPanel.load(), and mixconfig.wizard.ConfigWizard.m_wizPanel.

Referenced by mixconfig.Menu.actionPerformed().

void mixconfig.wizard.ConfigWizard.setConfiguration ( MixConfiguration  mixconfig  ) 

Calls the setConfiguration method of ConfigWizardPanel This is necessary if you change the view (expert|wizard)

Parameters:
mixconfig a mix configuration

References mixconfig.wizard.ConfigWizard.m_wizPanel, and mixconfig.wizard.ConfigWizardPanel.setConfiguration().

Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.reset().

void mixconfig.wizard.ConfigWizard.reset (  ) 

Calls the reset method of ConfigWizardPanel If you choose "new" from the MenuBar, this is necessary to change to the first leaf.

References mixconfig.wizard.ConfigWizard.m_wizPanel, and mixconfig.wizard.ConfigWizardPanel.reset().

Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.reset().

void mixconfig.wizard.ConfigWizard.changeButtonLabelToNext (  ) 

Change button Label to "Next ->" This is necessary if you coose "new" in the menubar, when the button lable says "finish"

References mixconfig.wizard.WizardLayout.getButtonForward().

Referenced by mixconfig.Menu.reset().

String mixconfig.wizard.ConfigWizard.getHelpContext (  ) 

int mixconfig.wizard.ConfigWizard.getPageCount (  ) 

int mixconfig.wizard.ConfigWizard.getCurrentPageNr (  ) 

Class mixconfig.wizard.ConfigWizard.getCurrentPageClass (  ) 

Decision of which class an instance is of Necessary if you change from Wizard -> Expert view

References mixconfig.wizard.ConfigWizardPanel.getCurrentPage(), and mixconfig.wizard.ConfigWizard.m_wizPanel.

Referenced by mixconfig.Menu.actionPerformed().

Container mixconfig.wizard.ConfigWizard.getHelpExtractionDisplayContext (  ) 


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Mon Nov 16 23:24:48 2009 for MixConfig by  doxygen 1.5.6