public abstract class PatchTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Logger |
log |
listenerList| Constructor and Description |
|---|
PatchTableModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
addPatch(Patch p)
Add a patch to the end of the internal list.
|
int |
addPatch(Patch p,
int bankNum,
int patchNum)
Add a patch to the end of the internal list.
|
String |
getCommentAt(int row)
Get the comment at the specified row.
|
List<Patch> |
getList() |
Patch |
getPatchAt(int row)
Get the patch at the specified row.
|
int |
getRowCount() |
void |
removeAt(int row) |
void |
setList(List<Patch> newList) |
void |
setPatchAt(Patch p,
int row)
Set (and replace) the patch at the specified row of the list.
|
void |
setPatchAt(Patch p,
int row,
int bankNum,
int patchNum)
Set (and replace) the patch at the specified row of the list.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnCount, getValueAtpublic int getRowCount()
public int addPatch(Patch p)
p - The patch to addpublic int addPatch(Patch p, int bankNum, int patchNum)
p - The patch to addpublic void setPatchAt(Patch p, int row, int bankNum, int patchNum)
p - The patch to setrow - The row of the table.bankNum - patch bank numberpatchNum - patch numberpublic void setPatchAt(Patch p, int row)
p - The patch to setrow - The row of the table.public Patch getPatchAt(int row)
row - The row specifiedpublic String getCommentAt(int row)
row - The row specifiedpublic void removeAt(int row)
Copyright © 2014. All Rights Reserved.