Examples of JRBasePrintRectangle


Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

  /**
   *
   */
  public JRPrintElement convert(ReportConverter reportConverter, JRElement element)
  {
    JRBasePrintRectangle printRectangle = new JRBasePrintRectangle(reportConverter.getDefaultStyleProvider());
    JRRectangle rectangle = (JRRectangle)element;
   
    copyGraphicElement(reportConverter, rectangle, printRectangle);
   
    printRectangle.setRadius(rectangle.getOwnRadius());
   
    return printRectangle;
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

   */
  public Object createObject(Attributes atts)
  {
    JasperPrint jasperPrint = (JasperPrint)digester.peek(digester.getCount() - 2);

    JRBasePrintRectangle rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
   
    String radius = atts.getValue(JRXmlConstants.ATTRIBUTE_radius);
    if (radius != null && radius.length() > 0)
    {
      rectangle.setRadius(Integer.parseInt(radius));
    }

    return rectangle;
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

          && box.getBottomPen().getLineWidth().floatValue() <= 0f;
      }
     
      if (hasContour)
      {
        JRBasePrintRectangle rectangle = new JRBasePrintRectangle(reportConverter.getDefaultStyleProvider());
        rectangle.setX(element.getX());
        rectangle.setY(element.getY());
        rectangle.setWidth(element.getWidth());
        rectangle.setHeight(element.getHeight());
        rectangle.getLinePen().setLineWidth(0.1f);
        rectangle.getLinePen().setLineStyle(LineStyleEnum.DASHED);
        rectangle.getLinePen().setLineColor(ReportConverter.GRID_LINE_COLOR);
        rectangle.setMode(ModeEnum.TRANSPARENT);
        frame.addElement(rectangle);
      }
    }
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

        text.setLeadingOffset(-4.0f);
        text.setStyle(bodyStyle);
        return text;
    }
    private JRPrintRectangle drawGrayRectangle(int posX, int posY, int width, int height, int radius) {
        rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
        rectangle.setX(posX);
        rectangle.setY(posY);
        rectangle.setWidth(width);
        rectangle.setHeight(height);
        rectangle.setRadius(radius);
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

        rectangle.setBackcolor(new Color(204, 204, 204));
        return rectangle;
    }
   
    private JRPrintRectangle drawRectangle(int posX, int posY, int width, int height, int radius) {
        rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
        rectangle.setX(posX);
        rectangle.setY(posY);
        rectangle.setWidth(width);
        rectangle.setHeight(height);
        rectangle.setRadius(radius);
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

          text.setLeadingOffset(-4.0f);
          text.setStyle(boldStyle);
          return text;
      }
      private JRPrintRectangle drawGrayRectangle(int posX, int posY, int width, int height, int radius) {
          rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
          rectangle.setX(posX);
          rectangle.setY(posY);
          rectangle.setWidth(width);
          rectangle.setHeight(height);
          rectangle.setRadius(radius);
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

          rectangle.setRadius(radius);
          rectangle.setBackcolor(new Color(204, 204, 204));
          return rectangle;
      }
      private JRPrintRectangle drawRectangle(int posX, int posY, int width, int height, int radius) {
          rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
          rectangle.setX(posX);
          rectangle.setY(posY);
          rectangle.setWidth(width);
          rectangle.setHeight(height);
          rectangle.setRadius(radius);
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

        text.setLeadingOffset(-4.0f);
        text.setStyle(titleStyle);
        return text;
    }
    private JRPrintRectangle drawGrayRectangle(int posX, int posY, int width, int height, int radius) {
        rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
        rectangle.setX(posX);
        rectangle.setY(posY);
        rectangle.setWidth(width);
        rectangle.setHeight(height);
        rectangle.setRadius(radius);
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

        rectangle.setBackcolor(new Color(204, 204, 204));
        return rectangle;
    }
   
    private JRPrintRectangle drawRectangle(int posX, int posY, int width, int height, int radius) {
        rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
        rectangle.setX(posX);
        rectangle.setY(posY);
        rectangle.setWidth(width);
        rectangle.setHeight(height);
        rectangle.setRadius(radius);
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBasePrintRectangle

    text.setStyle(titleStyle);
    return text;
  }

  private JRPrintRectangle drawRectangle(int posX, int posY, int width, int height, int radius) {
    rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
    rectangle.setX(posX);
    rectangle.setY(posY);
    rectangle.setWidth(width);
    rectangle.setHeight(height);
    rectangle.setRadius(radius);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.