1 28 package net.sf.jasperreports.charts.util; 29 30 import java.awt.Color ; 31 import java.io.Serializable ; 32 33 import net.sf.jasperreports.engine.JRConstants; 34 import net.sf.jasperreports.engine.JRFont; 35 36 43 public class JRAxisFormat implements Serializable { 44 45 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 46 47 50 protected Color labelColor = null; 51 52 55 protected JRFont labelFont = null; 56 57 61 protected Color tickLabelColor = null; 62 63 67 protected JRFont tickLabelFont = null; 68 69 73 protected String tickLabelMask = null; 74 75 78 protected Color lineColor = null; 79 80 84 public JRAxisFormat() {} 85 86 91 public Color getLabelColor() 92 { 93 return labelColor; 94 } 95 96 101 public void setLabelColor(Color labelColor) 102 { 103 this.labelColor = labelColor; 104 } 105 106 111 public JRFont getLabelFont() 112 { 113 return labelFont; 114 } 115 116 121 public void setLabelFont(JRFont labelFont) 122 { 123 this.labelFont = labelFont; 124 } 125 126 132 public Color getLineColor() { 133 return lineColor; 134 } 135 136 142 public void setLineColor(Color lineColor) { 143 this.lineColor = lineColor; 144 } 145 146 151 public Color getTickLabelColor() { 152 return tickLabelColor; 153 } 154 155 160 public void setTickLabelColor(Color tickLabelColor) { 161 this.tickLabelColor = tickLabelColor; 162 } 163 164 169 public JRFont getTickLabelFont() { 170 return tickLabelFont; 171 } 172 173 178 public void setTickLabelFont(JRFont tickLabelFont) { 179 this.tickLabelFont = tickLabelFont; 180 } 181 182 187 public String getTickLabelMask() { 188 return tickLabelMask; 189 } 190 191 196 public void setTickLabelMask(String mask) { 197 this.tickLabelMask = mask; 198 } 199 } 200 | Popular Tags |