类 ValueSortField
java.lang.Object
com.grapecity.documents.excel.SortFieldBase
com.grapecity.documents.excel.ValueSortField
- 所有已实现的接口:
ISortField
,IValueSortField
Represents the sort by value field.
-
构造器概要
构造器说明ValueSortField
(IRange key) Specifies the normal construct method.ValueSortField
(IRange key, SortOrder order) Specifies the normal construct method.ValueSortField
(IRange key, String customValues) Specifies the custom sort construct method. -
方法概要
修饰符和类型方法说明final String
Specifies the custom sort list string.final SortDataOption
Specifies the data option of the sort field.final SortOrder
getOrder()
Specifies the sort order.final void
setCustomValues
(String value) Sets the custom value list, such as:3,2,5,1.final void
setDataOption
(SortDataOption value) Sets the data option of the sort field.final void
Sets the sort order.从类继承的方法 com.grapecity.documents.excel.SortFieldBase
getKey, getPriority, getSortOn, setPriority
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.grapecity.documents.excel.ISortField
getKey, getPriority, getSortOn, setPriority
-
构造器详细资料
-
ValueSortField
Specifies the normal construct method.- 参数:
key
- The column index.
-
ValueSortField
Specifies the normal construct method.- 参数:
key
- The column index.order
- The sort order.
-
ValueSortField
Specifies the custom sort construct method.- 参数:
key
- the column indexcustomValues
- custom list string
-
-
方法详细资料
-
getDataOption
Specifies the data option of the sort field.- 指定者:
getDataOption
在接口中IValueSortField
-
setDataOption
Sets the data option of the sort field.- 指定者:
setDataOption
在接口中IValueSortField
-
getOrder
Specifies the sort order.- 指定者:
getOrder
在接口中IValueSortField
-
setOrder
Sets the sort order.- 指定者:
setOrder
在接口中IValueSortField
-
getCustomValues
Specifies the custom sort list string.- 指定者:
getCustomValues
在接口中IValueSortField
-
setCustomValues
从接口复制的说明:IValueSortField
Sets the custom value list, such as:3,2,5,1.- 指定者:
setCustomValues
在接口中IValueSortField
-