public class ProteinFractionTableModel extends DefaultTableModel
columnIdentifiers, dataVectorlistenerList| Constructor and Description |
|---|
ProteinFractionTableModel()
Constructor which sets a new empty table.
|
ProteinFractionTableModel(PeptideShakerGUI peptideShakerGUI)
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) |
boolean |
isModelInitiated()
Returns true if the real model has been iniitated.
|
void |
reset()
Reset the protein keys.
|
void |
setModelInitiated(boolean modelInitiated)
Set if the real model has been initiated.
|
void |
updateDataModel(PeptideShakerGUI peptideShakerGUI)
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 ProteinFractionTableModel(PeptideShakerGUI peptideShakerGUI)
peptideShakerGUI - instance of the main GUI classpublic ProteinFractionTableModel()
public void updateDataModel(PeptideShakerGUI peptideShakerGUI)
peptideShakerGUI - the PeptideShakerGUI parentpublic 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 DefaultTableModelpublic boolean isModelInitiated()
public void setModelInitiated(boolean modelInitiated)
modelInitiated - the modelInitiated to setCopyright © 2021. All rights reserved.