Package jimm.datavision

Examples of jimm.datavision.Group


    this.newGroupItems = groupItems;

    // Create list of current groups
    oldGroupItems = new ArrayList();
    for (Iterator iter = report.groups(); iter.hasNext(); ) {
  Group group = (Group)iter.next();
  oldGroupItems.add(new GroupWinListItem(group.getSelectable(), group));
    }

}
View Full Code Here


  break;
    case DRASTIC_CHANGE:
  report.removeAllGroups();
  for (Iterator iter = toList.iterator(); iter.hasNext(); ) {
      GroupWinListItem item = (GroupWinListItem)iter.next();
      Group g = item.getGroup();
      if (g == null)
    g = Group.create(report, item.getSelectable());
      g.setSortOrder(item.getSortOrder());
      report.addGroup(g);
  }
  designer.rebuildGroups();
  break;
    case NO_CHANGE:
View Full Code Here

protected static Integer groupCount(Field f) {
    if (f == null)
  return new Integer(0);

    Report report = f.getReport();
    Group group = report.findGroup(f.getSection());

    if (group == null && f.getSection().isDetail())
  group = report.innermostGroup(); // May be null

    return new Integer(group == null ? report.rowNumber()
           : group.getRecordCount());
}
View Full Code Here

TOP

Related Classes of jimm.datavision.Group

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.