1 28 package net.sf.jasperreports.charts.fill; 29 30 import net.sf.jasperreports.charts.JRValueDisplay; 31 import net.sf.jasperreports.engine.JRFont; 32 import net.sf.jasperreports.engine.fill.JRFillObjectFactory; 33 34 import java.awt.Color ; 35 36 40 public class JRFillValueDisplay implements JRValueDisplay 41 { 42 43 protected JRValueDisplay parent = null; 44 47 public JRFillValueDisplay(JRValueDisplay valueDisplay, JRFillObjectFactory factory) 48 { 49 factory.put(valueDisplay, this); 50 51 parent = valueDisplay; 52 } 53 54 57 public Color getColor() 58 { 59 return parent.getColor(); 60 } 61 62 65 public String getMask(){ 66 return parent.getMask(); 67 } 68 69 72 public JRFont getFont() 73 { 74 return parent.getFont(); 75 } 76 } 77 | Popular Tags |