public abstract class ITableModel
extends javax.swing.table.DefaultTableModel
TableModel
which allows setting the class of columns.ITable.getXTableModel()
,
Serialized FormConstructor and Description |
---|
ITableModel() |
Modifier and Type | Method and Description |
---|---|
abstract void |
setColumnClass(int columnIndex,
java.lang.Class<?> columnClass)
Sets the class of a column to be returned by
AbstractTableModel.getColumnClass(int) . |
abstract void |
setColumnClasses(java.lang.Class<?>... columnClasses)
Sets the classes of multiple columns to be returned by
AbstractTableModel.getColumnClass(int) . |
abstract void |
setColumnClasses(java.util.List<java.lang.Class<?>> columnClassList)
Sets the classes of multiple columns to be returned by
AbstractTableModel.getColumnClass(int) . |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public abstract void setColumnClasses(java.lang.Class<?>... columnClasses)
AbstractTableModel.getColumnClass(int)
.
The passed column classes will be associated with the columns having a column index equal to the argument index.
columnClasses
- column class to be setpublic abstract void setColumnClasses(java.util.List<java.lang.Class<?>> columnClassList)
AbstractTableModel.getColumnClass(int)
.
The passed column classes will be associated with the columns having a column index equal to the column class index.
columnClassList
- list of column classes to be setpublic abstract void setColumnClass(int columnIndex, java.lang.Class<?> columnClass)
AbstractTableModel.getColumnClass(int)
.columnIndex
- column index whose class to be setcolumnClass
- column class to be set; you can pass a null
value to clear the column class
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.