KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > jasperreports > engine > fill > JRTemplatePrintText


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.engine.fill;
29
30 import java.awt.Color JavaDoc;
31
32 import net.sf.jasperreports.engine.JRAnchor;
33 import net.sf.jasperreports.engine.JRBox;
34 import net.sf.jasperreports.engine.JRConstants;
35 import net.sf.jasperreports.engine.JRFont;
36 import net.sf.jasperreports.engine.JRPrintHyperlinkParameters;
37 import net.sf.jasperreports.engine.JRPrintText;
38 import net.sf.jasperreports.engine.JRReportFont;
39
40
41 /**
42  * @author Teodor Danciu (teodord@users.sourceforge.net)
43  * @version $Id: JRTemplatePrintText.java 1485 2006-11-14 20:23:17 +0200 (Tue, 14 Nov 2006) teodord $
44  */

45 public class JRTemplatePrintText extends JRTemplatePrintElement implements JRPrintText
46 {
47
48
49     /**
50      *
51      */

52     private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID;
53
54     /**
55      *
56      */

57     private String JavaDoc text = "";
58     private float lineSpacingFactor = 0;
59     private float leadingOffset = 0;
60     private byte runDirection = RUN_DIRECTION_LTR;
61     private float textHeight = 0;
62     private String JavaDoc anchorName = null;
63     private String JavaDoc hyperlinkReference = null;
64     private String JavaDoc hyperlinkAnchor = null;
65     private Integer JavaDoc hyperlinkPage = null;
66     private String JavaDoc hyperlinkTooltip;
67     private JRPrintHyperlinkParameters hyperlinkParameters;
68
69     /**
70      * The bookmark level for the anchor associated with this field.
71      * @see JRAnchor#getBookmarkLevel()
72      */

73     protected int bookmarkLevel = JRAnchor.NO_BOOKMARK;
74     
75     /**
76      *
77      */

78     public JRTemplatePrintText(JRTemplateText text)
79     {
80         super(text);
81     }
82
83     /**
84      *
85      */

86     public String JavaDoc getText()
87     {
88         return text;
89     }
90         
91     /**
92      *
93      */

94     public void setText(String JavaDoc text)
95     {
96         this.text = text;
97     }
98
99     /**
100      *
101      */

102     public float getLineSpacingFactor()
103     {
104         return lineSpacingFactor;
105     }
106         
107     /**
108      *
109      */

110     public void setLineSpacingFactor(float lineSpacingFactor)
111     {
112         this.lineSpacingFactor = lineSpacingFactor;
113     }
114
115     /**
116      *
117      */

118     public float getLeadingOffset()
119     {
120         return leadingOffset;
121     }
122         
123     /**
124      *
125      */

126     public void setLeadingOffset(float leadingOffset)
127     {
128         this.leadingOffset = leadingOffset;
129     }
130
131     /**
132      * @deprecated Replaced by {@link #getHorizontalAlignment()}.
133      */

134     public byte getTextAlignment()
135     {
136         return getHorizontalAlignment();
137     }
138         
139     /**
140      * @deprecated Replaced by {@link #setHorizontalAlignment(byte)}.
141      */

142     public void setTextAlignment(byte horizontalAlignment)
143     {
144     }
145         
146     /**
147      *
148      */

149     public byte getHorizontalAlignment()
150     {
151         return ((JRTemplateText)template).getHorizontalAlignment();
152     }
153         
154     public Byte JavaDoc getOwnHorizontalAlignment()
155     {
156         return ((JRTemplateText)template).getOwnHorizontalAlignment();
157     }
158
159     /**
160      *
161      */

162     public void setHorizontalAlignment(byte horizontalAlignment)
163     {
164     }
165         
166     /**
167      *
168      */

169     public void setHorizontalAlignment(Byte JavaDoc horizontalAlignment)
170     {
171     }
172         
173     /**
174      *
175      */

176     public byte getVerticalAlignment()
177     {
178         return ((JRTemplateText)template).getVerticalAlignment();
179     }
180         
181     /**
182      *
183      */

184     public Byte JavaDoc getOwnVerticalAlignment()
185     {
186         return ((JRTemplateText)template).getOwnVerticalAlignment();
187     }
188
189     /**
190      *
191      */

192     public void setVerticalAlignment(byte verticalAlignment)
193     {
194     }
195         
196     /**
197      *
198      */

199     public void setVerticalAlignment(Byte JavaDoc verticalAlignment)
200     {
201     }
202         
203     /**
204      *
205      */

206     public byte getRotation()
207     {
208         return ((JRTemplateText)template).getRotation();
209     }
210         
211     public Byte JavaDoc getOwnRotation()
212     {
213         return ((JRTemplateText)template).getOwnRotation();
214     }
215
216     /**
217      *
218      */

219     public void setRotation(byte rotation)
220     {
221     }
222         
223     /**
224      *
225      */

226     public void setRotation(Byte JavaDoc rotation)
227     {
228     }
229         
230     /**
231      *
232      */

233     public byte getRunDirection()
234     {
235         return runDirection;
236     }
237         
238     /**
239      *
240      */

241     public void setRunDirection(byte runDirection)
242     {
243         this.runDirection = runDirection;
244     }
245         
246     /**
247      *
248      */

249     public float getTextHeight()
250     {
251         return textHeight;
252     }
253         
254     /**
255      *
256      */

257     public void setTextHeight(float textHeight)
258     {
259         this.textHeight = textHeight;
260     }
261
262     /**
263      *
264      */

265     public byte getLineSpacing()
266     {
267         return ((JRTemplateText)template).getLineSpacing();
268     }
269         
270     public Byte JavaDoc getOwnLineSpacing()
271     {
272         return ((JRTemplateText)template).getOwnLineSpacing();
273     }
274
275     /**
276      *
277      */

278     public void setLineSpacing(byte lineSpacing)
279     {
280     }
281         
282     /**
283      *
284      */

285     public void setLineSpacing(Byte JavaDoc lineSpacing)
286     {
287     }
288         
289     /**
290      *
291      */

292     public boolean isStyledText()
293     {
294         return ((JRTemplateText)template).isStyledText();
295     }
296         
297     public Boolean JavaDoc isOwnStyledText()
298     {
299         return ((JRTemplateText)template).isOwnStyledText();
300     }
301
302     /**
303      *
304      */

305     public void setStyledText(boolean isStyledText)
306     {
307     }
308         
309     /**
310      *
311      */

312     public void setStyledText(Boolean JavaDoc isStyledText)
313     {
314     }
315         
316     /**
317      * @deprecated
318      */

319     public JRBox getBox()
320     {
321         return (JRTemplateText)template;
322     }
323         
324     /**
325      * @deprecated
326      */

327     public void setBox(JRBox box)
328     {
329     }
330
331     /**
332      * @deprecated
333      */

334     public JRFont getFont()
335     {
336         return (JRTemplateText)template;
337     }
338         
339     /**
340      * @deprecated
341      */

342     public void setFont(JRFont font)
343     {
344     }
345
346     /**
347      *
348      */

349     public String JavaDoc getAnchorName()
350     {
351         return anchorName;
352     }
353         
354     /**
355      *
356      */

357     public void setAnchorName(String JavaDoc anchorName)
358     {
359         this.anchorName = anchorName;
360     }
361         
362     /**
363      *
364      */

365     public byte getHyperlinkType()
366     {
367         return ((JRTemplateText)template).getHyperlinkType();
368     }
369         
370     /**
371      *
372      */

373     public void setHyperlinkType(byte hyperlinkType)
374     {
375     }
376
377     /**
378      *
379      */

380     public byte getHyperlinkTarget()
381     {
382         return ((JRTemplateText)template).getHyperlinkTarget();
383     }
384         
385     /**
386      *
387      */

388     public void setHyperlinkTarget(byte hyperlinkTarget)
389     {
390     }
391
392     /**
393      *
394      */

395     public String JavaDoc getHyperlinkReference()
396     {
397         return hyperlinkReference;
398     }
399         
400     /**
401      *
402      */

403     public void setHyperlinkReference(String JavaDoc hyperlinkReference)
404     {
405         this.hyperlinkReference = hyperlinkReference;
406     }
407         
408     /**
409      *
410      */

411     public String JavaDoc getHyperlinkAnchor()
412     {
413         return hyperlinkAnchor;
414     }
415         
416     /**
417      *
418      */

419     public void setHyperlinkAnchor(String JavaDoc hyperlinkAnchor)
420     {
421         this.hyperlinkAnchor = hyperlinkAnchor;
422     }
423         
424     /**
425      *
426      */

427     public Integer JavaDoc getHyperlinkPage()
428     {
429         return hyperlinkPage;
430     }
431         
432     /**
433      *
434      */

435     public void setHyperlinkPage(Integer JavaDoc hyperlinkPage)
436     {
437         this.hyperlinkPage = hyperlinkPage;
438     }
439
440
441     public int getBookmarkLevel()
442     {
443         return bookmarkLevel;
444     }
445
446
447     public void setBookmarkLevel(int bookmarkLevel)
448     {
449         this.bookmarkLevel = bookmarkLevel;
450     }
451
452     /**
453      *
454      */

455     public byte getBorder()
456     {
457         return ((JRTemplateText)template).getBorder();
458     }
459
460     public Byte JavaDoc getOwnBorder()
461     {
462         return ((JRTemplateText)template).getOwnBorder();
463     }
464
465     /**
466      *
467      */

468     public void setBorder(byte border)
469     {
470     }
471
472     /**
473      *
474      */

475     public Color JavaDoc getBorderColor()
476     {
477         return ((JRTemplateText)template).getBorderColor();
478     }
479
480     public Color JavaDoc getOwnBorderColor()
481     {
482         return ((JRTemplateText)template).getOwnBorderColor();
483     }
484
485     /**
486      *
487      */

488     public void setBorderColor(Color JavaDoc borderColor)
489     {
490     }
491
492     /**
493      *
494      */

495     public int getPadding()
496     {
497         return ((JRTemplateText)template).getPadding();
498     }
499
500     public Integer JavaDoc getOwnPadding()
501     {
502         return ((JRTemplateText)template).getOwnPadding();
503     }
504
505     /**
506      *
507      */

508     public void setPadding(int padding)
509     {
510     }
511
512     /**
513      *
514      */

515     public byte getTopBorder()
516     {
517         return ((JRTemplateText)template).getTopBorder();
518     }
519
520     /**
521      *
522      */

523     public Byte JavaDoc getOwnTopBorder()
524     {
525         return ((JRTemplateText)template).getOwnTopBorder();
526     }
527
528     /**
529      *
530      */

531     public void setTopBorder(byte topBorder)
532     {
533     }
534
535     /**
536      *
537      */

538     public Color JavaDoc getTopBorderColor()
539     {
540         return ((JRTemplateText)template).getTopBorderColor();
541     }
542
543     /**
544      *
545      */

546     public Color JavaDoc getOwnTopBorderColor()
547     {
548         return ((JRTemplateText)template).getOwnTopBorderColor();
549     }
550
551     /**
552      *
553      */

554     public void setTopBorderColor(Color JavaDoc topBorderColor)
555     {
556     }
557
558     /**
559      *
560      */

561     public int getTopPadding()
562     {
563         return ((JRTemplateText)template).getTopPadding();
564     }
565
566     /**
567      *
568      */

569     public Integer JavaDoc getOwnTopPadding()
570     {
571         return ((JRTemplateText)template).getOwnTopPadding();
572     }
573
574     /**
575      *
576      */

577     public void setTopPadding(int topPadding)
578     {
579     }
580
581     /**
582      *
583      */

584     public byte getLeftBorder()
585     {
586         return ((JRTemplateText)template).getLeftBorder();
587     }
588
589     /**
590      *
591      */

592     public Byte JavaDoc getOwnLeftBorder()
593     {
594         return ((JRTemplateText)template).getOwnLeftBorder();
595     }
596
597     /**
598      *
599      */

600     public void setLeftBorder(byte leftBorder)
601     {
602     }
603
604     /**
605      *
606      */

607     public Color JavaDoc getLeftBorderColor()
608     {
609         return ((JRTemplateText)template).getLeftBorderColor();
610     }
611
612     /**
613      *
614      */

615     public Color JavaDoc getOwnLeftBorderColor()
616     {
617         return ((JRTemplateText)template).getOwnLeftBorderColor();
618     }
619
620     /**
621      *
622      */

623     public void setLeftBorderColor(Color JavaDoc leftBorderColor)
624     {
625     }
626
627     /**
628      *
629      */

630     public int getLeftPadding()
631     {
632         return ((JRTemplateText)template).getLeftPadding();
633     }
634
635     /**
636      *
637      */

638     public Integer JavaDoc getOwnLeftPadding()
639     {
640         return ((JRTemplateText)template).getOwnLeftPadding();
641     }
642
643     /**
644      *
645      */

646     public void setLeftPadding(int leftPadding)
647     {
648     }
649
650     /**
651      *
652      */

653     public byte getBottomBorder()
654     {
655         return ((JRTemplateText)template).getBottomBorder();
656     }
657
658     /**
659      *
660      */

661     public Byte JavaDoc getOwnBottomBorder()
662     {
663         return ((JRTemplateText)template).getOwnBottomBorder();
664     }
665
666     /**
667      *
668      */

669     public void setBottomBorder(byte bottomBorder)
670     {
671     }
672
673     /**
674      *
675      */

676     public Color JavaDoc getBottomBorderColor()
677     {
678         return ((JRTemplateText)template).getBottomBorderColor();
679     }
680
681     /**
682      *
683      */

684     public Color JavaDoc getOwnBottomBorderColor()
685     {
686         return ((JRTemplateText)template).getOwnBottomBorderColor();
687     }
688
689     /**
690      *
691      */

692     public void setBottomBorderColor(Color JavaDoc bottomBorderColor)
693     {
694     }
695
696     /**
697      *
698      */

699     public int getBottomPadding()
700     {
701         return ((JRTemplateText)template).getBottomPadding();
702     }
703
704     /**
705      *
706      */

707     public Integer JavaDoc getOwnBottomPadding()
708     {
709         return ((JRTemplateText)template).getOwnBottomPadding();
710     }
711
712     /**
713      *
714      */

715     public void setBottomPadding(int bottomPadding)
716     {
717     }
718
719     /**
720      *
721      */

722     public byte getRightBorder()
723     {
724         return ((JRTemplateText)template).getRightBorder();
725     }
726
727     /**
728      *
729      */

730     public Byte JavaDoc getOwnRightBorder()
731     {
732         return ((JRTemplateText)template).getOwnRightBorder();
733     }
734
735     /**
736      *
737      */

738     public void setRightBorder(byte rightBorder)
739     {
740     }
741
742     /**
743      *
744      */

745     public Color JavaDoc getRightBorderColor()
746     {
747         return ((JRTemplateText)template).getRightBorderColor();
748     }
749
750     /**
751      *
752      */

753     public Color JavaDoc getOwnRightBorderColor()
754     {
755         return ((JRTemplateText)template).getOwnRightBorderColor();
756     }
757
758     /**
759      *
760      */

761     public void setRightBorderColor(Color JavaDoc rightBorderColor)
762     {
763     }
764
765     /**
766      *
767      */

768     public int getRightPadding()
769     {
770         return ((JRTemplateText)template).getRightPadding();
771     }
772
773     /**
774      *
775      */

776     public Integer JavaDoc getOwnRightPadding()
777     {
778         return ((JRTemplateText)template).getOwnRightPadding();
779     }
780
781     /**
782      *
783      */

784     public void setRightPadding(int rightPadding)
785     {
786     }
787
788     /**
789      *
790      */

791     public JRReportFont getReportFont()
792     {
793         return ((JRTemplateText)template).getReportFont();
794     }
795
796     /**
797      *
798      */

799     public void setReportFont(JRReportFont reportFont)
800     {
801     }
802
803     /**
804      *
805      */

806     public String JavaDoc getFontName()
807     {
808         return ((JRTemplateText)template).getFontName();
809     }
810
811     /**
812      *
813      */

814     public String JavaDoc getOwnFontName()
815     {
816         return ((JRTemplateText)template).getOwnFontName();
817     }
818
819     /**
820      *
821      */

822     public void setFontName(String JavaDoc fontName)
823     {
824     }
825
826
827     /**
828      *
829      */

830     public boolean isBold()
831     {
832         return ((JRTemplateText)template).isBold();
833     }
834
835     /**
836      *
837      */

838     public Boolean JavaDoc isOwnBold()
839     {
840         return ((JRTemplateText)template).isOwnBold();
841     }
842
843     /**
844      *
845      */

846     public void setBold(boolean isBold)
847     {
848     }
849
850     /**
851      * Alternative setBold method which allows also to reset
852      * the "own" isBold property.
853      */

854     public void setBold(Boolean JavaDoc isBold)
855     {
856     }
857
858
859     /**
860      *
861      */

862     public boolean isItalic()
863     {
864         return ((JRTemplateText)template).isItalic();
865     }
866
867     /**
868      *
869      */

870     public Boolean JavaDoc isOwnItalic()
871     {
872         return ((JRTemplateText)template).isOwnItalic();
873     }
874
875     /**
876      *
877      */

878     public void setItalic(boolean isItalic)
879     {
880     }
881
882     /**
883      * Alternative setItalic method which allows also to reset
884      * the "own" isItalic property.
885      */

886     public void setItalic(Boolean JavaDoc isItalic)
887     {
888     }
889
890     /**
891      *
892      */

893     public boolean isUnderline()
894     {
895         return ((JRTemplateText)template).isUnderline();
896     }
897
898     /**
899      *
900      */

901     public Boolean JavaDoc isOwnUnderline()
902     {
903         return ((JRTemplateText)template).isOwnUnderline();
904     }
905
906     /**
907      *
908      */

909     public void setUnderline(boolean isUnderline)
910     {
911     }
912
913     /**
914      * Alternative setUnderline method which allows also to reset
915      * the "own" isUnderline property.
916      */

917     public void setUnderline(Boolean JavaDoc isUnderline)
918     {
919     }
920
921     /**
922      *
923      */

924     public boolean isStrikeThrough()
925     {
926         return ((JRTemplateText)template).isStrikeThrough();
927     }
928
929     /**
930      *
931      */

932     public Boolean JavaDoc isOwnStrikeThrough()
933     {
934         return ((JRTemplateText)template).isOwnStrikeThrough();
935     }
936
937     /**
938      *
939      */

940     public void setStrikeThrough(boolean isStrikeThrough)
941     {
942         setStrikeThrough(isStrikeThrough ? Boolean.TRUE : Boolean.FALSE);
943     }
944
945     /**
946      * Alternative setStrikeThrough method which allows also to reset
947      * the "own" isStrikeThrough property.
948      */

949     public void setStrikeThrough(Boolean JavaDoc isStrikeThrough)
950     {
951     }
952
953     /**
954      *
955      */

956     public int getFontSize()
957     {
958         return ((JRTemplateText)template).getFontSize();
959     }
960
961     /**
962      *
963      */

964     public Integer JavaDoc getOwnFontSize()
965     {
966         return ((JRTemplateText)template).getOwnFontSize();
967     }
968
969     /**
970      *
971      */

972     public void setFontSize(int fontSize)
973     {
974     }
975
976     /**
977      * Alternative setSize method which allows also to reset
978      * the "own" size property.
979      */

980     public void setFontSize(Integer JavaDoc fontSize)
981     {
982     }
983
984     /**
985      * @deprecated Replaced by {@link #getFontSize()}.
986      */

987     public int getSize()
988     {
989         return getFontSize();
990     }
991
992     /**
993      * @deprecated Replaced by {@link #getOwnFontSize()}.
994      */

995     public Integer JavaDoc getOwnSize()
996     {
997         return getOwnFontSize();
998     }
999
1000    /**
1001     * @deprecated Replaced by {@link #setFontSize(int)}.
1002     */

1003    public void setSize(int size)
1004    {
1005    }
1006
1007    /**
1008     * @deprecated Replaced by {@link #setFontSize(Integer)}.
1009     */

1010    public void setSize(Integer JavaDoc size)
1011    {
1012    }
1013
1014    /**
1015     *
1016     */

1017    public String JavaDoc getPdfFontName()
1018    {
1019        return ((JRTemplateText)template).getPdfFontName();
1020    }
1021
1022    /**
1023     *
1024     */

1025    public String JavaDoc getOwnPdfFontName()
1026    {
1027        return ((JRTemplateText)template).getOwnPdfFontName();
1028    }
1029
1030    /**
1031     *
1032     */

1033    public void setPdfFontName(String JavaDoc pdfFontName)
1034    {
1035    }
1036
1037
1038    /**
1039     *
1040     */

1041    public String JavaDoc getPdfEncoding()
1042    {
1043        return ((JRTemplateText)template).getPdfEncoding();
1044    }
1045
1046    /**
1047     *
1048     */

1049    public String JavaDoc getOwnPdfEncoding()
1050    {
1051        return ((JRTemplateText)template).getOwnPdfEncoding();
1052    }
1053
1054    /**
1055     *
1056     */

1057    public void setPdfEncoding(String JavaDoc pdfEncoding)
1058    {
1059    }
1060
1061
1062    /**
1063     *
1064     */

1065    public boolean isPdfEmbedded()
1066    {
1067        return ((JRTemplateText)template).isPdfEmbedded();
1068    }
1069
1070    /**
1071     *
1072     */

1073    public Boolean JavaDoc isOwnPdfEmbedded()
1074    {
1075        return ((JRTemplateText)template).isOwnPdfEmbedded();
1076    }
1077
1078    /**
1079     *
1080     */

1081    public void setPdfEmbedded(boolean isPdfEmbedded)
1082    {
1083    }
1084
1085    /**
1086     * Alternative setPdfEmbedded method which allows also to reset
1087     * the "own" isPdfEmbedded property.
1088     */

1089    public void setPdfEmbedded(Boolean JavaDoc isPdfEmbedded)
1090    {
1091    }
1092
1093    /**
1094     *
1095     */

1096    public void setBorder(Byte JavaDoc border)
1097    {
1098    }
1099
1100    /**
1101     *
1102     */

1103    public void setPadding(Integer JavaDoc padding)
1104    {
1105    }
1106
1107    /**
1108     *
1109     */

1110    public void setTopBorder(Byte JavaDoc topBorder)
1111    {
1112    }
1113
1114    /**
1115     *
1116     */

1117    public void setTopPadding(Integer JavaDoc topPadding)
1118    {
1119    }
1120
1121    /**
1122     *
1123     */

1124    public void setLeftBorder(Byte JavaDoc leftBorder)
1125    {
1126    }
1127
1128    /**
1129     *
1130     */

1131    public void setLeftPadding(Integer JavaDoc leftPadding)
1132    {
1133    }
1134
1135    /**
1136     *
1137     */

1138    public void setBottomBorder(Byte JavaDoc bottomBorder)
1139    {
1140    }
1141
1142    /**
1143     *
1144     */

1145    public void setBottomPadding(Integer JavaDoc bottomPadding)
1146    {
1147    }
1148
1149    /**
1150     *
1151     */

1152    public void setRightBorder(Byte JavaDoc rightBorder)
1153    {
1154    }
1155
1156    /**
1157     *
1158     */

1159    public void setRightPadding(Integer JavaDoc rightPadding)
1160    {
1161    }
1162
1163    public String JavaDoc getValueClassName()
1164    {
1165        return ((JRTemplateText) template).getValueClassName();
1166    }
1167
1168    public String JavaDoc getPattern()
1169    {
1170        return ((JRTemplateText) template).getPattern();
1171    }
1172
1173    public String JavaDoc getFormatFactoryClass()
1174    {
1175        return ((JRTemplateText) template).getFormatFactoryClass();
1176    }
1177
1178    public String JavaDoc getLocaleCode()
1179    {
1180        return ((JRTemplateText) template).getLocaleCode();
1181    }
1182
1183    public String JavaDoc getTimeZoneId()
1184    {
1185        return ((JRTemplateText) template).getTimeZoneId();
1186    }
1187
1188    
1189    public JRPrintHyperlinkParameters getHyperlinkParameters()
1190    {
1191        return hyperlinkParameters;
1192    }
1193
1194    
1195    public void setHyperlinkParameters(JRPrintHyperlinkParameters hyperlinkParameters)
1196    {
1197        this.hyperlinkParameters = hyperlinkParameters;
1198    }
1199
1200    public String JavaDoc getLinkType()
1201    {
1202        return ((JRTemplateText) template).getLinkType();
1203    }
1204
1205    public void setLinkType(String JavaDoc type)
1206    {
1207    }
1208
1209    
1210    public String JavaDoc getHyperlinkTooltip()
1211    {
1212        return hyperlinkTooltip;
1213    }
1214
1215    
1216    public void setHyperlinkTooltip(String JavaDoc hyperlinkTooltip)
1217    {
1218        this.hyperlinkTooltip = hyperlinkTooltip;
1219    }
1220    
1221}
1222
Popular Tags