Class ColumnSortInfoImpl<E>
java.lang.Object
io.jmix.groupgridflowui.component.ColumnSortInfoImpl<E>
- Type Parameters:
E- the entity type
- All Implemented Interfaces:
ColumnSortInfo<E>,PropertySortInfo
Represents an implementation of the
ColumnSortInfo interface, providing sorting information
about a specific column in a data grid.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final DataGridColumn<E> protected @Nullable MetaPropertyPath -
Constructor Summary
ConstructorsConstructorDescriptionColumnSortInfoImpl(DataGridColumn<E> column, boolean ascending, @Nullable MetaPropertyPath metaPropertyPath) -
Method Summary
-
Field Details
-
column
-
ascending
protected final boolean ascending -
metaPropertyPath
-
-
Constructor Details
-
ColumnSortInfoImpl
public ColumnSortInfoImpl(DataGridColumn<E> column, boolean ascending, @Nullable MetaPropertyPath metaPropertyPath)
-
-
Method Details
-
getMetaPropertyPath
- Specified by:
getMetaPropertyPathin interfacePropertySortInfo- Returns:
- the meta property path associated with this sort info, or
nullif the column is not bound to a meta property path
-
getColumn
- Specified by:
getColumnin interfaceColumnSortInfo<E>- Returns:
- the column associated with this sort info
-
isAscending
public boolean isAscending()- Specified by:
isAscendingin interfacePropertySortInfo- Returns:
trueif the sort is ascending,falseotherwise
-