protected class BeanTable.TableBeanModel extends AbstractTableModel
listenerList| Modifier | Constructor and Description |
|---|---|
protected |
BeanTable.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) |
protected int |
getPropertyIndex(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 boolean |
wasUsed(int col) |
protected Class |
wrapPrimitives(Class c) |
protected Object |
zeroValue(Class c) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprotected BeanTable.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 int getPropertyIndex(String wantName)
protected PropertyDescriptor getProperty(String wantName)
protected PropertyDescriptor getProperty(int idx)
protected boolean wasUsed(int col)
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.