public class PeptideFractionTableModel extends DefaultTableModel
columnIdentifiers, dataVectorlistenerList| Constructor and Description |
|---|
PeptideFractionTableModel(com.compomics.util.experiment.identification.Identification identification,
DisplayFeaturesGenerator displayFeaturesGenerator,
ArrayList<Long> peptideKeys,
ArrayList<String> fileNames)
Constructor which sets a new table.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
reset()
Reset the peptide keys.
|
void |
updateDataModel(ArrayList<Long> peptideKeys)
Update the data in the table model without having to reset the whole
table model.
|
addColumn, 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, removeTableModelListenerpublic PeptideFractionTableModel(com.compomics.util.experiment.identification.Identification identification,
DisplayFeaturesGenerator displayFeaturesGenerator,
ArrayList<Long> peptideKeys,
ArrayList<String> fileNames)
identification - the identification objectdisplayFeaturesGenerator - the display features generatorpeptideKeys - the peptide keysfileNames - a list of ordered file namespublic void updateDataModel(ArrayList<Long> peptideKeys)
peptideKeys - the peptide keyspublic void reset()
public int getRowCount()
getRowCount in interface TableModelgetRowCount in class DefaultTableModelpublic int getColumnCount()
getColumnCount in interface TableModelgetColumnCount in class DefaultTableModelpublic String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class DefaultTableModelpublic Object getValueAt(int row, int column)
getValueAt in interface TableModelgetValueAt in class DefaultTableModelpublic Class getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class DefaultTableModelCopyright © 2021. All rights reserved.