Class TableSort


  • public class TableSort
    extends Object
    Contains the data about how a table is sorted.
    • Constructor Detail

      • TableSort

        public TableSort​(int columnId,
                         TableSort.SortOrder sortOrder)
        Constructor.
        Parameters:
        columnId - the id of the sorted column
        sortOrder - the order of the sort
    • Method Detail

      • getColumnIdent

        public final int getColumnIdent()
        Return the id of the sorted column.
        Returns:
        the id of the sorted column
      • setColumnIdent

        public final void setColumnIdent​(int columnident)
        Set the id of the sorted column.
        Parameters:
        columnident - the id of the sorted column
      • getOrder

        public final TableSort.SortOrder getOrder()
        Return the order of the sort.
        Returns:
        the order of the sort
      • setOrder

        public final void setOrder​(TableSort.SortOrder sortorder)
        Set the order of the sort.
        Parameters:
        sortorder - the order of the sort