Public Member Functions | |
| AlarmPropertiesModel (List properties, Object[] columnNames) | |
| AlarmPropertiesModel (List properties) | |
| int | getColumnCount () |
| int | getRowCount () |
| Object | getValueAt (int rowIndex, int columnIndex) |
| String | getColumnName (int column) |
| int | getMaxLabelLength () |
| int | getMaxValueLength () |
| String | getLongestLabel () |
| String | getLongestValue () |
Private Member Functions | |
| void | calculateMaxColumnLenghts () |
Private Attributes | |
| final Logger | logger |
| List | properties = null |
| int | maxLabelLength = 0 |
| String | longestLabel = null |
| int | maxValueLength = 0 |
| String | longestValue = null |
| Object[] | columnNames = null |
|
||||||||||||
|
|
|
|
|
|
|
This method calculates first and second columns max length |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Initial value: logger |
|
|
|
|
|
|
|
|
max first column length |
|
|
max second column lenght |
|
|
properties to be displayed |
1.3.8