mixconfig.panels.NextMixProxyPanel Class Reference

Inherits mixconfig::panels::OtherMixPanel, javax::swing::event::TableModelListener, java::awt::event::ActionListener, javax::swing::event::ChangeListener, and java::awt::event::ComponentListener.

List of all members.

Public Member Functions

 NextMixProxyPanel ()
void tableChanged (TableModelEvent e)
void focusLost (FocusEvent e)
Vector< String > check ()
void setConfiguration (MixConfiguration a_conf) throws IOException
void load () throws IOException
void stateChanged (ChangeEvent e)
void actionPerformed (ActionEvent a)
void componentResized (ComponentEvent e)
void componentMoved (ComponentEvent e)
void componentShown (ComponentEvent e)
void componentHidden (ComponentEvent e)
Container getHelpExtractionDisplayContext ()

Protected Member Functions

void enableComponents ()

Private Member Functions

void resetTableModel ()
ConnectionTableModel createTableModel ()
void setColumnSizes ()
void adjustColumnSizes (int[] columnSizes)

Private Attributes

JPanel m_panel
JTable m_table
ConnectionTableModel m_model
JButton m_bttnAdd
TitledBorder m_border


Detailed Description

A panel that provides settings for configuring the Mix's network access:
Listeners for incoming connections, and network adresses of outgoing connections (next Mix in a cascade or HTTP proxies).

Constructor & Destructor Documentation

mixconfig.panels.NextMixProxyPanel.NextMixProxyPanel (  ) 


Member Function Documentation

void mixconfig.panels.NextMixProxyPanel.tableChanged ( TableModelEvent  e  ) 

void mixconfig.panels.NextMixProxyPanel.focusLost ( FocusEvent  e  ) 

Vector<String> mixconfig.panels.NextMixProxyPanel.check (  )  [virtual]

void mixconfig.panels.NextMixProxyPanel.enableComponents (  )  [protected, virtual]

void mixconfig.panels.NextMixProxyPanel.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.

Parameters:
a_mixConf The new configuration
Exceptions:
IOException If an error occurs while transferring the data

Reimplemented from mixconfig.panels.MixConfigPanel.

References mixconfig.panels.NextMixProxyPanel.enableComponents(), mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.MIXTYPE_LAST, and mixconfig.panels.MixConfigPanel.setEnabled().

void mixconfig.panels.NextMixProxyPanel.load (  )  throws IOException

Loads the attribute values from the configuration object into the panel's controls. This method iterates through all components of the panel and reads their names using the getName() method. If the name is not null, it retrieves the configuration attribute with the same name and sets the value of the component (text field, combo box etc.) according to the attribute value.

Exceptions:
IOException If loading an attribute from the configuration fails

Reimplemented from mixconfig.panels.MixConfigPanel.

References mixconfig.panels.NextMixProxyPanel.resetTableModel().

void mixconfig.panels.NextMixProxyPanel.stateChanged ( ChangeEvent  e  ) 

void mixconfig.panels.NextMixProxyPanel.actionPerformed ( ActionEvent  a  ) 

void mixconfig.panels.NextMixProxyPanel.resetTableModel (  )  [private]

ConnectionTableModel mixconfig.panels.NextMixProxyPanel.createTableModel (  )  [private]

void mixconfig.panels.NextMixProxyPanel.setColumnSizes (  )  [private]

void mixconfig.panels.NextMixProxyPanel.adjustColumnSizes ( int[]  columnSizes  )  [private]

Do the actual adjustments

Parameters:
columnSizes 

References mixconfig.panels.NextMixProxyPanel.m_table.

Referenced by mixconfig.panels.NextMixProxyPanel.setColumnSizes().

void mixconfig.panels.NextMixProxyPanel.componentResized ( ComponentEvent  e  ) 

XXX Do we need these?

void mixconfig.panels.NextMixProxyPanel.componentMoved ( ComponentEvent  e  ) 

void mixconfig.panels.NextMixProxyPanel.componentShown ( ComponentEvent  e  ) 

void mixconfig.panels.NextMixProxyPanel.componentHidden ( ComponentEvent  e  ) 

Container mixconfig.panels.NextMixProxyPanel.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