Package net.sf.jasperreports.charts.design

Examples of net.sf.jasperreports.charts.design.JRDesignItemLabel


  /**
   *
   */
  public Object createObject(Attributes atts)
  {
    JRDesignItemLabel itemLabel = new JRDesignItemLabel(null, ((JRChartPlot)digester.peek()).getChart());

    String color = atts.getValue(ATTRIBUTE_color);
    if (color != null && color.length() > 0)
    {
      itemLabel.setColor(JRColorUtil.getColor(color, null));
    }

    String backgroundColor = atts.getValue(ATTRIBUTE_backgroundColor);
    if (backgroundColor != null && backgroundColor.length() > 0)
    {
      itemLabel.setBackgroundColor(JRColorUtil.getColor(backgroundColor, null));
    }

//    String mask = atts.getValue(ATTRIBUTE_mask);
//    if (mask != null && mask.length() > 0)
//    {
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.charts.design.JRDesignItemLabel

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.