public class ValueSortField extends SortFieldBase implements IValueSortField
| Constructor and Description |
|---|
ValueSortField(IRange key)
Specifies the normal construct method.
|
ValueSortField(IRange key,
SortOrder order)
Specifies the normal construct method.
|
ValueSortField(IRange key,
java.lang.String customValues)
Specifies the custom sort construct method.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustomValues()
Specifies the custom sort list string.
|
SortDataOption |
getDataOption()
Specifies the data option of the sort field.
|
SortOrder |
getOrder()
Specifies the sort order.
|
void |
setCustomValues(java.lang.String value)
Sets the custom value list, such as:3,2,5,1.
|
void |
setDataOption(SortDataOption value)
Sets the data option of the sort field.
|
void |
setOrder(SortOrder value)
Sets the sort order.
|
getKey, getPriority, getSortCondition, getSortOn, setPriority, setSortConditionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, getPriority, getSortOn, setPrioritypublic ValueSortField(IRange key)
key - The column index.public ValueSortField(IRange key, SortOrder order)
key - The column index.order - The sort order.public ValueSortField(IRange key, java.lang.String customValues)
key - the column indexcustomValues - custom list stringpublic final SortDataOption getDataOption()
getDataOption in interface IValueSortFieldpublic final void setDataOption(SortDataOption value)
setDataOption in interface IValueSortFieldpublic final SortOrder getOrder()
getOrder in interface IValueSortFieldpublic final void setOrder(SortOrder value)
setOrder in interface IValueSortFieldpublic final java.lang.String getCustomValues()
getCustomValues in interface IValueSortFieldpublic final void setCustomValues(java.lang.String value)
IValueSortFieldsetCustomValues in interface IValueSortField