Package docking.widgets.table
Class TableSortingContext<T>
- java.lang.Object
-
- docking.widgets.table.TableSortingContext<T>
-
public class TableSortingContext<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TableSortingContext(TableSortState sortState, java.util.Comparator<T> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Comparator<T>
getComparator()
TableSortState
getSortState()
int
hashCode()
boolean
isReverseOf(TableSortingContext<T> otherContext)
boolean
isUnsorted()
Returns true if there are no columns marked as sorted, which represents a 'no sort' statejava.lang.String
toString()
-
-
-
Constructor Detail
-
TableSortingContext
public TableSortingContext(TableSortState sortState, java.util.Comparator<T> comparator)
-
-
Method Detail
-
getComparator
public java.util.Comparator<T> getComparator()
-
getSortState
public TableSortState getSortState()
-
isUnsorted
public boolean isUnsorted()
Returns true if there are no columns marked as sorted, which represents a 'no sort' state- Returns:
- true if there are no columns sorted
-
isReverseOf
public boolean isReverseOf(TableSortingContext<T> otherContext)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-