Class GroupPropertyDescriptorSortInfoImpl<E>
java.lang.Object
io.jmix.groupgridflowui.component.GroupPropertyDescriptorSortInfoImpl<E>
- Type Parameters:
E- the type of the items displayed in theGroupDataGrid
- All Implemented Interfaces:
ColumnSortInfo<E>,GroupPropertyDescriptorSortInfo<E>,PropertySortInfo
public class GroupPropertyDescriptorSortInfoImpl<E>
extends Object
implements GroupPropertyDescriptorSortInfo<E>
An implementation of
GroupPropertyDescriptorSortInfo used to represent
sort information for a group property descriptor in a GroupDataGrid.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupPropertyDescriptorSortInfoImpl(DataGridColumn<E> column, boolean ascending, List<Object> sortProperties) -
Method Summary
-
Field Details
-
column
-
sortProperties
-
ascending
protected final boolean ascending
-
-
Constructor Details
-
GroupPropertyDescriptorSortInfoImpl
public GroupPropertyDescriptorSortInfoImpl(DataGridColumn<E> column, boolean ascending, List<Object> sortProperties)
-
-
Method Details
-
getSortProperties
- Specified by:
getSortPropertiesin interfaceGroupPropertyDescriptorSortInfo<E>- Returns:
- a list of sort properties associated with this sort info
-
getColumn
- Specified by:
getColumnin interfaceColumnSortInfo<E>- Returns:
- the column associated with this sort info
-
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
-
isAscending
public boolean isAscending()- Specified by:
isAscendingin interfacePropertySortInfo- Returns:
trueif the sort is ascending,falseotherwise
-