Package groovy.model
Class DefaultTableModel
- java.lang.Object
- 
- javax.swing.table.AbstractTableModel
- 
- groovy.model.DefaultTableModel
 
 
- 
- All Implemented Interfaces:
- Serializable,- TableModel
 
 @Deprecated public class DefaultTableModel extends AbstractTableModel Deprecated.A default table model made up of PropertyModels on a Value model.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classDefaultTableModel.MyTableColumnModelDeprecated.
 - 
Field Summary- 
Fields inherited from class javax.swing.table.AbstractTableModellistenerList
 
- 
 - 
Constructor SummaryConstructors Constructor Description DefaultTableModel(ValueModel rowsModel)Deprecated.DefaultTableModel(ValueModel rowsModel, ValueModel rowModel)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DefaultTableColumnaddClosureColumn(Object headerValue, Closure readClosure, Closure writeClosure, Class type)Deprecated.Adds a closure based column to the tablevoidaddColumn(DefaultTableColumn column)Deprecated.Adds a new column definition to the tableDefaultTableColumnaddColumn(Object headerValue, ValueModel columnValueModel)Deprecated.DefaultTableColumnaddColumn(Object headerValue, Object identifier, ValueModel columnValueModel)Deprecated.DefaultTableColumnaddPropertyColumn(Object headerValue, String property, Class type)Deprecated.Adds a property model column to the tableDefaultTableColumnaddPropertyColumn(Object headerValue, String property, Class type, boolean editable)Deprecated.Adds a property model column to the tableClassgetColumnClass(int columnIndex)Deprecated.intgetColumnCount()Deprecated.ListgetColumnList()Deprecated.TableColumnModelgetColumnModel()Deprecated.protected ValueModelgetColumnModel(int columnIndex)Deprecated.StringgetColumnName(int columnIndex)Deprecated.intgetRowCount()Deprecated.ValueModelgetRowModel()Deprecated.protected ListgetRows()Deprecated.ValueModelgetRowsModel()Deprecated.ObjectgetValueAt(int rowIndex, int columnIndex)Deprecated.booleanisCellEditable(int rowIndex, int columnIndex)Deprecated.voidremoveColumn(DefaultTableColumn column)Deprecated.Removes a column definition from the tablevoidsetValueAt(Object value, int rowIndex, int columnIndex)Deprecated.- 
Methods inherited from class javax.swing.table.AbstractTableModeladdTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
- 
 
- 
- 
- 
Constructor Detail- 
DefaultTableModelpublic DefaultTableModel(ValueModel rowsModel) Deprecated.
 - 
DefaultTableModelpublic DefaultTableModel(ValueModel rowsModel, ValueModel rowModel) Deprecated.
 
- 
 - 
Method Detail- 
getColumnListpublic List getColumnList() Deprecated.- Returns:
- the column definitions.
 
 - 
getColumnModelpublic TableColumnModel getColumnModel() Deprecated.
 - 
addPropertyColumnpublic DefaultTableColumn addPropertyColumn(Object headerValue, String property, Class type) Deprecated.Adds a property model column to the table
 - 
addPropertyColumnpublic DefaultTableColumn addPropertyColumn(Object headerValue, String property, Class type, boolean editable) Deprecated.Adds a property model column to the table
 - 
addClosureColumnpublic DefaultTableColumn addClosureColumn(Object headerValue, Closure readClosure, Closure writeClosure, Class type) Deprecated.Adds a closure based column to the table
 - 
addColumnpublic DefaultTableColumn addColumn(Object headerValue, ValueModel columnValueModel) Deprecated.
 - 
addColumnpublic DefaultTableColumn addColumn(Object headerValue, Object identifier, ValueModel columnValueModel) Deprecated.
 - 
addColumnpublic void addColumn(DefaultTableColumn column) Deprecated.Adds a new column definition to the table
 - 
removeColumnpublic void removeColumn(DefaultTableColumn column) Deprecated.Removes a column definition from the table
 - 
getRowCountpublic int getRowCount() Deprecated.
 - 
getColumnCountpublic int getColumnCount() Deprecated.
 - 
getColumnNamepublic String getColumnName(int columnIndex) Deprecated.- Specified by:
- getColumnNamein interface- TableModel
- Overrides:
- getColumnNamein class- AbstractTableModel
 
 - 
getColumnClasspublic Class getColumnClass(int columnIndex) Deprecated.- Specified by:
- getColumnClassin interface- TableModel
- Overrides:
- getColumnClassin class- AbstractTableModel
 
 - 
isCellEditablepublic boolean isCellEditable(int rowIndex, int columnIndex)Deprecated.- Specified by:
- isCellEditablein interface- TableModel
- Overrides:
- isCellEditablein class- AbstractTableModel
 
 - 
getValueAtpublic Object getValueAt(int rowIndex, int columnIndex) Deprecated.
 - 
setValueAtpublic void setValueAt(Object value, int rowIndex, int columnIndex) Deprecated.- Specified by:
- setValueAtin interface- TableModel
- Overrides:
- setValueAtin class- AbstractTableModel
 
 - 
getColumnModelprotected ValueModel getColumnModel(int columnIndex) Deprecated.
 - 
getRowsprotected List getRows() Deprecated.
 - 
getRowModelpublic ValueModel getRowModel() Deprecated.
 - 
getRowsModelpublic ValueModel getRowsModel() Deprecated.
 
- 
 
-