public class PropertiesTableModel extends AbstractTableModel
Profile
Modifier and Type | Field and Description |
---|---|
protected int |
columns |
protected boolean |
visibility |
protected List<Property> |
visibleFields |
listenerList
Constructor and Description |
---|
PropertiesTableModel(TypedListModel<Property> fields,
boolean visibility,
int columns) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
setFields(TypedListModel<Property> fields) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public PropertiesTableModel(TypedListModel<Property> fields, boolean visibility, int columns)
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setFields(TypedListModel<Property> fields)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.