Java Doc for JRTextElement.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.JRTextElement

All known Subclasses:   net.sf.jasperreports.engine.fill.JRFillTextElement,  net.sf.jasperreports.engine.design.JRDesignTextElement,  net.sf.jasperreports.engine.base.JRBaseTextElement,
JRTextElement
public interface JRTextElement extends JRElement,JRAlignment,JRBox,JRFont(Code)
An abstract representation of a report text element. It provides basic functionality for static texts and text fields.
author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRTextElement.java 1444 2006-10-24 14:04:48Z ionut $


Field Summary
final public static  byteLINE_SPACING_1_1_2
     Constant for setting spacing between lines to 50% more than normal.
final public static  byteLINE_SPACING_DOUBLE
     Constant for setting spacing between lines to double size.
final public static  byteLINE_SPACING_SINGLE
     Constant for setting normal spacing between lines.
final public static  byteROTATION_LEFT
     Constant useful for rotating the text 90 degrees counter clockwise.
final public static  byteROTATION_NONE
    
final public static  byteROTATION_RIGHT
     Constant useful for rotating the text 90 degrees clockwise.
final public static  byteROTATION_UPSIDE_DOWN
     Constant useful for rotating the text 180 degrees.
final public static  byteTEXT_ALIGN_CENTER
    
final public static  byteTEXT_ALIGN_JUSTIFIED
    
final public static  byteTEXT_ALIGN_LEFT
    
final public static  byteTEXT_ALIGN_RIGHT
    


Method Summary
public  JRBoxgetBox()
    
public  JRFontgetFont()
    
public  bytegetLineSpacing()
     Gets the line spacing.
public  BytegetOwnLineSpacing()
    
public  BytegetOwnRotation()
    
public  bytegetRotation()
     Gets the text rotation.
public  bytegetTextAlignment()
     Gets the text horizontal alignment.
public  BooleanisOwnStyledText()
    
public  booleanisStyledText()
     Returns true if the text can contain style tags.
public  voidsetLineSpacing(byte lineSpacing)
     Sets the line spacing.
public  voidsetLineSpacing(Byte lineSpacing)
    
public  voidsetRotation(byte rotation)
     Sets the text rotation.
public  voidsetRotation(Byte rotation)
    
public  voidsetStyledText(boolean isStyledText)
     Specifies whether the text can contain style tags.
public  voidsetStyledText(Boolean isStyledText)
    
public  voidsetTextAlignment(byte horizontalAlignment)
     Sets the text horizontal alignment.

Field Detail
LINE_SPACING_1_1_2
final public static byte LINE_SPACING_1_1_2(Code)
Constant for setting spacing between lines to 50% more than normal.



LINE_SPACING_DOUBLE
final public static byte LINE_SPACING_DOUBLE(Code)
Constant for setting spacing between lines to double size.



LINE_SPACING_SINGLE
final public static byte LINE_SPACING_SINGLE(Code)
Constant for setting normal spacing between lines.



ROTATION_LEFT
final public static byte ROTATION_LEFT(Code)
Constant useful for rotating the text 90 degrees counter clockwise.



ROTATION_NONE
final public static byte ROTATION_NONE(Code)
Constant useful for displaying the text without rotating it



ROTATION_RIGHT
final public static byte ROTATION_RIGHT(Code)
Constant useful for rotating the text 90 degrees clockwise.



ROTATION_UPSIDE_DOWN
final public static byte ROTATION_UPSIDE_DOWN(Code)
Constant useful for rotating the text 180 degrees.



TEXT_ALIGN_CENTER
final public static byte TEXT_ALIGN_CENTER(Code)
JRAlignment.HORIZONTAL_ALIGN_CENTER



TEXT_ALIGN_JUSTIFIED
final public static byte TEXT_ALIGN_JUSTIFIED(Code)
JRAlignment.HORIZONTAL_ALIGN_JUSTIFIED



TEXT_ALIGN_LEFT
final public static byte TEXT_ALIGN_LEFT(Code)
JRAlignment.HORIZONTAL_ALIGN_LEFT



TEXT_ALIGN_RIGHT
final public static byte TEXT_ALIGN_RIGHT(Code)
JRAlignment.HORIZONTAL_ALIGN_RIGHT





Method Detail
getBox
public JRBox getBox()(Code)
Returns an object containing all border and padding properties for this text element



getFont
public JRFont getFont()(Code)
Returns an object containing all font properties for this text element



getLineSpacing
public byte getLineSpacing()(Code)
Gets the line spacing. a value representing one of the line spacing constants in this class



getOwnLineSpacing
public Byte getOwnLineSpacing()(Code)



getOwnRotation
public Byte getOwnRotation()(Code)



getRotation
public byte getRotation()(Code)
Gets the text rotation. a value representing one of the rotation constants in this class



getTextAlignment
public byte getTextAlignment()(Code)
Gets the text horizontal alignment. a value representing one of the horizontal alignment constants in JRAlignmentJRTextElement.getHorizontalAlignment()



isOwnStyledText
public Boolean isOwnStyledText()(Code)



isStyledText
public boolean isStyledText()(Code)
Returns true if the text can contain style tags.



setLineSpacing
public void setLineSpacing(byte lineSpacing)(Code)
Sets the line spacing.
Parameters:
  lineSpacing - a value representing one of the line spacing constants in this class



setLineSpacing
public void setLineSpacing(Byte lineSpacing)(Code)



setRotation
public void setRotation(byte rotation)(Code)
Sets the text rotation.
Parameters:
  rotation - a value representing one of the rotation constants in this class



setRotation
public void setRotation(Byte rotation)(Code)



setStyledText
public void setStyledText(boolean isStyledText)(Code)
Specifies whether the text can contain style tags.



setStyledText
public void setStyledText(Boolean isStyledText)(Code)



setTextAlignment
public void setTextAlignment(byte horizontalAlignment)(Code)
Sets the text horizontal alignment.
Parameters:
  horizontalAlignment - a value representing one of the horizontal alignment constants in JRAlignmentJRTextElement.setHorizontalAlignment(byte)



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