Package net.sf.jasperreports.charts.design

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


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

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

    String mask = atts.getValue(ATTRIBUTE_mask);
    if (mask != null && mask.length() > 0)
    {
      valueDisplay.setMask(mask);
    }

    return valueDisplay;
  }
View Full Code Here

TOP

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

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.