Public Member Functions | |
| TableData (String title, String[] hdrTitles) | |
| synchronized void | addRowData (String[] data) |
| synchronized int | getRowsNumber () |
| synchronized String[] | getRow (int r) |
Public Attributes | |
| final String | tableTile |
| final String[] | header |
The data of a table of a view
The data to save on files are a collection of the data shown in each container, basically the data in the table at the moment the save is executed.
Each data is composed of
| alma.acs.alarmsanalyzer.save.TableData.TableData | ( | String | title, | |
| String[] | hdrTitles | |||
| ) |
Constructor
| title | The title of the table | |
| hdrTitles | The header title of each column of the table |
References alma.acs.alarmsanalyzer.save.TableData.header, and alma.acs.alarmsanalyzer.save.TableData.tableTile.
| synchronized void alma.acs.alarmsanalyzer.save.TableData.addRowData | ( | String[] | data | ) |
Add the vale of each column of a row.
The length of the array must be the same of the header title.
| data | The value of the columns of the row |
References alma.acs.alarmsanalyzer.save.TableData.header.
Referenced by alma.acs.alarmsanalyzer.document.LostSourcesContainer.getDataToSave(), alma.acs.alarmsanalyzer.document.SuppressedContainer.setTableContent(), alma.acs.alarmsanalyzer.document.StatisticsContainer.setTableContent(), alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.setTableContent(), alma.acs.alarmsanalyzer.document.MostFrequantAlarmsContainer.setTableContent(), alma.acs.alarmsanalyzer.document.flood.FloodContainer.setTableContent(), alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.setTableContent(), and alma.acs.alarmsanalyzer.document.AnnunciatedContainer.setTableContent().
| synchronized String [] alma.acs.alarmsanalyzer.save.TableData.getRow | ( | int | r | ) |
Return the strings of the passed row index
| r | The number of the row (zero based) |
| synchronized int alma.acs.alarmsanalyzer.save.TableData.getRowsNumber | ( | ) |
| final String [] alma.acs.alarmsanalyzer.save.TableData.header |
The titles of each col. of the table
Referenced by alma.acs.alarmsanalyzer.save.TableData.addRowData(), and alma.acs.alarmsanalyzer.save.TableData.TableData().
| final String alma.acs.alarmsanalyzer.save.TableData.tableTile |
The title of the table
Referenced by alma.acs.alarmsanalyzer.save.TableData.TableData().
1.7.0