public class ProteinGoTableModel extends DefaultTableModel
columnIdentifiers, dataVectorlistenerList| Constructor and Description |
|---|
ProteinGoTableModel(com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider,
com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator identificationFeaturesGenerator,
DisplayFeaturesGenerator displayFeaturesGenerator,
ArrayList<Long> proteinGroupKeys,
boolean showScores)
Constructor which sets a new table.
|
| Modifier and Type | Method and Description |
|---|---|
Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int column) |
ArrayList<Long> |
getProteins()
Returns the list of protein groups in the model.
|
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
reset()
Reset the protein keys.
|
void |
updateDataModel(ArrayList<Long> proteinGroupKeys)
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 ProteinGoTableModel(com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider,
com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator identificationFeaturesGenerator,
DisplayFeaturesGenerator displayFeaturesGenerator,
ArrayList<Long> proteinGroupKeys,
boolean showScores)
identification - the identification objectproteinDetailsProvider - the protein details provideridentificationFeaturesGenerator - the identification features
generatordisplayFeaturesGenerator - the display features generatorproteinGroupKeys - the keys of the protein groups to displayshowScores - boolean indicating whether scores should be displayedpublic void updateDataModel(ArrayList<Long> proteinGroupKeys)
proteinGroupKeys - the keys of the protein groups to displaypublic 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.