Package net.sf.jasperreports.engine.type

Examples of net.sf.jasperreports.engine.type.IncrementTypeEnum


        group.setName(groupName);
        dataset.setResetGroup(group);
      }
    }

    IncrementTypeEnum incrementType = IncrementTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_incrementType));
    if (incrementType != null)
    {
      dataset.setIncrementType(incrementType);
    }
    if (dataset.getIncrementTypeValue() == IncrementTypeEnum.GROUP)
View Full Code Here


              addBrokenRule("Reset group \"" + variable.getResetGroup().getName() + "\" not found for variable : " + variable.getName(), variable);
            }
          }
        }

        IncrementTypeEnum incrementType = variable.getIncrementTypeValue();
        if (incrementType == IncrementTypeEnum.GROUP)
        {
          if (variable.getIncrementGroup() == null)
          {
            addBrokenRule("Increment group missing for variable : " + variable.getName(), variable);
View Full Code Here

  {
    JRDatasetRun datasetRun = dataset.getDatasetRun();

    if (datasetRun != null)
    {
      IncrementTypeEnum incrementType = dataset.getIncrementTypeValue();
      if (incrementType == IncrementTypeEnum.PAGE || incrementType == IncrementTypeEnum.COLUMN)
      {
        addBrokenRule("Chart datasets with dataset run cannont have Column or Page increment type.", dataset);
      }
View Full Code Here

      JRDesignGroup group = new JRDesignGroup();
      group.setName(groupName);
      variable.setResetGroup(group);
    }

    IncrementTypeEnum incrementType = IncrementTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_incrementType));
    if (incrementType != null)
    {
      variable.setIncrementType(incrementType);
    }
   
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.type.IncrementTypeEnum

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.