protected class BeanTable.TableBeanModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected List<PropertyDescriptor> |
properties |
listenerList| Modifier | Constructor and Description |
|---|---|
protected |
TableBeanModel() |
protected |
TableBeanModel(Class beanClass) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getColumnClass(int col) |
int |
getColumnCount() |
String |
getColumnName(int col) |
protected PropertyDescriptor |
getProperty(int idx) |
protected PropertyDescriptor |
getProperty(String wantName) |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
Object |
getValueAt(Object bean,
int col) |
boolean |
isCellEditable(int row,
int col) |
void |
setProperty(String propertyName,
String displayName,
String toolTipText) |
void |
setValueAt(Object value,
int row,
int col) |
protected Class |
wrapPrimitives(Class c) |
protected Object |
zeroValue(Class c) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprotected List<PropertyDescriptor> properties
protected TableBeanModel()
protected TableBeanModel(Class beanClass)
public int getRowCount()
public int getColumnCount()
public String getColumnName(int col)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic Object getValueAt(int row, int col)
public Class getColumnClass(int col)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object value, int row, int col)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelprotected PropertyDescriptor getProperty(String wantName)
protected PropertyDescriptor getProperty(int idx)