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
指定内部排序。
-
Constructor Summary
ConstructorsConstructorDescriptionCellColorSortField(IRange key, IInterior interior) 对内部区域按颜色进行排序。CellColorSortField(IRange key, IInterior interior, SortOrder order) 使用指定的键、颜色和排序顺序构造一个新的CellColorSortField对象。 -
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
对内部区域按颜色进行排序。- Parameters:
key- 列索引。interior- 内部区域。
-
CellColorSortField
使用指定的键、颜色和排序顺序构造一个新的CellColorSortField对象。- Parameters:
key- 用于排序的范围。interior- 用于排序的单元格颜色。order- 字段的排序顺序。
-
-
Method Details
-
getOrder
指定排序顺序。- Specified by:
getOrderin interfaceICellColorSortField
-
setOrder
设置排序顺序。- Specified by:
setOrderin interfaceICellColorSortField
-
getInterior
指定要排序的内部部分。- Specified by:
getInteriorin interfaceICellColorSortField
-