Package org.jjazz.midi.api.ui
Class InstrumentTable.Model
java.lang.Object
javax.swing.table.AbstractTableModel
org.jjazz.midi.api.ui.InstrumentTable.Model
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
- InstrumentTable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getColumnClass
(int col) int
getColumnName
(int columnIndex) int
getValueAt
(int row, int col) void
setInstruments
(List<? extends Instrument> instruments) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
COL_ID
public static final int COL_ID- See Also:
-
COL_PATCHNAME
public static final int COL_PATCHNAME- See Also:
-
COL_DRUMKIT
public static final int COL_DRUMKIT- See Also:
-
COL_PC
public static final int COL_PC- See Also:
-
COL_MSB
public static final int COL_MSB- See Also:
-
COL_LSB
public static final int COL_LSB- See Also:
-
COL_SYNTH
public static final int COL_SYNTH- See Also:
-
COL_BANK
public static final int COL_BANK- See Also:
-
-
Constructor Details
-
Model
public Model()
-
-
Method Details
-
setInstruments
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getValueAt
-