Public Member Functions | |
CascadePanel () | |
Vector< String > | check () |
void | actionPerformed (ActionEvent e) |
void | valueChanged (ListSelectionEvent e) |
String | getHelpContext () |
void | setConfiguration (MixConfiguration a_mixConf) throws IOException |
void | stateChanged (ChangeEvent a_event) |
Container | getHelpExtractionDisplayContext () |
Protected Member Functions | |
void | enableComponents () |
void | load (JTextField a_textField) |
void | load (JTable a_table) |
Private Member Functions | |
Element | recvMixList () throws MalformedURLException, ParserConfigurationException, IOException, SAXException |
Static Private Member Functions | |
static void | moveMix (JTable src, JTable dest) |
Private Attributes | |
JTable | m_availableMixTable |
JTable | m_configuredMixTable |
JButton | m_moveMixUpButton |
JButton | m_moveMixDownButton |
JButton | m_addMixButton |
JButton | m_remMixButton |
JButton | m_recvMixListButton |
JTextField | m_tfCascadeName |
Static Private Attributes | |
static final String | IMG_ARROW_DOWN = CascadePanel.class.getName() + "_downarrow.gif" |
static final String | IMG_ARROW_UP = CascadePanel.class.getName() + "_uparrow.gif" |
Classes | |
class | MixListTableModel |
CascadePanel
is a panel that lets the user edit settings concerning an entire mix cascade. It should only be made visible when the mix that is being configured is to become the last mix in its cascade.mixconfig.panels.CascadePanel.CascadePanel | ( | ) |
Constructs a new instance of CascadePanel
References mixconfig.panels.CascadePanel.enableComponents(), mixconfig.panels.CascadePanel.IMG_ARROW_DOWN, mixconfig.panels.CascadePanel.IMG_ARROW_UP, mixconfig.panels.CascadePanel.m_addMixButton, mixconfig.panels.CascadePanel.m_availableMixTable, mixconfig.panels.CascadePanel.m_configuredMixTable, mixconfig.panels.CascadePanel.m_moveMixDownButton, mixconfig.panels.CascadePanel.m_moveMixUpButton, mixconfig.panels.CascadePanel.m_recvMixListButton, mixconfig.panels.CascadePanel.m_remMixButton, and mixconfig.panels.CascadePanel.m_tfCascadeName.
Vector<String> mixconfig.panels.CascadePanel.check | ( | ) | [virtual] |
Check the panel for inconsistencies and return a java.util.Vector
object containing possible warnings and error messages
Implements mixconfig.panels.MixConfigPanel.
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getValue(), mixconfig.panels.CascadePanel.m_configuredMixTable, and mixconfig.MixConfiguration.MIXTYPE_LAST.
void mixconfig.panels.CascadePanel.actionPerformed | ( | ActionEvent | e | ) |
References mixconfig.panels.CascadePanel.enableComponents(), mixconfig.panels.CascadePanel.m_addMixButton, mixconfig.panels.CascadePanel.m_availableMixTable, mixconfig.panels.CascadePanel.m_configuredMixTable, mixconfig.panels.CascadePanel.m_moveMixDownButton, mixconfig.panels.CascadePanel.m_moveMixUpButton, mixconfig.panels.CascadePanel.m_recvMixListButton, mixconfig.panels.CascadePanel.m_remMixButton, mixconfig.panels.CascadePanel.moveMix(), mixconfig.panels.CascadePanel.recvMixList(), and mixconfig.panels.MixConfigPanel.save().
void mixconfig.panels.CascadePanel.valueChanged | ( | ListSelectionEvent | e | ) |
References mixconfig.panels.CascadePanel.enableComponents().
String mixconfig.panels.CascadePanel.getHelpContext | ( | ) |
static void mixconfig.panels.CascadePanel.moveMix | ( | JTable | src, | |
JTable | dest | |||
) | [static, private] |
Moves the currently selected entry from one table to another.
src | The source table from which the entry is to be moved away | |
dest | The destination table |
References mixconfig.panels.CascadePanel.MixListTableModel.addRow(), mixconfig.panels.CascadePanel.MixListTableModel.getRow(), and mixconfig.panels.CascadePanel.MixListTableModel.removeRow().
Referenced by mixconfig.panels.CascadePanel.actionPerformed().
void mixconfig.panels.CascadePanel.enableComponents | ( | ) | [protected, virtual] |
Enables used and disables unused components. Some configuration values are mutually exclusive; the panels must ensure that of two components corresponding to contradictory attributes, only one at a time is enabled.
Implements mixconfig.panels.MixConfigPanel.
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getValue(), mixconfig.panels.CascadePanel.m_addMixButton, mixconfig.panels.CascadePanel.m_availableMixTable, mixconfig.panels.CascadePanel.m_configuredMixTable, mixconfig.panels.CascadePanel.m_moveMixDownButton, mixconfig.panels.CascadePanel.m_moveMixUpButton, mixconfig.panels.CascadePanel.m_recvMixListButton, and mixconfig.panels.CascadePanel.m_remMixButton.
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.CascadePanel(), mixconfig.panels.CascadePanel.stateChanged(), and mixconfig.panels.CascadePanel.valueChanged().
Element mixconfig.panels.CascadePanel.recvMixList | ( | ) | throws MalformedURLException, ParserConfigurationException, IOException, SAXException [private] |
Fetches the list of available mixes from the InfoService host and returns it as an XML/DOM element.
MalformedURLException | If the URL pointing to the InfoService is invalid | |
ParserConfigurationException | If an error occurs during parsing the answer from the InfoService | |
IOException | If an error occurs during communication | |
SAXException | If an error occurs during parsing the answer from the InfoService |
References mixconfig.panels.MixConfigPanel.getConfiguration(), and mixconfig.MixConfiguration.getValue().
Referenced by mixconfig.panels.CascadePanel.actionPerformed().
void mixconfig.panels.CascadePanel.load | ( | JTextField | a_textField | ) | [protected] |
a_textField | JTextField |
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.CascadePanel.m_tfCascadeName.
void mixconfig.panels.CascadePanel.load | ( | JTable | table | ) | [protected] |
Load the value with the same name as the specified table from the configuration object and set its value accordingly.
a | table |
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getDocument(), mixconfig.MixConfiguration.getValue(), mixconfig.panels.CascadePanel.m_availableMixTable, and mixconfig.panels.CascadePanel.m_configuredMixTable.
void mixconfig.panels.CascadePanel.setConfiguration | ( | MixConfiguration | a_mixConf | ) | throws IOException |
Informs the panel about a new Mix configuration and makes it load the attribute values from the configuration object into the text fields, combo boxes etc.
a_mixConf | The new configuration |
IOException | If an error occurs while transferring the data |
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.MIXTYPE_LAST, and mixconfig.panels.MixConfigPanel.setEnabled().
void mixconfig.panels.CascadePanel.stateChanged | ( | ChangeEvent | a_event | ) |
References mixconfig.panels.CascadePanel.enableComponents(), mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getMixType(), mixconfig.ConfigurationEvent.getModifiedXMLPath(), mixconfig.ConfigurationEvent.getNewValue(), mixconfig.MixConfiguration.getValue(), mixconfig.panels.MixConfigPanel.load(), mixconfig.panels.CascadePanel.m_configuredMixTable, mixconfig.panels.CascadePanel.m_tfCascadeName, and mixconfig.panels.MixConfigPanel.setEnabled().
Container mixconfig.panels.CascadePanel.getHelpExtractionDisplayContext | ( | ) |
final String mixconfig.panels.CascadePanel.IMG_ARROW_DOWN = CascadePanel.class.getName() + "_downarrow.gif" [static, private] |
Referenced by mixconfig.panels.CascadePanel.CascadePanel().
final String mixconfig.panels.CascadePanel.IMG_ARROW_UP = CascadePanel.class.getName() + "_uparrow.gif" [static, private] |
Referenced by mixconfig.panels.CascadePanel.CascadePanel().
JTable mixconfig.panels.CascadePanel.m_availableMixTable [private] |
A table holding the list of available mixes.
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.MixListTableModel.addRow(), mixconfig.panels.CascadePanel.CascadePanel(), mixconfig.panels.CascadePanel.enableComponents(), and mixconfig.panels.CascadePanel.load().
JTable mixconfig.panels.CascadePanel.m_configuredMixTable [private] |
A table holding the list of configured mixes in the cascade.
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.MixListTableModel.addRow(), mixconfig.panels.CascadePanel.CascadePanel(), mixconfig.panels.CascadePanel.check(), mixconfig.panels.CascadePanel.enableComponents(), mixconfig.panels.CascadePanel.load(), mixconfig.panels.CascadePanel.MixListTableModel.moveRow(), and mixconfig.panels.CascadePanel.stateChanged().
JButton mixconfig.panels.CascadePanel.m_moveMixUpButton [private] |
A button to move a mix closer to the beginning of the cascade
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.CascadePanel(), and mixconfig.panels.CascadePanel.enableComponents().
JButton mixconfig.panels.CascadePanel.m_moveMixDownButton [private] |
A button to move a mix closer to the end of the cascade
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.CascadePanel(), and mixconfig.panels.CascadePanel.enableComponents().
JButton mixconfig.panels.CascadePanel.m_addMixButton [private] |
A button to add a mix to the cascade
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.CascadePanel(), and mixconfig.panels.CascadePanel.enableComponents().
JButton mixconfig.panels.CascadePanel.m_remMixButton [private] |
A button to remove a mix from the cascade
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.CascadePanel(), and mixconfig.panels.CascadePanel.enableComponents().
JButton mixconfig.panels.CascadePanel.m_recvMixListButton [private] |
A button that makes the panel fetch a list of available mixes from the InfoService host
Referenced by mixconfig.panels.CascadePanel.actionPerformed(), mixconfig.panels.CascadePanel.CascadePanel(), and mixconfig.panels.CascadePanel.enableComponents().
JTextField mixconfig.panels.CascadePanel.m_tfCascadeName [private] |
A text field for the name of the cascade
Referenced by mixconfig.panels.CascadePanel.CascadePanel(), mixconfig.panels.CascadePanel.load(), and mixconfig.panels.CascadePanel.stateChanged().