public class StructureRecordsTableModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected TypedListModel<Property> |
fields |
protected int |
offset |
protected Hashtable<String,Profile<Property>> |
properties |
protected PropertyChangeListener |
propertyListener |
protected List<IStructureRecord> |
records |
protected Hashtable<Integer,Boolean> |
selected |
protected MoleculeReader |
transform |
listenerList
Constructor and Description |
---|
StructureRecordsTableModel() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
String |
getColumnName(int column) |
List<IStructureRecord> |
getRecords() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
setProfile(String key,
Profile<Property> profile) |
void |
setRecords(List<IStructureRecord> records) |
void |
setValueAt(Object value,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
protected List<IStructureRecord> records
protected TypedListModel<Property> fields
protected PropertyChangeListener propertyListener
protected final int offset
protected MoleculeReader transform
public List<IStructureRecord> getRecords()
public void setRecords(List<IStructureRecord> records)
public int getColumnCount()
public int getRowCount()
public void setValueAt(Object value, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.