public class CommonTableModel extends GenericBaseTableModel implements GenericTableAutoSizeModel
| Constructor and Description | 
|---|
CommonTableModel(DisplayProperty[] prop)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getColumnAlignment(int column)
Get the alignment of the specified column in the table. 
 | 
int | 
getColumnAutoSizeMaximum(int column)
Gets the maximum automatic size which can be set for the column. 
 | 
int | 
getColumnCount()  | 
java.lang.String | 
getColumnName(int column)
Returns the column name. 
 | 
java.util.Comparator | 
getColumnSortComparator(int column)
Get the sort comparator to use for a particular column. 
 | 
DisplayProperty | 
getProperty(int column)  | 
canHide, isCellEditableaddColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAtaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerpublic CommonTableModel(DisplayProperty[] prop)
public int getColumnAutoSizeMaximum(int column)
GenericTableAutoSizeModelgetColumnAutoSizeMaximum in interface GenericTableAutoSizeModelcolumn - the column to get the maximum automatic size ofpublic int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelgetColumnCount in class javax.swing.table.DefaultTableModelpublic java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.DefaultTableModelcolumnIdentifiers.
 If columnIdentifiers does not have an entry
 for this index, returns the default
 name provided by the superclass.public int getColumnAlignment(int column)
GenericTableModelgetColumnAlignment in interface GenericTableModelgetColumnAlignment in class GenericBaseTableModelcolumn - the column to get the alignment ofpublic DisplayProperty getProperty(int column)
public java.util.Comparator getColumnSortComparator(int column)
GenericBaseTableModelComparable interface, then null may be
 returned.getColumnSortComparator in class GenericBaseTableModel