|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.grouping.Grouper
This class creates the Group structure.
Constructor Summary | |
Grouper()
|
Method Summary | |
static Group |
makeGroups(Table table,
GroupDefinition[] groupDefinitions)
Creates a tree of Group objects given a certain Table
and an array of GroupDefinition's. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Grouper()
Method Detail |
public static Group makeGroups(Table table, GroupDefinition[] groupDefinitions)
Table
and an array of GroupDefinition's. The first element in the GroupDefinition array should
be a TopLevelGroupDefinition
, the other elements should be GroupDefinition
's
whose columndId properties refer to columns existing in the Table.
The returned Group (= the root of the Group-tree) is a group that corresponds to the whole table, thus its startRow property will point to the first row of the Table, and its endRow property to the last row of the table.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |