public class ExportResultTableModel extends MidicaTableModel
This class represents the data model of export result tables.
When decompiling a MIDI sequence, this table shows all warnings.
Each warning (row) consists of the following fields (columns):
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.Object>> |
warnings |
columnClasses, columnNames, sortableColumns
Constructor and Description |
---|
ExportResultTableModel(ExportResult result)
Creates a new instance of the export result table data model.
|
Modifier and Type | Method and Description |
---|---|
int |
getRowCount()
Returns the number of rows in the table - same as the number of warnings.
|
java.lang.Object |
getValueAt(int rowIndex,
int colIndex)
Returns the String value to be written into the specified table cell.
|
getCategorizedHashMapRows, getCategorizedRows, getColumnClass, getColumnCount, getColumnName, getHeaderTooltip, isCellEditable, isSortable, setHeaderToolTip
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
private static final long serialVersionUID
private java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.Object>> warnings
public ExportResultTableModel(ExportResult result)
Creates a new instance of the export result table data model. Initializes the table header names according to the currently configured language.
result
- public int getRowCount()
Returns the number of rows in the table - same as the number of warnings.
getRowCount
in interface javax.swing.table.TableModel
getRowCount
in class MidicaTableModel
public java.lang.Object getValueAt(int rowIndex, int colIndex)
Returns the String value to be written into the specified table cell.
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class MidicaTableModel
rowIndex
- Queried table row index.colIndex
- Queried table column index.