|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.jsampler.view.FxSendTableModel
public class FxSendTableModel
A tabular data model for representing effect sends.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
FxSendTableModel(SamplerChannelModel channelModel)
Creates a new instance of FxSendTableModel. |
|
| Method Summary | |
|---|---|
int |
getColumnCount()
Gets the number of columns in the model. |
java.lang.String |
getColumnName(int col)
Gets the name of the column at columnIndex. |
FxSend |
getFxSend(int index)
Gets the effect send at the specified position. |
int |
getFxSendPosition(FxSend fxSend)
Gets the position of the specified effect send. |
int |
getRowCount()
Gets the number of rows in the model. |
java.lang.Object |
getValueAt(int row,
int col)
Gets the value for the cell at columnIndex and
rowIndex. |
boolean |
isCellEditable(int row,
int col)
Returns true if the cell at
row and col is editable. |
void |
setValueAt(java.lang.Object value,
int row,
int col)
Sets the value in the cell at col
and row to value. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FxSendTableModel(SamplerChannelModel channelModel)
FxSendTableModel.
channelModel - The SamplerChannelModel, which
effect sends should be represented by this table model.
java.lang.IllegalArgumentException - If channelModel is null.| Method Detail |
|---|
public int getColumnCount()
public int getRowCount()
public java.lang.String getColumnName(int col)
columnIndex.
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcolumnIndex.
public java.lang.Object getValueAt(int row,
int col)
columnIndex and
rowIndex.
row - The row whose value is to be queried.col - The column whose value is to be queried.
columnIndex and
rowIndex.
public void setValueAt(java.lang.Object value,
int row,
int col)
col
and row to value.
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row,
int col)
true if the cell at
row and col is editable.
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelpublic FxSend getFxSend(int index)
index - The index of the effect send to be returned.
public int getFxSendPosition(FxSend fxSend)
fxSend - The effect send which position should be obtained.
-1 if the specified effect send is not found in the table.
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||