| java.lang.Object javax.swing.table.AbstractTableModel com.javelin.swinglets.table.SortedTableModel
Method Summary | |
public void | checkModel() | public int | compare(int row1, int row2) | public int | compareRowsByColumn(int row1, int row2, int column) | public Class | getColumnClass(int aColumn) Delegate method the the underlying model. | public int | getColumnCount() Delegate method the the underlying model. | public String | getColumnName(int aColumn) Delegate method the the underlying model. | public Object | getComparator() Get the comparator used to do the Sorting.
This defaults to JDK11Comparator. | public TableModel | getModel() Get the delegate table model. | public int | getRowCount() Delegate method the the underlying model. | public int | getSortType() | public int | getSortedIndex() | public Object | getValueAt(int aRow, int aColumn) Delegate method the the underlying model. | public boolean | isCellEditable(int row, int column) Delegate method the the underlying model. | public void | reallocateIndexes() | public void | setComparator(Object comparator) Set a new Comparator. | public void | setLowIndex(int lowIndex) Set the lowIndex for the sort. | public void | setValueAt(Object aValue, int aRow, int aColumn) Delegate method the the underlying model. | public void | sort() | public void | sort(int from, int to, int low, int high) | public void | sortByColumn(int column) | public void | swap(int i, int j) | public void | tableChanged(TableModelEvent e) |
ASCENDING | final public static int ASCENDING(Code) | | |
DESCENDING | final public static int DESCENDING(Code) | | |
NATURAL | final public static int NATURAL(Code) | | |
checkModel | public void checkModel()(Code) | | |
compare | public int compare(int row1, int row2)(Code) | | |
compareRowsByColumn | public int compareRowsByColumn(int row1, int row2, int column)(Code) | | |
getColumnClass | public Class getColumnClass(int aColumn)(Code) | | Delegate method the the underlying model.
|
getColumnCount | public int getColumnCount()(Code) | | Delegate method the the underlying model.
|
getColumnName | public String getColumnName(int aColumn)(Code) | | Delegate method the the underlying model.
|
getComparator | public Object getComparator()(Code) | | Get the comparator used to do the Sorting.
This defaults to JDK11Comparator.
|
getRowCount | public int getRowCount()(Code) | | Delegate method the the underlying model.
|
getSortType | public int getSortType()(Code) | | ASCENDING, NATURAL, DESCENDING |
getSortedIndex | public int getSortedIndex()(Code) | | |
getValueAt | public Object getValueAt(int aRow, int aColumn)(Code) | | Delegate method the the underlying model.
|
isCellEditable | public boolean isCellEditable(int row, int column)(Code) | | Delegate method the the underlying model.
|
reallocateIndexes | public void reallocateIndexes()(Code) | | |
setLowIndex | public void setLowIndex(int lowIndex)(Code) | | Set the lowIndex for the sort.
|
setValueAt | public void setValueAt(Object aValue, int aRow, int aColumn)(Code) | | Delegate method the the underlying model.
|
sort | public void sort(int from, int to, int low, int high)(Code) | | |
sortByColumn | public void sortByColumn(int column)(Code) | | |
swap | public void swap(int i, int j)(Code) | | |
|
|