Package com.grapecity.documents.excel
Class FontColorSortField
java.lang.Object
com.grapecity.documents.excel.SortFieldBase
com.grapecity.documents.excel.FontColorSortField
- All Implemented Interfaces:
IFontColorSortField,ISortField
代表颜色排序。
-
Constructor Summary
ConstructorsConstructorDescriptionFontColorSortField(IRange key, Color color) 对字体颜色进行排序。FontColorSortField(IRange key, Color color, SortOrder 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
-
FontColorSortField
对字体颜色进行排序。- Parameters:
key- 排序范围的列索引。color- 字体颜色。
-
FontColorSortField
对字体颜色进行排序。- Parameters:
key- 排序范围的列索引。color- 字体颜色。order- 排序顺序。
-
-
Method Details
-
getOrder
指定排序顺序(顶部或底部)。- Specified by:
getOrderin interfaceIFontColorSortField
-
getColor
指定字体颜色。- Specified by:
getColorin interfaceIFontColorSortField
-