|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.SortDirection
public final class SortDirection
This class contains constants that define how fields are sorted.
Field Summary | |
---|---|
static int |
_ascendingOrder
Ascending order. |
static int |
_bottomNOrder
Only the bottom N are sorted. |
static int |
_bottomNPercentage
Only the bottom N percentages are sorted. |
static int |
_descendingOrder
Descending order. |
static int |
_noSort
No sort, for original/specified order and no topN. |
static int |
_topNOrder
Only the top N are sorted. |
static int |
_topNPercentage
Only the top N percentages are sorted. |
static SortDirection |
ascendingOrder
A SortDirection object that specifies ascending order. |
static SortDirection |
bottomNOrder
A SortDirection object that specifies only the bottom N are sorted. |
static SortDirection |
bottomNPercentage
A SortDirection object that specifies only the bottom N percentages are sorted. |
static SortDirection |
descendingOrder
A SortDirection object that specifies descending order. |
static SortDirection |
noSort
A SortDirection object that specifies no sort. |
static SortDirection |
topNOrder
A SortDirection object that specifies only the top N are sorted. |
static SortDirection |
topNPercentage
A SortDirection object that specifies only the top N percentages are sorted. |
Method Summary | |
---|---|
static SortDirection |
from_int(int i)
Returns the SortDirection object corresponding to the specified value. |
static SortDirection |
from_string(java.lang.String sVal)
Returns the SortDirection object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this SortDirection object. |
int |
value()
Returns the int value of this SortDirection object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _noSort
No sort, for original/specified order and no topN.
public static final int _ascendingOrder
Ascending order.
public static final int _descendingOrder
Descending order.
public static final int _topNOrder
Only the top N are sorted.
public static final int _bottomNOrder
Only the bottom N are sorted.
public static final int _topNPercentage
Only the top N percentages are sorted.
public static final int _bottomNPercentage
Only the bottom N percentages are sorted.
public static final SortDirection noSort
A SortDirection
object that specifies no sort.
public static final SortDirection ascendingOrder
A SortDirection
object that specifies ascending order.
public static final SortDirection descendingOrder
A SortDirection
object that specifies descending order.
public static final SortDirection topNOrder
A SortDirection
object that specifies only the top N are sorted.
public static final SortDirection bottomNOrder
A SortDirection
object that specifies only the bottom N are sorted.
public static final SortDirection topNPercentage
A SortDirection
object that specifies only the top N percentages are sorted.
public static final SortDirection bottomNPercentage
A SortDirection
object that specifies only the bottom N percentages are sorted.
Method Detail |
---|
public static final SortDirection from_int(int i)
Returns the SortDirection
object corresponding to the specified value.
i
- The int
value of the desired SortDirection
object.
SortDirection
object corresponding to the specified value.public static final SortDirection from_string(java.lang.String sVal)
Returns the SortDirection
object corresponding to the specified type.
sVal
- A String
containing type of the desired SortDirection
object.
SortDirection
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this SortDirection
object.
toString
in class java.lang.Object
String
value of this SortDirection
object.public int value()
Returns the int
value of this SortDirection
object.
int
value of this SortDirection
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |