Public Member Functions | |
ConfigFrame (JFrame parent) throws IOException | |
Protected Member Functions | |
void | load () |
void | setActivePanel (Class a_panelClass) |
void | reset () |
void | setConfiguration (MixConfiguration m) throws IOException |
String[] | check () throws IOException |
Private Attributes | |
JTabbedPane | m_tabbedPane |
MixConfigPanel[] | m_panels |
mixconfig.ConfigFrame.ConfigFrame | ( | JFrame | parent | ) | throws IOException |
void mixconfig.ConfigFrame.load | ( | ) | [protected] |
Call the load-method of each Panel This is necessary if you change the view (expert|wizard)
References mixconfig.panels.MixConfigPanel.load(), mixconfig.ConfigFrame.m_panels, mixconfig.ConfigFrame.m_tabbedPane, and mixconfig.ConfigFrame.reset().
Referenced by mixconfig.Menu.actionPerformed().
void mixconfig.ConfigFrame.setActivePanel | ( | Class | a_panelClass | ) | [protected] |
Decision which panel active at the moment Necessary if you change from Wizard -> Expert view
References mixconfig.ConfigFrame.m_panels, and mixconfig.ConfigFrame.m_tabbedPane.
Referenced by mixconfig.Menu.actionPerformed().
void mixconfig.ConfigFrame.reset | ( | ) | [protected] |
Clears all data in the panels and restarts with a new configuration object.
IOException | If a communication error occurs | |
XMLParseException | If an XML error occurs |
References mixconfig.ConfigFrame.m_panels, and mixconfig.ConfigFrame.m_tabbedPane.
Referenced by mixconfig.Menu.actionPerformed(), mixconfig.ConfigFrame.load(), and mixconfig.Menu.reset().
void mixconfig.ConfigFrame.setConfiguration | ( | MixConfiguration | m | ) | throws IOException [protected] |
Notifies the configuration panels about a possibly new underlying configuration object and makes them load the config data from the configuration object into their controls.
m | The configuration object to be set |
IOException | If an error occurs while loading data from the config object into a panel |
References mixconfig.ConfigFrame.m_panels, and mixconfig.panels.MixConfigPanel.setConfiguration().
Referenced by mixconfig.Menu.actionPerformed(), mixconfig.ConfigFrame.check(), mixconfig.ConfigFrame.ConfigFrame(), and mixconfig.Menu.reset().
String [] mixconfig.ConfigFrame.check | ( | ) | throws IOException [protected] |
Makes all of the configuration panels check their data for inconsistencies and returns possible error and warning messages as an array of String
s.
String
containing possible error messages References mixconfig.panels.MixConfigPanel.check(), mixconfig.ConfigFrame.m_panels, and mixconfig.ConfigFrame.setConfiguration().
Referenced by mixconfig.Menu.actionPerformed(), and mixconfig.Menu.ignoreInconsistenciesForSaving().
JTabbedPane mixconfig.ConfigFrame.m_tabbedPane [private] |
MixConfigPanel [] mixconfig.ConfigFrame.m_panels [private] |