|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.ReportSortInfo
public class ReportSortInfo
A infomation package of report sort
| Constructor Summary | |
|---|---|
ReportSortInfo(boolean needTopN,
int topN)
Constructor. |
|
ReportSortInfo(boolean needTopN,
int topN,
SortInfo[] sortInfo)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addSortInfo(SortInfo info)
add a sort information |
void |
downSortInfo(int index)
move down specified sort informations |
boolean |
getNeedTopN()
get topN status |
SortInfo[] |
getSortInfo()
get all sort information of this report |
int |
getTopN()
get topN number |
int |
indexOfSortInfo(SortInfo info)
get specified sort information index number of sort informations |
int |
indexOfSortInfo(java.lang.String sortBy)
get sort information index number of specified sortBy column name in sort informations |
boolean |
insertSortInfo(SortInfo sinfo,
int index)
add a sort information at specified index |
boolean |
isSortIn(java.lang.String sortBy)
find sort information which is sorted by specified sortBy column |
void |
removeSortInfo(int index)
remove the sort information at speicified index |
void |
removeSortInfo(SortInfo info)
remove a sort information |
void |
removeSortInfo(java.lang.String sortBy)
remove the sort information which is sorted by sortBy |
void |
setNeedTopN(boolean needTopN)
set topN status |
void |
setSortInfo(SortInfo[] sinfo)
|
void |
setTopN(int topN)
set topN number |
void |
upSortInfo(int index)
move up specified sort informations |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportSortInfo(boolean needTopN,
int topN)
needTopN - if set topN or not.topN - the topN number.
public ReportSortInfo(boolean needTopN,
int topN,
SortInfo[] sortInfo)
needTopN - if set topN or not.topN - the topN number.sortInfo - sort informations| Method Detail |
|---|
public boolean getNeedTopN()
public int getTopN()
public void setTopN(int topN)
topN - topN numberpublic void setNeedTopN(boolean needTopN)
needTopN - needTopN statuspublic void setSortInfo(SortInfo[] sinfo)
public void addSortInfo(SortInfo info)
info - SortInfo infomation
public boolean insertSortInfo(SortInfo sinfo,
int index)
sinfo - SortInfo infomationindex - index number
public void removeSortInfo(SortInfo info)
info - SortInfo infomationpublic void removeSortInfo(java.lang.String sortBy)
sortBy - sortby columnpublic void removeSortInfo(int index)
index - index number of sort informationspublic int indexOfSortInfo(java.lang.String sortBy)
sortBy - sortBy column name
public int indexOfSortInfo(SortInfo info)
info - sort infomation
public void upSortInfo(int index)
index - index number of sort infomationpublic void downSortInfo(int index)
index - index number of sort infomationpublic boolean isSortIn(java.lang.String sortBy)
sortBy - sortBy column name
public SortInfo[] getSortInfo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||