• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java JRDesignGroup类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中net.sf.jasperreports.engine.design.JRDesignGroup的典型用法代码示例。如果您正苦于以下问题:Java JRDesignGroup类的具体用法?Java JRDesignGroup怎么用?Java JRDesignGroup使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



JRDesignGroup类属于net.sf.jasperreports.engine.design包,在下文中一共展示了JRDesignGroup类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: setPropertyValue

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void setPropertyValue(Object id, Object value) {
	JRDesignGroup jrGroup = (JRDesignGroup) getValue();
	if (id.equals(JRDesignGroup.PROPERTY_NAME)) {
		jrGroup.setName((String) value);
	}
	else if (id.equals(JRDesignGroup.PROPERTY_EXPRESSION))
		jrGroup.setExpression(ExprUtil.setValues(jrGroup.getExpression(), value, null));
	else if (id.equals(JRBaseGroup.PROPERTY_MIN_HEIGHT_TO_START_NEW_PAGE)) {
		int minH = 0;
		if (value != null)
			minH = Math.max(0, (Integer) value);
		jrGroup.setMinHeightToStartNewPage(minH);
	} else if (id.equals(JRDesignGroup.PROPERTY_START_NEW_COLUMN))
		jrGroup.setStartNewColumn((Boolean) value);
	else if (id.equals(JRDesignGroup.PROPERTY_START_NEW_PAGE))
		jrGroup.setStartNewPage((Boolean) value);
	else if (id.equals(JRDesignGroup.PROPERTY_RESET_PAGE_NUMBER))
		jrGroup.setResetPageNumber((Boolean) value);
	else if (id.equals(JRDesignGroup.PROPERTY_REPRINT_HEADER_ON_EACH_PAGE))
		jrGroup.setReprintHeaderOnEachPage((Boolean) value);
	else if (id.equals(JRDesignGroup.PROPERTY_KEEP_TOGETHER))
		jrGroup.setKeepTogether((Boolean) value);
	else if (id.equals(JRDesignGroup.PROPERTY_FOOTER_POSITION))
		jrGroup.setFooterPosition((FooterPositionEnum) positionD.getEnumValue(value));
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:26,代码来源:MGroup.java


示例2: setRowsHeight

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void setRowsHeight(List<Integer> d) {
	int i = 0;
	List<?> groupsList = TableUtil.getGroupList(table, jDesign);
	setRowHeight(table.getColumns(), TableUtil.TABLE_HEADER, "", d.get(i++));
	setRowHeight(table.getColumns(), TableUtil.COLUMN_HEADER, "",
			d.get(i++));
	setRowHeight(table.getColumns(), TableUtil.COLUMN_DETAIL, "",
			d.get(i++));
	setRowHeight(table.getColumns(), TableUtil.COLUMN_FOOTER, "",
			d.get(i++));
	setRowHeight(table.getColumns(), TableUtil.TABLE_FOOTER, "", d.get(i++));
	if (groupsList != null)
		for (Iterator<?> it = groupsList.iterator(); it.hasNext();) {
			JRDesignGroup jrGroup = (JRDesignGroup) it.next();
			setRowHeight(table.getColumns(), TableUtil.COLUMN_GROUP_HEADER,
					jrGroup.getName(), d.get(i++));
			setRowHeight(table.getColumns(), TableUtil.COLUMN_GROUP_FOOTER,
					jrGroup.getName(), d.get(i++));
		}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:21,代码来源:TableManager.java


示例3: setColumnHeight

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void setColumnHeight(BaseColumn bc, List<Integer> deltas) {
	int i = 0;
	setCellHeight(bc, TableUtil.TABLE_HEADER, "", deltas.get(i++));
	setCellHeight(bc, TableUtil.COLUMN_HEADER, "", deltas.get(i++));
	setCellHeight(bc, TableUtil.COLUMN_DETAIL, "", deltas.get(i++));
	setCellHeight(bc, TableUtil.COLUMN_FOOTER, "", deltas.get(i++));
	setCellHeight(bc, TableUtil.TABLE_FOOTER, "", deltas.get(i++));
	List<?> groupsList = TableUtil.getGroupList(table, jDesign);
	if (groupsList != null)
		for (Iterator<?> it = groupsList.iterator(); it.hasNext();) {
			JRDesignGroup jrGroup = (JRDesignGroup) it.next();
			setCellHeight(bc, TableUtil.COLUMN_GROUP_HEADER,
					jrGroup.getName(), deltas.get(i++));
			setCellHeight(bc, TableUtil.COLUMN_GROUP_FOOTER,
					jrGroup.getName(), deltas.get(i++));
		}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:18,代码来源:TableManager.java


示例4: changeProperty

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
/**
 * Check if the property changed is the name and in this case check that the 
 * new name is different from any existing group. If it is different the change
 * is done, otherwise a warning message is shown and the original name is 
 * restored
 */
@Override
public boolean changeProperty(Object property, Object newValue) {
	if (JRDesignGroup.PROPERTY_NAME.equals(property)){
		JasperDesign jd = getElement().getJasperConfiguration().getJasperDesign();
		String oldName = getElement().getPropertyValue(JRDesignGroup.PROPERTY_NAME).toString();
		//If the new name is equals to the actual one the there is no need to change
		if (oldName.equals(newValue)) return true;
		if (jd != null && jd.getGroupsMap().get(newValue) != null) {
			nameWidget.setData(getElement(), oldName);
			String message = MessageFormat.format(Messages.GroupSection_SameNameErrorMsg, new Object[] { newValue });
			MessageDialog dialog = new MessageDialog(UIUtils.getShell(), Messages.GroupSection_SameNameErrorTitle, null,
					message, MessageDialog.WARNING, new String[] { "Ok"}, 0); //$NON-NLS-1$
			dialog.open();
			return false;
		}
	}
	return super.changeProperty(property, newValue);
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:25,代码来源:GroupSection.java


示例5: MBandGroup

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public MBandGroup(ANode parent, JRDesignGroup jrGroup, JRBand jrband, BandTypeEnum bandtype, int newIndex){
	super(parent, jrband, bandtype, newIndex);
	this.jrGroup = jrGroup;
	mGroup = new MGroup(null, jrGroup, -1);
	setChildListener(mGroup);
	mGroupBand = new MGroupBand(jrGroup);
	// Fix missing jasper configuration
	if (parent != null) {
		JasperReportsConfiguration jconfig = parent.getJasperConfiguration();
		if (jconfig != null) {
			mGroup.setJasperConfiguration(jconfig);
			mGroupBand.setJasperConfiguration(jconfig);
		}
	}
	bandIndex = -1;
	refreshIndex();
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:18,代码来源:MBandGroup.java


示例6: getPropertyValue

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public Object getPropertyValue(Object id) {
	JRDesignGroup jrGroup = (JRDesignGroup) getValue();
	if (id.equals(JRDesignGroup.PROPERTY_NAME))
		return jrGroup.getName();
	if (id.equals(JRDesignGroup.PROPERTY_EXPRESSION))
		return ExprUtil.getExpression(jrGroup.getExpression());
	if (id.equals(JRBaseGroup.PROPERTY_MIN_HEIGHT_TO_START_NEW_PAGE))
		return jrGroup.getMinHeightToStartNewPage();

	if (id.equals(JRBaseGroup.PROPERTY_START_NEW_COLUMN))
		return jrGroup.isStartNewColumn();
	if (id.equals(JRBaseGroup.PROPERTY_START_NEW_PAGE))
		return jrGroup.isStartNewPage();
	if (id.equals(JRBaseGroup.PROPERTY_RESET_PAGE_NUMBER))
		return jrGroup.isResetPageNumber();
	if (id.equals(JRBaseGroup.PROPERTY_REPRINT_HEADER_ON_EACH_PAGE))
		return jrGroup.isReprintHeaderOnEachPage();
	if (id.equals(JRBaseGroup.PROPERTY_KEEP_TOGETHER))
		return jrGroup.isKeepTogether();
	if (id.equals(JRBaseGroup.PROPERTY_FOOTER_POSITION))
		return positionD.getEnumValue(jrGroup.getFooterPositionValue());

	return null;
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:25,代码来源:MGroup.java


示例7: propertyChange

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
@Override
public void propertyChange(PropertyChangeEvent evt) {
	if (JRDesignGroup.PROPERTY_NAME.equals(evt.getPropertyName())) {
		// Temporary fix for the Community Bug #2991
		// Should be done on JR-side. Let's keep the cache map of groups in sync.
		JRDesignGroup jrGroup = (JRDesignGroup) getValue();
		JasperDesign design = getJasperDesign();
		if (design != null){
			design.getGroupsMap().remove(evt.getOldValue());
			design.getGroupsMap().put(jrGroup.getName(), jrGroup);
			//JRDesignDataset dataset = ModelUtils.getDataset(this);
			JRVariable groupVar =  getJasperDesign().getVariablesMap().get(evt.getOldValue()  + "_COUNT");
			if (groupVar != null){
				//This should launch the propertyChange event on the variable so the map is updated also for it
				((JRDesignVariable)groupVar).setName(jrGroup.getName() + "_COUNT");
			}
		}
	}
	super.propertyChange(evt);
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:21,代码来源:MGroup.java


示例8: setSelection

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
private void setSelection(EditPart parent, APropertyNode groupNode){
	EditPart partToSelect = null;
	for(Object child : parent.getChildren()){
		if (child instanceof EditPart){
			EditPart part = (EditPart) child;
			if (part.getModel().getClass().equals(groupNode.getClass())){
					String groupName = groupNode.getPropertyValue(JRDesignGroup.PROPERTY_NAME).toString();
					String actualGroupName = ((APropertyNode)part.getModel()).getPropertyValue(JRDesignGroup.PROPERTY_NAME).toString();
					if (groupName.equals(actualGroupName)){
						partToSelect = part;
						break;
					}
			}
		} 
	}
	if (partToSelect != null){
		StructuredSelection newselection = new StructuredSelection(partToSelect);
		setSelection(newselection);
		getWorkbenchPart().getSite().getSelectionProvider().setSelection(newselection);
	}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:22,代码来源:MoveGroupUpAction.java


示例9: propertyChange

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void propertyChange(PropertyChangeEvent evt) {
    
    com.jaspersoft.ireport.designer.IReportManager.getInstance().notifyReportChange();
    fireNameChange(null, "");
    if (evt.getPropertyName() == null) return;
    
    if (ModelUtils.containsProperty(  this.getPropertySets(), evt.getPropertyName()))
    {
        this.firePropertyChange(evt.getPropertyName(), evt.getOldValue(), evt.getNewValue() );
    }
    
    if (evt.getPropertyName().equals(  JRDesignGroup.PROPERTY_NAME) ||
        evt.getPropertyName().equals(  JRDesignCrosstabCell.PROPERTY_COLUMN_TOTAL_GROUP) ||
        evt.getPropertyName().equals(  JRDesignCrosstabCell.PROPERTY_ROW_TOTAL_GROUP))
    {
        this.fireDisplayNameChange(null, getDisplayName());
    }
    
    if (evt.getPropertyName().equals(  JRDesignCellContents.PROPERTY_CHILDREN))
    {
        ((ElementContainerChildren)getChildren()).recalculateKeys();
    }
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:24,代码来源:CellNode.java


示例10: createSheet

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
@Override
protected Sheet createSheet() {
    Sheet sheet = super.createSheet();

    JRDesignGroup group = getGroup();
    if (group != null)
    {
        Sheet.Set groupPropertiesSet = Sheet.createPropertiesSet();
        groupPropertiesSet.setName("GROUP_PROPERTIES");
        groupPropertiesSet.setDisplayName(I18n.getString("BandNode.Property.Groupproperties"));
        groupPropertiesSet = BandNode.fillGroupPropertySet(groupPropertiesSet, getDataset(), group);

        sheet.put(groupPropertiesSet);
    }
    return sheet;
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:17,代码来源:NullBandNode.java


示例11: getActions

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
@Override
public Action[] getActions(boolean popup) {

    java.util.List<Action> list = new ArrayList<Action>();
    list.add( SystemAction.get(AddBandAction.class));

    if (band.getOrigin().getBandTypeValue() == BandTypeEnum.BACKGROUND)
    {
        list.add(SystemAction.get(MaximizeBackgroundAction.class));
    }

    JRDesignGroup group = getGroup();

    if (group != null)
    {
        list.add( null );
        list.add( SystemAction.get(MoveGroupUpAction.class));
        list.add( SystemAction.get(MoveGroupDownAction.class));
        list.add( DeleteGroupAction.getInstance() );
    }

    return list.toArray(new Action[list.size()]);
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:24,代码来源:NullBandNode.java


示例12: updateSectionListeners

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void updateSectionListeners()
{
    ((JRDesignSection)jd.getDetailSection()).getEventSupport().removePropertyChangeListener(this);
    ((JRDesignSection)jd.getDetailSection()).getEventSupport().addPropertyChangeListener(this);
    
    for (int i=0; i<this.jd.getGroupsList().size(); ++i)
    {
        JRDesignGroup grp = (JRDesignGroup)this.jd.getGroupsList().get(i);
        grp.getEventSupport().removePropertyChangeListener(this);
        grp.getEventSupport().addPropertyChangeListener(this);
        if (((JRDesignSection)grp.getGroupHeaderSection() != null))
        {
            ((JRDesignSection)grp.getGroupHeaderSection()).getEventSupport().removePropertyChangeListener(this);
            ((JRDesignSection)grp.getGroupHeaderSection()).getEventSupport().addPropertyChangeListener(this);
        }
        if (((JRDesignSection)grp.getGroupFooterSection() != null))
        {
            ((JRDesignSection)grp.getGroupFooterSection()).getEventSupport().removePropertyChangeListener(this);
            ((JRDesignSection)grp.getGroupFooterSection()).getEventSupport().addPropertyChangeListener(this);
        }
    }
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:23,代码来源:ReportNode.java


示例13: fillGroupPropertySet

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public static Sheet.Set fillGroupPropertySet(Sheet.Set groupPropertiesSet, JRDesignDataset dataset, JRDesignGroup group)
{
    
    groupPropertiesSet.put(new GroupNameProperty(group, dataset));
    groupPropertiesSet.put(new GroupExpressionProperty(group, dataset));
    
   
    groupPropertiesSet.put(new StartNewPageProperty(group));
    groupPropertiesSet.put(new StartNewColumnProperty(group));
    groupPropertiesSet.put(new ResetPageNumberProperty(group));
    groupPropertiesSet.put(new ReprintHeaderProperty(group));
    groupPropertiesSet.put(new MinHeightToStartNewPageProperty(group));
    groupPropertiesSet.put(new MinHeightToStartNewPageProperty(group));
    groupPropertiesSet.put(new FooterPositionProperty(group));
    groupPropertiesSet.put(new KeepTogetherProperty(group));
        
   
    
    return groupPropertiesSet;
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:21,代码来源:BandNode.java


示例14: propertyChange

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void propertyChange(PropertyChangeEvent evt) {
    
    com.jaspersoft.ireport.designer.IReportManager.getInstance().notifyReportChange();
    if (evt.getPropertyName() == null) return;
    
    if (ModelUtils.containsProperty(  this.getPropertySets(), evt.getPropertyName()))
    {
        //if (evt.getPropertyName().equals(JRBaseBand.PROPERTY_SPLIT_TYPE))
        //{
        //    this.firePropertyChange(JRBaseBand.PROPERTY_SPLIT_ALLOWED, evt.getOldValue(), evt.getNewValue() );
        //}
        this.firePropertyChange(evt.getPropertyName(), evt.getOldValue(), evt.getNewValue() );
    }
    
    if (evt.getPropertyName().equals(  JRDesignGroup.PROPERTY_NAME) ||
        evt.getPropertyName().equals( JRDesignSection.PROPERTY_BANDS))
    {
        String s = ModelUtils.nameOf(band, jd);
        setDisplayName( s );
        this.fireNameChange(null, getDisplayName());
    }

    
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:25,代码来源:BandNode.java


示例15: performAction

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
protected void performAction(org.openide.nodes.Node[] activatedNodes) {

        GroupNode groupNode = (GroupNode)activatedNodes[0];
        // Remove the group...
        JRDesignGroup grp = groupNode.getGroup();

        JRDesignDataset dataset = groupNode.getDataset();
        List groups = dataset.getGroupsList();
        int index = groups.indexOf(grp);
        if (index > 0)
        {
            groups.remove(grp);
            groups.add(index-1, grp);
        }

        dataset.getEventSupport().firePropertyChange( JRDesignDataset.PROPERTY_GROUPS, null, null);

        // We should add an undo here...
        IReportManager.getInstance().notifyReportChange();
    }
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:21,代码来源:MoveGroupUpAction.java


示例16: performAction

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
protected void performAction(org.openide.nodes.Node[] activatedNodes) {
    
    GroupNode groupNode = (GroupNode)activatedNodes[0];
    // Remove the group...
    JRDesignGroup grp = groupNode.getGroup();

    JRDesignDataset dataset = groupNode.getDataset();
    int index = dataset.getGroupsList().indexOf(grp);
    dataset.removeGroup(grp);

    // We should add an undo here...
    IReportManager.getInstance().notifyReportChange();
    
    DeleteGroupUndoableEdit edit = new DeleteGroupUndoableEdit(grp, dataset, index);
    IReportManager.getInstance().addUndoableEdit(edit);
    
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:18,代码来源:DeleteGroupAction.java


示例17: performAction

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
protected void performAction(org.openide.nodes.Node[] activatedNodes) {

        GroupNode groupNode = (GroupNode)activatedNodes[0];
        // Remove the group...
        JRDesignGroup grp = groupNode.getGroup();

        JRDesignDataset dataset = groupNode.getDataset();
        List groups = dataset.getGroupsList();
        int index = groups.indexOf(grp);
        if (index < groups.size())
        {
            groups.remove(grp);
            groups.add(index+1, grp);
        }

        dataset.getEventSupport().firePropertyChange( JRDesignDataset.PROPERTY_GROUPS, null, null);

        // We should add an undo here...
        IReportManager.getInstance().notifyReportChange();
    }
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:21,代码来源:MoveGroupDownAction.java


示例18: updateSectionListeners

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public void updateSectionListeners()
{
    ((JRDesignSection)getJasperDesign().getDetailSection()).getEventSupport().removePropertyChangeListener(this);
    ((JRDesignSection)getJasperDesign().getDetailSection()).getEventSupport().addPropertyChangeListener(this);


    for (int i=0; i<getJasperDesign().getGroupsList().size(); ++i)
    {
        JRDesignGroup grp = (JRDesignGroup)getJasperDesign().getGroupsList().get(i);
        grp.getEventSupport().removePropertyChangeListener(this);
        grp.getEventSupport().addPropertyChangeListener(this);
        if (((JRDesignSection)grp.getGroupHeaderSection() != null))
        {
            ((JRDesignSection)grp.getGroupHeaderSection()).getEventSupport().removePropertyChangeListener(this);
            ((JRDesignSection)grp.getGroupHeaderSection()).getEventSupport().addPropertyChangeListener(this);
        }
        if (((JRDesignSection)grp.getGroupFooterSection() != null))
        {
            ((JRDesignSection)grp.getGroupFooterSection()).getEventSupport().removePropertyChangeListener(this);
            ((JRDesignSection)grp.getGroupFooterSection()).getEventSupport().addPropertyChangeListener(this);
        }
    }
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:24,代码来源:ReportObjectScene.java


示例19: BandSeparatorWidget

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
public BandSeparatorWidget(ReportObjectScene scene, JRBand b) {
    super(scene, Orientation.HORIZONTAL);
    this.band=b;
    
    // We set a border to improve the sensible area....
    setBorder( BorderFactory.createEmptyBorder(0, 3) );
    setCursor( Cursor.getPredefinedCursor( Cursor.S_RESIZE_CURSOR) );
    setForeground(ReportObjectScene.DESIGN_LINE_COLOR);
    
    // Add a listener to the band changes...
    if (b instanceof JRDesignBand)
    {
        ((JRDesignBand)b).getEventSupport().addPropertyChangeListener(this);
        if (((JRDesignBand)b).getOrigin().getGroupName() != null)
        {
            String gname = ((JRDesignBand)b).getOrigin().getGroupName();
            JRDesignGroup group = (JRDesignGroup) scene.getJasperDesign().getGroupsMap().get(gname);
            if (group != null)
            {
                group.getEventSupport().addPropertyChangeListener(JRDesignGroup.PROPERTY_NAME , this );
            }
        }
    }
    
    updateBounds();
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:27,代码来源:BandSeparatorWidget.java


示例20: getDeltas

import net.sf.jasperreports.engine.design.JRDesignGroup; //导入依赖的package包/类
private void getDeltas(TableManager tb) {
	deltas = new ArrayList<Integer>();
	addDelta(tb, TableUtil.TABLE_HEADER, "");
	addDelta(tb, TableUtil.COLUMN_HEADER, "");
	addDelta(tb, TableUtil.COLUMN_DETAIL, "");
	addDelta(tb, TableUtil.COLUMN_FOOTER, "");
	addDelta(tb, TableUtil.TABLE_FOOTER, "");
	List<?> groupsList = TableUtil.getGroupList(jrTable, jDesign);
	if (groupsList != null)
		for (Iterator<?> it = groupsList.iterator(); it.hasNext();) {
			JRDesignGroup jrGroup = (JRDesignGroup) it.next();
			addDelta(tb, TableUtil.COLUMN_GROUP_HEADER, jrGroup.getName());
			addDelta(tb, TableUtil.COLUMN_GROUP_FOOTER, jrGroup.getName());
		}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:16,代码来源:MoveColumnCommand.java



注:本文中的net.sf.jasperreports.engine.design.JRDesignGroup类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java TimerHandle类代码示例发布时间:2022-05-23
下一篇:
Java DoUpgradeRequestProto类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap