Package docking.widgets.table.threaded
Class ThreadedBackupRowComparator<T>
- java.lang.Object
-
- docking.widgets.table.sort.ColumnRenderedValueBackupComparator<T>
-
- docking.widgets.table.threaded.ThreadedBackupRowComparator<T>
-
- Type Parameters:
T
- the row type
- All Implemented Interfaces:
java.util.Comparator<java.lang.Object>
public class ThreadedBackupRowComparator<T> extends ColumnRenderedValueBackupComparator<T>
A version ofColumnRenderedValueBackupComparator
that uses theThreadedTableModel
's cache for column lookups
-
-
Field Summary
-
Fields inherited from class docking.widgets.table.sort.ColumnRenderedValueBackupComparator
model, sortColumn
-
-
Constructor Summary
Constructors Constructor Description ThreadedBackupRowComparator(ThreadedTableModel<T,?> model, int sortColumn)
Constructs this class with the given column comparator that will get called after the given row is converted to the column value for the given sort column
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getColumnValue(T t)
-
Methods inherited from class docking.widgets.table.sort.ColumnRenderedValueBackupComparator
compare
-
-
-
-
Constructor Detail
-
ThreadedBackupRowComparator
public ThreadedBackupRowComparator(ThreadedTableModel<T,?> model, int sortColumn)
Constructs this class with the given column comparator that will get called after the given row is converted to the column value for the given sort column- Parameters:
model
- the table model using this comparatorsortColumn
- the column being sorted- See Also:
RowBasedColumnComparator
-
-
Method Detail
-
getColumnValue
protected java.lang.Object getColumnValue(T t)
- Overrides:
getColumnValue
in classColumnRenderedValueBackupComparator<T>
-
-