Based on the code in this topic Customizing Alarm Status Table we want to read the rows displayed in the AlarmStatusTable to check if the styling (color and font) of each row is correct(values of cells would be a plus).
First the inner Table is acquired with innerTable = self.findComponentOfClass( theComponent, 'AlarmStatusTable$1' )
then with model=innerTable.model
access to the data should be possible. With model.getValueAt(row, column)
a cell could be read and printed.
But when there are 8 active alarms visible in the table, at most 1 line is returned with model.getRowCount()
and there is not a logical reason for displaying that particular alarm. So it is not the 1st, 2nd, or the n-th that will trigger the availability of that 1 row or it's priority.
All methods of the model which is a 'com.jidesoft.grid.SortableTableModel' and the Java interfaces implemented by it that might be able to return ALL rows where tried but to no avail.
Am I missing something: e.g. another hidden table like the $1, a select cursor into the table as in a query that I have to "move next", or something else.
Thanks for any response.