Package io.jmix.flowui.component.grid
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 TypeMethodDescriptionRetrieves the column associated with this sorting information.@Nullable MetaPropertyPathRetrieves theMetaPropertyPathassociated with this sort info, ornullif the column is not bound to a meta property path.booleanIndicates 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
DataGridColumninstance
-
getMetaPropertyPath
@Nullable MetaPropertyPath getMetaPropertyPath()Retrieves theMetaPropertyPathassociated with this sort info, ornullif 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:
trueif the column is sorted in ascending order,falseotherwise
-