org.tbee.swing.table
Class TableSorterForEdit
java.lang.Object
javax.swing.table.AbstractTableModel
org.tbee.swing.table.AbstractTableModel
org.tbee.swing.table.TableSorter
org.tbee.swing.table.TableSorterForEdit
- All Implemented Interfaces:
- Serializable, TableModel, TableModelForEdit
public class TableSorterForEdit
- extends TableSorter
- implements TableModelForEdit
TableSorterForEdit is a decorator for TableModelForEdit, in a similar fashion as TableSorter is for TableModels.
This class automatically converts JTable rows to TableModel rows (undoing the sorting) for methods like addRowAt.
- See Also:
- Serialized Form
| Methods inherited from class org.tbee.swing.table.TableSorter |
addSortingStatus, cancelSorting, convertModelIndexToTableIndex, convertRowIndexToModel, convertTableIndexToModelIndex, getColumnClass, getColumnCount, getColumnName, getComparator, getHeaderRendererIcon, getRowCount, getSortingStatus, getTableHeader, getTableModel, getTooltipAt, getValueAt, isCellEditable, isSorting, modelIndex, setColumnComparator, setSortingStatus, setTable, setTableHeader, setTableModel, setValueAt, tableIndex |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
TableSorterForEdit
public TableSorterForEdit()
TableSorterForEdit
public TableSorterForEdit(TableModel tableModel)
- Parameters:
tableModel -
TableSorterForEdit
public TableSorterForEdit(TableModel tableModel,
JTableHeader tableHeader)
- Parameters:
tableModel - tableHeader -
addRowAt
public int addRowAt(int row)
- Specified by:
addRowAt in interface TableModelForEdit
deleteRowAt
public void deleteRowAt(int pRowIndex)
- Specified by:
deleteRowAt in interface TableModelForEdit
getErrorMessageAt
public String getErrorMessageAt(int row,
int col)
- Specified by:
getErrorMessageAt in interface TableModelForEdit
getWarnMessageAt
public String getWarnMessageAt(int row,
int col)
- Specified by:
getWarnMessageAt in interface TableModelForEdit
Copyright © 2011 KnowledgePlaza. All Rights Reserved.