Public Member Functions | |
int | getColumnCount () |
String | getColumnName (int col) |
Object | getValueAt (int row, int column) |
Element | createProxiesAsElement (Document doc) |
void | readFromElement (Element element) |
Static Private Attributes | |
static final String[] | columnNames = {"No.", "Type", "Transport", "Host", "Port", "Visible Address"} |
int mixconfig.network.ProxyTableModel.getColumnCount | ( | ) |
Return the number of columns
References mixconfig.network.ProxyTableModel.columnNames.
String mixconfig.network.ProxyTableModel.getColumnName | ( | int | col | ) |
Return the name of a given column
References mixconfig.network.ProxyTableModel.columnNames.
Object mixconfig.network.ProxyTableModel.getValueAt | ( | int | row, | |
int | column | |||
) |
References mixconfig.network.ConnectionTableModel.getData(), mixconfig.network.ConnectionData.getFlags(), mixconfig.network.ConnectionData.getHostname(), mixconfig.network.ConnectionData.getPort(), mixconfig.network.ConnectionData.getTransport(), mixconfig.network.ConnectionData.getType(), mixconfig.network.ConnectionData.getVisibleAddress(), mixconfig.network.ConnectionTableModel.HOST, mixconfig.network.ConnectionTableModel.NR, mixconfig.network.ConnectionTableModel.PORT, mixconfig.network.ConnectionTableModel.TRANSPORT, mixconfig.network.ConnectionTableModel.TYPE, and mixconfig.network.ConnectionTableModel.VISIBLE.
Element mixconfig.network.ProxyTableModel.createProxiesAsElement | ( | Document | doc | ) |
Create XML element from table model
doc |
References mixconfig.network.ConnectionTableModel.getData(), mixconfig.network.ConnectionTableModel.getRowCount(), mixconfig.network.ConnectionData.getType(), and mixconfig.network.ConnectionData.toXmlElement().
Referenced by mixconfig.MixConfiguration.setValue().
void mixconfig.network.ProxyTableModel.readFromElement | ( | Element | element | ) |
Read data from XML
out |
References mixconfig.network.ConnectionTableModel.addData(), mixconfig.network.ConnectionTableModel.deleteData(), mixconfig.network.ConnectionTableModel.getData(), mixconfig.network.ConnectionTableModel.getRowCount(), and mixconfig.network.ConnectionData.getType().
Referenced by mixconfig.panels.MixConfigPanel.load().
final String [] mixconfig.network.ProxyTableModel.columnNames = {"No.", "Type", "Transport", "Host", "Port", "Visible Address"} [static, private] |