KickJava   Java API By Example, From Geeks To Geeks.

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


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.JRHighLowPlot;
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 Ionut Nedelcu (ionutned@users.sourceforge.net)
41  * @version $Id: JRFillHighLowPlot.java 1386 2006-09-06 00:33:02 +0300 (Wed, 06 Sep 2006) bklawans $
42  */

43 public class JRFillHighLowPlot extends JRFillChartPlot implements JRHighLowPlot
44 {
45
46     /**
47      *
48      */

49     public JRFillHighLowPlot(
50         JRHighLowPlot highLowPlot,
51         JRFillObjectFactory factory
52         )
53     {
54         super(highLowPlot, factory);
55     }
56
57     /**
58      *
59      */

60     public JRExpression getTimeAxisLabelExpression()
61     {
62         return ((JRHighLowPlot)parent).getTimeAxisLabelExpression();
63     }
64
65     /**
66      *
67      */

68     public JRFont getTimeAxisLabelFont()
69     {
70         return ((JRHighLowPlot)parent).getTimeAxisLabelFont();
71     }
72
73     /**
74      *
75      */

76     public void setTimeAxisLabelFont(JRFont font)
77     {
78     }
79     
80     /**
81      *
82      */

83     public Color JavaDoc getTimeAxisLabelColor()
84     {
85         return ((JRHighLowPlot)parent).getTimeAxisLabelColor();
86     }
87
88     /**
89      *
90      */

91     public void setTimeAxisLabelColor(Color JavaDoc color)
92     {
93     }
94
95     /**
96      *
97      */

98     public JRFont getTimeAxisTickLabelFont()
99     {
100         return ((JRHighLowPlot)parent).getTimeAxisTickLabelFont();
101     }
102
103     /**
104      *
105      */

106     public void setTimeAxisTickLabelFont(JRFont font)
107     {
108     }
109     
110     /**
111      *
112      */

113     public Color JavaDoc getTimeAxisTickLabelColor()
114     {
115         return ((JRHighLowPlot)parent).getTimeAxisTickLabelColor();
116     }
117
118     /**
119      *
120      */

121     public void setTimeAxisTickLabelColor(Color JavaDoc color)
122     {
123     }
124
125     /**
126      *
127      */

128     public String JavaDoc getTimeAxisTickLabelMask()
129     {
130         return ((JRHighLowPlot)parent).getTimeAxisTickLabelMask();
131     }
132
133     /**
134      *
135      */

136     public void setTimeAxisTickLabelMask(String JavaDoc mask)
137     {
138     }
139
140     /**
141      *
142      */

143     public Color JavaDoc getTimeAxisLineColor()
144     {
145         return ((JRHighLowPlot)parent).getTimeAxisLineColor();
146     }
147
148     /**
149      *
150      */

151     public void setTimeAxisLineColor(Color JavaDoc color)
152     {
153     }
154
155     /**
156      *
157      */

158     public JRExpression getValueAxisLabelExpression()
159     {
160         return ((JRHighLowPlot)parent).getValueAxisLabelExpression();
161     }
162
163     /**
164      *
165      */

166     public JRFont getValueAxisLabelFont()
167     {
168         return ((JRHighLowPlot)parent).getValueAxisLabelFont();
169     }
170
171     /**
172      *
173      */

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

181     public Color JavaDoc getValueAxisLabelColor()
182     {
183         return ((JRHighLowPlot)parent).getValueAxisLabelColor();
184     }
185
186     /**
187      *
188      */

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

196     public JRFont getValueAxisTickLabelFont()
197     {
198         return ((JRHighLowPlot)parent).getValueAxisTickLabelFont();
199     }
200
201     /**
202      *
203      */

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

211     public Color JavaDoc getValueAxisTickLabelColor()
212     {
213         return ((JRHighLowPlot)parent).getValueAxisTickLabelColor();
214     }
215
216     /**
217      *
218      */

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

226     public String JavaDoc getValueAxisTickLabelMask()
227     {
228         return ((JRHighLowPlot)parent).getValueAxisTickLabelMask();
229     }
230
231     /**
232      *
233      */

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

241     public Color JavaDoc getValueAxisLineColor()
242     {
243         return ((JRHighLowPlot)parent).getValueAxisLineColor();
244     }
245
246     /**
247      *
248      */

249     public void setValueAxisLineColor(Color JavaDoc color)
250     {
251     }
252     
253     public boolean isShowOpenTicks()
254     {
255         return ((JRHighLowPlot)parent).isShowOpenTicks();
256     }
257
258
259     public boolean isShowCloseTicks()
260     {
261         return ((JRHighLowPlot)parent).isShowCloseTicks();
262     }
263 }
264
Popular Tags