Java Doc for JRTextField.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » jasperreports 2.0.1 » net.sf.jasperreports.engine 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jasperreports.engine.JRTextField

All known Subclasses:   net.sf.jasperreports.engine.base.JRBaseTextField,  net.sf.jasperreports.engine.design.JRDesignTextField,  net.sf.jasperreports.engine.fill.JRFillTextField,
JRTextField
public interface JRTextField extends JRTextElement,JRAnchor,JRHyperlink(Code)
An abstract representation of a report static text. It provides functionality for static texts.
author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRTextField.java 1489 2006-11-14 20:38:10Z teodord $


Field Summary
final public static  StringSTANDARD_DATE_FORMAT_DEFAULT
     Used in the date pattern to specify the default style.
final public static  StringSTANDARD_DATE_FORMAT_FULL
     Used in the date pattern to specify the full style.
final public static  StringSTANDARD_DATE_FORMAT_HIDE
     Used in the date pattern to specify that the date or time should not be included.
final public static  StringSTANDARD_DATE_FORMAT_LONG
     Used in the date pattern to specify the long style.
final public static  StringSTANDARD_DATE_FORMAT_MEDIUM
     Used in the date pattern to specify the medium style.
final public static  StringSTANDARD_DATE_FORMAT_SEPARATOR
     Used in the date format pattern to separate the date and time styles.
final public static  StringSTANDARD_DATE_FORMAT_SHORT
     Used in the date pattern to specify the short style.


Method Summary
public  JRGroupgetEvaluationGroup()
     Gets the evaluation group for this text field.
public  bytegetEvaluationTime()
     Gets the evaluation time for this text field.
public  JRExpressiongetExpression()
     Gets the expression for this field.
public  StringgetOwnPattern()
    
public  StringgetPattern()
     Gets the pattern used for this text field.
public  booleanisBlankWhenNull()
     Indicates whether an empty string will be displayed if the field's expression evaluates to null.
public  BooleanisOwnBlankWhenNull()
    
public  booleanisStretchWithOverflow()
     Specifies whether the text field will stretch vertically if its text does not fit in one line.
public  voidsetBlankWhenNull(boolean isBlank)
     Specifies whether an empty string sholuld be displayed if the field's expression evaluates to null.
public  voidsetBlankWhenNull(Boolean isBlank)
    
public  voidsetPattern(String pattern)
     Sets the pattern used for this text field.
public  voidsetStretchWithOverflow(boolean isStretchWithOverflow)
     Set to true if the text field should stretch vertically if its text does not fit in one line.

Field Detail
STANDARD_DATE_FORMAT_DEFAULT
final public static String STANDARD_DATE_FORMAT_DEFAULT(Code)
Used in the date pattern to specify the default style.
See Also:   java.text.DateFormat.DEFAULTDefaultFormatFactory.STANDARD_DATE_FORMAT_DEFAULT DefaultFormatFactory.STANDARD_DATE_FORMAT_DEFAULT



STANDARD_DATE_FORMAT_FULL
final public static String STANDARD_DATE_FORMAT_FULL(Code)
Used in the date pattern to specify the full style.
See Also:   java.text.DateFormat.FULLDefaultFormatFactory.STANDARD_DATE_FORMAT_FULL DefaultFormatFactory.STANDARD_DATE_FORMAT_FULL



STANDARD_DATE_FORMAT_HIDE
final public static String STANDARD_DATE_FORMAT_HIDE(Code)
Used in the date pattern to specify that the date or time should not be included. DefaultFormatFactory.STANDARD_DATE_FORMAT_HIDE DefaultFormatFactory.STANDARD_DATE_FORMAT_HIDE



STANDARD_DATE_FORMAT_LONG
final public static String STANDARD_DATE_FORMAT_LONG(Code)
Used in the date pattern to specify the long style.
See Also:   java.text.DateFormat.LONGDefaultFormatFactory.STANDARD_DATE_FORMAT_LONG DefaultFormatFactory.STANDARD_DATE_FORMAT_LONG



STANDARD_DATE_FORMAT_MEDIUM
final public static String STANDARD_DATE_FORMAT_MEDIUM(Code)
Used in the date pattern to specify the medium style.
See Also:   java.text.DateFormat.MEDIUMDefaultFormatFactory.STANDARD_DATE_FORMAT_MEDIUM DefaultFormatFactory.STANDARD_DATE_FORMAT_MEDIUM



STANDARD_DATE_FORMAT_SEPARATOR
final public static String STANDARD_DATE_FORMAT_SEPARATOR(Code)
Used in the date format pattern to separate the date and time styles. DefaultFormatFactory.STANDARD_DATE_FORMAT_SEPARATOR DefaultFormatFactory.STANDARD_DATE_FORMAT_SEPARATOR



STANDARD_DATE_FORMAT_SHORT
final public static String STANDARD_DATE_FORMAT_SHORT(Code)
Used in the date pattern to specify the short style.
See Also:   java.text.DateFormat.SHORTDefaultFormatFactory.STANDARD_DATE_FORMAT_SHORT DefaultFormatFactory.STANDARD_DATE_FORMAT_SHORT





Method Detail
getEvaluationGroup
public JRGroup getEvaluationGroup()(Code)
Gets the evaluation group for this text field. Used only when evaluation time is group.
See Also:   JRExpression.EVALUATION_TIME_GROUP



getEvaluationTime
public byte getEvaluationTime()(Code)
Gets the evaluation time for this text field. one of the evaluation time constants in JRExpression



getExpression
public JRExpression getExpression()(Code)
Gets the expression for this field. The result obtained after evaluating this expression will be dispayed as the field text.



getOwnPattern
public String getOwnPattern()(Code)



getPattern
public String getPattern()(Code)
Gets the pattern used for this text field. The pattern will be used in a SimpleDateFormat for dates and a DecimalFormat for numeric text fields. The pattern format must follow one of these two classes formatting rules, as specified in the JDK API docs. a string containing the pattern.



isBlankWhenNull
public boolean isBlankWhenNull()(Code)
Indicates whether an empty string will be displayed if the field's expression evaluates to null. true if an empty string will be displayed instead of null values, false otherwise



isOwnBlankWhenNull
public Boolean isOwnBlankWhenNull()(Code)



isStretchWithOverflow
public boolean isStretchWithOverflow()(Code)
Specifies whether the text field will stretch vertically if its text does not fit in one line. true if the text field will stretch vertically, false otherwise



setBlankWhenNull
public void setBlankWhenNull(boolean isBlank)(Code)
Specifies whether an empty string sholuld be displayed if the field's expression evaluates to null.
Parameters:
  isBlank - true if an empty string will be displayed instead of null values, false otherwise



setBlankWhenNull
public void setBlankWhenNull(Boolean isBlank)(Code)



setPattern
public void setPattern(String pattern)(Code)
Sets the pattern used for this text field. The pattern will be used in a SimpleDateFormat for dates and a DecimalFormat for numeric text fields. The pattern format must follow one of these two classes formatting rules, as specified in the JDK API docs. If the pattern is incorrect, the exception thrown by formatter classes will be rethrown by the JasperReports fill engine.



setStretchWithOverflow
public void setStretchWithOverflow(boolean isStretchWithOverflow)(Code)
Set to true if the text field should stretch vertically if its text does not fit in one line.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.