|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
jAudioFeatureExtractor.ActiveAggTableModel
public class ActiveAggTableModel
ActiveAggTableModel Model holding the selection of aggregators that are to be used in per file extraction.
Field Summary |
---|
Fields inherited from class javax.swing.table.DefaultTableModel |
---|
columnIdentifiers, dataVector |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
ActiveAggTableModel()
Construct this model with a new, empty aggregator set. |
Method Summary | |
---|---|
void |
addAggregator(Aggregator a)
add an aggregator to the end of the table |
Aggregator[] |
getAggregator()
return the array of all aggregators stored in this model. |
Aggregator |
getAggregator(int row)
return the aggregator storede in the row'th row. |
void |
init(Controller c)
Load the set of available aggregators into the list of possible choices. |
boolean |
isCellEditable(int row,
int column)
|
void |
removeAggregator(int row)
removes the aggregator at the given index in this model. |
void |
setAggregator(int row,
Aggregator a,
boolean edited)
set the following row to the given aggregator. |
Methods inherited from class javax.swing.table.DefaultTableModel |
---|
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
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 ActiveAggTableModel()
Method Detail |
---|
public Aggregator getAggregator(int row)
row
- row of the model to extract.public Aggregator[] getAggregator()
public void setAggregator(int row, Aggregator a, boolean edited)
row
- row to be updateda
- aggregator to insert in this rowedited
- is this aggregator edited yet or not.public void addAggregator(Aggregator a)
a
- Aggregator to be added.public void removeAggregator(int row)
row
- row to be removed.public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.DefaultTableModel
public void init(Controller c)
c
- controller managing connections between the model and table.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |