public class NoteTableModel extends MidicaTableModel
This class represents the data model of the notes table in the configuration details view of the info window.
Each row represents a note.
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
columnClasses, columnNames, sortableColumns| Constructor and Description |
|---|
NoteTableModel()
Creates a new instance of the notes table data model.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRowCount()
Returns the number of rows in the table - same as the sum of notes (128).
|
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, setHeaderToolTipaddColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAtaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprivate static final long serialVersionUID
public NoteTableModel()
Creates a new instance of the notes table data model. Initializes the table header names according to the currently configured language.
public int getRowCount()
Returns the number of rows in the table - same as the sum of notes (128).
getRowCount in interface javax.swing.table.TableModelgetRowCount in class MidicaTableModelpublic 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.TableModelgetValueAt in class MidicaTableModelrowIndex - Queried table row index.colIndex - Queried table column index.