Package ball.beans
Class PropertyDescriptorsTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- ball.swing.table.AbstractTableModelImpl
-
- ball.swing.table.ArrayListTableModel<PropertyDescriptor>
-
- ball.beans.PropertyDescriptorsTableModel
-
- All Implemented Interfaces:
Serializable
,EventListener
,TableModelListener
,TableModel
public class PropertyDescriptorsTableModel extends ArrayListTableModel<PropertyDescriptor>
- Author:
- Allen D. Ball
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description PropertyDescriptorsTableModel(PropertyDescriptor[] rows)
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
getValueAt(PropertyDescriptor row, int x)
Implementation method to retrieve a column value from a row object.-
Methods inherited from class ball.swing.table.ArrayListTableModel
getRowCount, getValueAt, list
-
Methods inherited from class ball.swing.table.AbstractTableModelImpl
column, getColumnClass, getColumnCount, getColumnName, header, isCellEditable, row, setColumnClass, setColumnName, setValueAt, tableChanged
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
PropertyDescriptorsTableModel
public PropertyDescriptorsTableModel(PropertyDescriptor[] rows)
Sole constructor.- Parameters:
rows
- ThePropertyDescriptor
s.
-
-
Method Detail
-
getValueAt
protected Object getValueAt(PropertyDescriptor row, int x)
Description copied from class:ArrayListTableModel
Implementation method to retrieve a column value from a row object.- Specified by:
getValueAt
in classArrayListTableModel<PropertyDescriptor>
- Parameters:
row
- TheObject
representing the row.x
- The column index.- Returns:
- The column value from the row.
-
-