Public Member Functions | |
int | getColumnCount () |
String | getColumnName (int col) |
int | getRowCount () |
boolean | isCellEditable (int row, int col) |
void | addData (InfoServiceData data) |
InfoServiceData | getData (int index) |
void | changeData (InfoServiceData data, InfoServiceData olddata) |
void | deleteData (int index) |
Object | getValueAt (int row, int column) |
void | clear () |
Element | createAsElement (Document doc) |
void | readFromElement (Element infoServices) |
Static Public Attributes | |
static final int | HOST = 0 |
static final int | PORT = 1 |
Private Attributes | |
InfoServiceData[] | m_rows = new InfoServiceData[0] |
Static Private Attributes | |
static final String[] | columnNames = {"Host", "Port"} |
int mixconfig.infoservice.InfoServiceTableModel.getColumnCount | ( | ) |
String mixconfig.infoservice.InfoServiceTableModel.getColumnName | ( | int | col | ) |
int mixconfig.infoservice.InfoServiceTableModel.getRowCount | ( | ) |
References mixconfig.infoservice.InfoServiceTableModel.m_rows.
Referenced by mixconfig.panels.GeneralPanel.check(), mixconfig.infoservice.InfoServiceTableModel.createAsElement(), mixconfig.infoservice.InfoServiceTableModel.readFromElement(), mixconfig.MixConfiguration.setValue(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
boolean mixconfig.infoservice.InfoServiceTableModel.isCellEditable | ( | int | row, | |
int | col | |||
) |
void mixconfig.infoservice.InfoServiceTableModel.addData | ( | InfoServiceData | data | ) |
References mixconfig.infoservice.InfoServiceTableModel.m_rows.
Referenced by mixconfig.panels.GeneralPanel.actionPerformed(), mixconfig.infoservice.InfoServiceDialog.addKeys(), mixconfig.infoservice.InfoServiceTableModel.changeData(), mixconfig.panels.MixConfigPanel.load(), mixconfig.infoservice.InfoServiceTableModel.readFromElement(), and mixconfig.MixConfiguration.setDefaults().
InfoServiceData mixconfig.infoservice.InfoServiceTableModel.getData | ( | int | index | ) |
References mixconfig.infoservice.InfoServiceTableModel.m_rows.
Referenced by mixconfig.panels.GeneralPanel.check(), mixconfig.infoservice.InfoServiceTableModel.createAsElement(), mixconfig.infoservice.InfoServiceTableModel.getValueAt(), mixconfig.panels.GeneralPanel.initInfoServicesTable(), mixconfig.MixConfiguration.setValue(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
void mixconfig.infoservice.InfoServiceTableModel.changeData | ( | InfoServiceData | data, | |
InfoServiceData | olddata | |||
) |
void mixconfig.infoservice.InfoServiceTableModel.deleteData | ( | int | index | ) |
Object mixconfig.infoservice.InfoServiceTableModel.getValueAt | ( | int | row, | |
int | column | |||
) |
void mixconfig.infoservice.InfoServiceTableModel.clear | ( | ) |
Clear this TableModel
References mixconfig.infoservice.InfoServiceTableModel.m_rows.
Referenced by mixconfig.panels.GeneralPanel.actionPerformed(), and mixconfig.panels.MixConfigPanel.load().
Element mixconfig.infoservice.InfoServiceTableModel.createAsElement | ( | Document | doc | ) |
Create the 'InfoServices'-Element and initiate addition of the single entries
doc |
References mixconfig.infoservice.InfoServiceTableModel.getData(), and mixconfig.infoservice.InfoServiceTableModel.getRowCount().
Referenced by mixconfig.MixConfiguration.setValue().
void mixconfig.infoservice.InfoServiceTableModel.readFromElement | ( | Element | infoServices | ) |
Read InfoServices from DOM Element 'InfoServices'
infoService | Element |
References mixconfig.infoservice.InfoServiceTableModel.addData(), mixconfig.infoservice.InfoServiceData.createFromElement(), mixconfig.infoservice.InfoServiceTableModel.deleteData(), and mixconfig.infoservice.InfoServiceTableModel.getRowCount().
Referenced by mixconfig.panels.TermsAndConditionsPanel.getInfoServices(), and mixconfig.panels.MixConfigPanel.load().
final String [] mixconfig.infoservice.InfoServiceTableModel.columnNames = {"Host", "Port"} [static, private] |
final int mixconfig.infoservice.InfoServiceTableModel.HOST = 0 [static] |
Referenced by mixconfig.infoservice.InfoServiceTableModel.getValueAt().
final int mixconfig.infoservice.InfoServiceTableModel.PORT = 1 [static] |
Referenced by mixconfig.infoservice.InfoServiceTableModel.getValueAt().
InfoServiceData [] mixconfig.infoservice.InfoServiceTableModel.m_rows = new InfoServiceData[0] [private] |
Referenced by mixconfig.infoservice.InfoServiceTableModel.addData(), mixconfig.infoservice.InfoServiceTableModel.changeData(), mixconfig.infoservice.InfoServiceTableModel.clear(), mixconfig.infoservice.InfoServiceTableModel.deleteData(), mixconfig.infoservice.InfoServiceTableModel.getData(), and mixconfig.infoservice.InfoServiceTableModel.getRowCount().