146147148149150151152153
if (band.getHeight() < element.getHeight() + element.getY()) { band.setHeight(element.getHeight() + element.getY()); } JRDesignElementGroup rowGroup = getRowElementGroup(rowLevel); rowGroup.addElement(element); }
157158159160161162163164165166167
int rowCount = rowGroups.size(); if (rowLevel >= rowCount) { for (int level = rowCount; level <= rowLevel; ++level) { JRDesignElementGroup group = new JRDesignElementGroup(); band.addElementGroup(group); rowGroups.add(group); } }
383940414243444546
/** * */ public Object createObject(Attributes atts) { JRDesignElementGroup elementGroup = new JRDesignElementGroup(); return elementGroup; }