Package com.grapecity.documents.excel
Class CellColorSortField
java.lang.Object
com.grapecity.documents.excel.SortFieldBase
com.grapecity.documents.excel.CellColorSortField
- All Implemented Interfaces:
ICellColorSortField,ISortField
Specifies the interior sort.
-
Constructor Summary
ConstructorsConstructorDescriptionCellColorSortField(IRange key, IInterior interior) Sorts the interior based on color.CellColorSortField(IRange key, IInterior interior, SortOrder order) Constructs a new CellColorSortField object with the specified key, interior, and sort order. -
Method Summary
Methods inherited from class com.grapecity.documents.excel.SortFieldBase
getKey, getPriority, getSortOn, setPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.grapecity.documents.excel.ISortField
getKey, getPriority, getSortOn, setPriority
-
Constructor Details
-
CellColorSortField
Sorts the interior based on color.- Parameters:
key- The column index.interior- The interior.
-
CellColorSortField
Constructs a new CellColorSortField object with the specified key, interior, and sort order.- Parameters:
key- The range representing the key for sorting.interior- The interior representing the cell color used for sorting.order- The sort order for the field.
-
-
Method Details
-
getOrder
Specifies the sort order.- Specified by:
getOrderin interfaceICellColorSortField- Returns:
- The sort order of the cell color.
-
setOrder
Set the sort order.- Specified by:
setOrderin interfaceICellColorSortField- Parameters:
value- The sort order of the cell color.
-
getInterior
Specifies the interior to sort.- Specified by:
getInteriorin interfaceICellColorSortField- Returns:
- The interior of the sort.
-