Package com.grapecity.documents.excel
Class SortFieldBase
java.lang.Object
com.grapecity.documents.excel.SortFieldBase
- All Implemented Interfaces:
ISortField
- Direct Known Subclasses:
CellColorSortField,FontColorSortField,IconSortField,ValueSortField
Represents the sort base class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IRangegetKey()Specifies the column index.final intSpecifies the priority of multiple sort columns.final SortOnTypeSpecifies the sort type.final voidsetPriority(int value) Sets the priority of multiple sort columns.
-
Constructor Details
-
SortFieldBase
public SortFieldBase()
-
-
Method Details
-
getKey
Specifies the column index.- Specified by:
getKeyin interfaceISortField- Returns:
- The range representing the sort key.
-
getPriority
public final int getPriority()Specifies the priority of multiple sort columns.- Specified by:
getPriorityin interfaceISortField- Returns:
- The priority of the sort field.
-
setPriority
public final void setPriority(int value) Sets the priority of multiple sort columns.- Specified by:
setPriorityin interfaceISortField- Parameters:
value- The priority of the sort field.
-
getSortOn
Specifies the sort type.- Specified by:
getSortOnin interfaceISortField- Returns:
- The sort type.
-