Package spoon.support.gui
Class SpoonObjectFieldsTable.SpoonObjectTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
- All Implemented Interfaces:
Serializable,TableModel
- Enclosing class:
- SpoonObjectFieldsTable
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColumnName(int column) intgetValueAt(int rowIndex, int columnIndex) voidscanFields(Class<?> c) Collects non-static declared fields ofcand of every superclass, adding them to this table model.Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
SpoonObjectTableModel
-
-
Method Details
-
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getRowCount
public int getRowCount() -
getValueAt
-
scanFields
Collects non-static declared fields ofcand of every superclass, adding them to this table model.- Parameters:
c- class whose instance fields should be listed; recursion stops when there is no superclass
-