Package net.sf.jasperreports.engine.type

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


  protected void setDatasetAtts(Attributes atts, JRDesignElementDataset dataset)
  {
    JRXmlLoader xmlLoader = (JRXmlLoader)digester.peek(digester.getCount() - 1);
    Set groupBoundDatasets = xmlLoader.getGroupBoundDatasets();
   
    ResetTypeEnum resetType = ResetTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_resetType));
    if (resetType != null)
    {
      dataset.setResetType(resetType);
    }
    if (dataset.getResetTypeValue() == ResetTypeEnum.GROUP)
View Full Code Here


        catch (JRRuntimeException e)
        {
          addBrokenRule(e, variable);
        }

        ResetTypeEnum resetType = variable.getResetTypeValue();
        if (resetType == ResetTypeEnum.GROUP)
        {
          if (variable.getResetGroup() == null)
          {
            addBrokenRule("Reset group missing for variable : " + variable.getName(), variable);
View Full Code Here

      if (incrementType == IncrementTypeEnum.PAGE || incrementType == IncrementTypeEnum.COLUMN)
      {
        addBrokenRule("Chart datasets with dataset run cannont have Column or Page increment type.", dataset);
      }

      ResetTypeEnum resetType = dataset.getResetTypeValue();
      if (resetType == ResetTypeEnum.PAGE || resetType == ResetTypeEnum.COLUMN)
      {
        addBrokenRule("Chart datasets with dataset run cannont have Column or Page reset type.", dataset);
      }
//      else if (resetType != ResetTypeEnum.REPORT)
View Full Code Here

    if (atts.getValue(JRXmlConstants.ATTRIBUTE_class) != null)
    {
      variable.setValueClassName(atts.getValue(JRXmlConstants.ATTRIBUTE_class));
    }

    ResetTypeEnum resetType = ResetTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_resetType));
    if (resetType != null)
    {
      variable.setResetType(resetType);
    }
   
View Full Code Here

TOP

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

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.