KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > jasperreports > charts > fill > JRFillBarPlot


1 /*
2  * ============================================================================
3  * GNU Lesser General Public License
4  * ============================================================================
5  *
6  * JasperReports - Free Java report-generating library.
7  * Copyright (C) 2001-2006 JasperSoft Corporation http://www.jaspersoft.com
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
22  *
23  * JasperSoft Corporation
24  * 303 Second Street, Suite 450 North
25  * San Francisco, CA 94107
26  * http://www.jaspersoft.com
27  */

28 package net.sf.jasperreports.charts.fill;
29
30 import java.awt.Color JavaDoc;
31
32 import net.sf.jasperreports.charts.JRBarPlot;
33 import net.sf.jasperreports.engine.JRExpression;
34 import net.sf.jasperreports.engine.JRFont;
35 import net.sf.jasperreports.engine.fill.JRFillChartPlot;
36 import net.sf.jasperreports.engine.fill.JRFillObjectFactory;
37
38
39 /**
40  * @author Teodor Danciu (teodord@users.sourceforge.net)
41  * @version $Id: JRFillBarPlot.java 1386 2006-09-06 00:33:02 +0300 (Wed, 06 Sep 2006) bklawans $
42  */

43 public class JRFillBarPlot extends JRFillChartPlot implements JRBarPlot
44 {
45
46
47     /**
48      *
49      */

50     public JRFillBarPlot(
51         JRBarPlot barPlot,
52         JRFillObjectFactory factory
53         )
54     {
55         super(barPlot, factory);
56     }
57         
58
59     /**
60      *
61      */

62     public JRExpression getCategoryAxisLabelExpression()
63     {
64         return ((JRBarPlot)parent).getCategoryAxisLabelExpression();
65     }
66
67     /**
68      *
69      */

70     public JRFont getCategoryAxisLabelFont()
71     {
72         return ((JRBarPlot)parent).getCategoryAxisLabelFont();
73     }
74
75     /**
76      *
77      */

78     public void setCategoryAxisLabelFont(JRFont font)
79     {
80     }
81     
82     /**
83      *
84      */

85     public Color JavaDoc getCategoryAxisLabelColor()
86     {
87         return ((JRBarPlot)parent).getCategoryAxisLabelColor();
88     }
89
90     /**
91      *
92      */

93     public void setCategoryAxisLabelColor(Color JavaDoc color)
94     {
95     }
96
97     /**
98      *
99      */

100     public JRFont getCategoryAxisTickLabelFont()
101     {
102         return ((JRBarPlot)parent).getCategoryAxisTickLabelFont();
103     }
104
105     /**
106      *
107      */

108     public void setCategoryAxisTickLabelFont(JRFont font)
109     {
110     }
111     
112     /**
113      *
114      */

115     public Color JavaDoc getCategoryAxisTickLabelColor()
116     {
117         return ((JRBarPlot)parent).getCategoryAxisTickLabelColor();
118     }
119
120     /**
121      *
122      */

123     public void setCategoryAxisTickLabelColor(Color JavaDoc color)
124     {
125     }
126
127     /**
128      *
129      */

130     public String JavaDoc getCategoryAxisTickLabelMask()
131     {
132         return ((JRBarPlot)parent).getCategoryAxisTickLabelMask();
133     }
134
135     /**
136      *
137      */

138     public void setCategoryAxisTickLabelMask(String JavaDoc mask)
139     {
140     }
141
142     /**
143      *
144      */

145     public Color JavaDoc getCategoryAxisLineColor()
146     {
147         return ((JRBarPlot)parent).getCategoryAxisLineColor();
148     }
149
150     /**
151      *
152      */

153     public void setCategoryAxisLineColor(Color JavaDoc color)
154     {
155     }
156
157     /**
158      *
159      */

160     public JRExpression getValueAxisLabelExpression()
161     {
162         return ((JRBarPlot)parent).getValueAxisLabelExpression();
163     }
164
165     /**
166      *
167      */

168     public JRFont getValueAxisLabelFont()
169     {
170         return ((JRBarPlot)parent).getValueAxisLabelFont();
171     }
172
173     /**
174      *
175      */

176     public void setValueAxisLabelFont(JRFont font)
177     {
178     }
179     
180     /**
181      *
182      */

183     public Color JavaDoc getValueAxisLabelColor()
184     {
185         return ((JRBarPlot)parent).getValueAxisLabelColor();
186     }
187
188     /**
189      *
190      */

191     public void setValueAxisLabelColor(Color JavaDoc color)
192     {
193     }
194
195     /**
196      *
197      */

198     public JRFont getValueAxisTickLabelFont()
199     {
200         return ((JRBarPlot)parent).getValueAxisTickLabelFont();
201     }
202
203     /**
204      *
205      */

206     public void setValueAxisTickLabelFont(JRFont font)
207     {
208     }
209     
210     /**
211      *
212      */

213     public Color JavaDoc getValueAxisTickLabelColor()
214     {
215         return ((JRBarPlot)parent).getValueAxisTickLabelColor();
216     }
217
218     /**
219      *
220      */

221     public void setValueAxisTickLabelColor(Color JavaDoc color)
222     {
223     }
224
225     /**
226      *
227      */

228     public String JavaDoc getValueAxisTickLabelMask()
229     {
230         return ((JRBarPlot)parent).getValueAxisTickLabelMask();
231     }
232
233     /**
234      *
235      */

236     public void setValueAxisTickLabelMask(String JavaDoc mask)
237     {
238     }
239
240     /**
241      *
242      */

243     public Color JavaDoc getValueAxisLineColor()
244     {
245         return ((JRBarPlot)parent).getValueAxisLineColor();
246     }
247
248     /**
249      *
250      */

251     public void setValueAxisLineColor(Color JavaDoc color)
252     {
253     }
254     
255     /**
256      *
257      */

258     public boolean isShowTickMarks()
259     {
260         return ((JRBarPlot)parent).isShowTickMarks();
261     }
262         
263     /**
264      *
265      */

266     public void setShowTickMarks(boolean isShowTickMarks)
267     {
268     }
269         
270     /**
271      *
272      */

273     public boolean isShowTickLabels()
274     {
275         return ((JRBarPlot)parent).isShowTickLabels();
276     }
277         
278     /**
279      *
280      */

281     public void setShowTickLabels(boolean isShowTickLabels)
282     {
283     }
284
285     /**
286      *
287      */

288     public boolean isShowLabels(){
289         return ((JRBarPlot)parent).isShowLabels();
290     }
291     
292     /**
293      *
294      */

295     public void setShowLabels( boolean isShowLabels ){
296     }
297     
298 }
299
Popular Tags