Package docking.widgets.table

# Class TableSortingContext<T>

java.lang.Object
docking.widgets.table.TableSortingContext<T>

public class TableSortingContext<T> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TableSortingContext(TableSortState sortState, Comparator<T> comparator)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `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' state
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TableSortingContext

    public TableSortingContext(TableSortState sortState, Comparator<T> comparator)

- ## Method Details

  - ### getComparator

    public 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(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`