Interface ColumnSortInfo<E>

Type Parameters:
E - entity type
All Known Implementing Classes:
ColumnSortInfoImpl

@NullMarked public interface ColumnSortInfo<E>
Represents sorting information for a specific column.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the column associated with this sorting information.
    Retrieves the MetaPropertyPath associated with this sort info, or null if the column is not bound to a meta property path.
    boolean
    Indicates whether the sorting order for the column is ascending.
  • Method Details

    • getColumn

      DataGridColumn<E> getColumn()
      Retrieves the column associated with this sorting information.
      Returns:
      the DataGridColumn instance
    • getMetaPropertyPath

      @Nullable MetaPropertyPath getMetaPropertyPath()
      Retrieves the MetaPropertyPath associated with this sort info, or null if the column is not bound to a meta property path.
      Returns:
      the meta property path associated with this sort info
    • isAscending

      boolean isAscending()
      Indicates whether the sorting order for the column is ascending.
      Returns:
      true if the column is sorted in ascending order, false otherwise