Java Doc for JRDesignTextElement.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » design » 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.design 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jasperreports.engine.design.JRDesignElement
   net.sf.jasperreports.engine.design.JRDesignTextElement

All known Subclasses:   net.sf.jasperreports.engine.design.JRDesignStaticText,  net.sf.jasperreports.engine.design.JRDesignTextField,
JRDesignTextElement
abstract public class JRDesignTextElement extends JRDesignElement implements JRTextElement(Code)
This class provides functionality common to design text elements. It provides implementation for the methods described in JRTextElement and setters for text element attributes that can only be modified at design time.
author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRDesignTextElement.java 1229 2006-04-19 10:27:35Z teodord $


Field Summary
protected  Byteborder
    
protected  ColorborderColor
    
protected  BytebottomBorder
    
protected  ColorbottomBorderColor
    
protected  IntegerbottomPadding
    
protected  StringfontName
    
protected  IntegerfontSize
    
protected  BytehorizontalAlignment
    
protected  BooleanisBold
    
protected  BooleanisItalic
    
protected  BooleanisPdfEmbedded
    
protected  BooleanisStrikeThrough
    
protected  BooleanisStyledText
    
protected  BooleanisUnderline
    
protected  ByteleftBorder
    
protected  ColorleftBorderColor
    
protected  IntegerleftPadding
    
protected  BytelineSpacing
    
protected  Integerpadding
    
protected  StringpdfEncoding
    
protected  StringpdfFontName
    
protected  JRReportFontreportFont
    
protected  ByterightBorder
    
protected  ColorrightBorderColor
    
protected  IntegerrightPadding
    
protected  Byterotation
    
protected  BytetopBorder
    
protected  ColortopBorderColor
    
protected  IntegertopPadding
    
protected  ByteverticalAlignment
    

Constructor Summary
protected  JRDesignTextElement(JRDefaultStyleProvider defaultStyleProvider)
     Creates a new text element.

Method Summary
protected  JRFontgetBaseFont()
    
public  bytegetBorder()
    
public  ColorgetBorderColor()
    
public  bytegetBottomBorder()
    
public  ColorgetBottomBorderColor()
    
public  intgetBottomPadding()
    
public  JRBoxgetBox()
    
public  JRFontgetFont()
    
public  StringgetFontName()
    
public  intgetFontSize()
    
public  bytegetHorizontalAlignment()
    
public  bytegetLeftBorder()
    
public  ColorgetLeftBorderColor()
    
public  intgetLeftPadding()
    
public  bytegetLineSpacing()
    
public  bytegetMode()
    
public  BytegetOwnBorder()
    
public  ColorgetOwnBorderColor()
    
public  BytegetOwnBottomBorder()
    
public  ColorgetOwnBottomBorderColor()
    
public  IntegergetOwnBottomPadding()
    
public  StringgetOwnFontName()
    
public  IntegergetOwnFontSize()
    
public  BytegetOwnHorizontalAlignment()
    
public  BytegetOwnLeftBorder()
    
public  ColorgetOwnLeftBorderColor()
    
public  IntegergetOwnLeftPadding()
    
public  BytegetOwnLineSpacing()
    
public  IntegergetOwnPadding()
    
public  StringgetOwnPdfEncoding()
    
public  StringgetOwnPdfFontName()
    
public  BytegetOwnRightBorder()
    
public  ColorgetOwnRightBorderColor()
    
public  IntegergetOwnRightPadding()
    
public  BytegetOwnRotation()
    
public  IntegergetOwnSize()
    
public  BytegetOwnTopBorder()
    
public  ColorgetOwnTopBorderColor()
    
public  IntegergetOwnTopPadding()
    
public  BytegetOwnVerticalAlignment()
    
public  intgetPadding()
    
public  StringgetPdfEncoding()
    
public  StringgetPdfFontName()
    
public  JRReportFontgetReportFont()
    
public  bytegetRightBorder()
    
public  ColorgetRightBorderColor()
    
public  intgetRightPadding()
    
public  bytegetRotation()
    
public  intgetSize()
    
public  bytegetTextAlignment()
    
public  bytegetTopBorder()
    
public  ColorgetTopBorderColor()
    
public  intgetTopPadding()
    
public  bytegetVerticalAlignment()
    
public  booleanisBold()
    
public  booleanisItalic()
    
public  BooleanisOwnBold()
    
public  BooleanisOwnItalic()
    
public  BooleanisOwnPdfEmbedded()
    
public  BooleanisOwnStrikeThrough()
    
public  BooleanisOwnStyledText()
    
public  BooleanisOwnUnderline()
    
public  booleanisPdfEmbedded()
    
public  booleanisStrikeThrough()
    
public  booleanisStyledText()
    
public  booleanisUnderline()
    
public  voidsetBold(boolean isBold)
    
public  voidsetBold(Boolean isBold)
     Alternative setBold method which allows also to reset the "own" isBold property.
public  voidsetBorder(byte border)
    
public  voidsetBorder(Byte border)
    
public  voidsetBorderColor(Color borderColor)
    
public  voidsetBottomBorder(byte bottomBorder)
    
public  voidsetBottomBorder(Byte bottomBorder)
    
public  voidsetBottomBorderColor(Color bottomBorderColor)
    
public  voidsetBottomPadding(int bottomPadding)
    
public  voidsetBottomPadding(Integer bottomPadding)
    
public  voidsetBox(JRBox box)
    
public  voidsetFont(JRFont font)
    
public  voidsetFontName(String fontName)
    
public  voidsetFontSize(int fontSize)
    
public  voidsetFontSize(Integer fontSize)
     Alternative setFontSize method which allows also to reset the "own" size property.
public  voidsetHorizontalAlignment(byte horizontalAlignment)
    
public  voidsetHorizontalAlignment(Byte horizontalAlignment)
    
public  voidsetItalic(boolean isItalic)
    
public  voidsetItalic(Boolean isItalic)
     Alternative setItalic method which allows also to reset the "own" isItalic property.
public  voidsetLeftBorder(byte leftBorder)
    
public  voidsetLeftBorder(Byte leftBorder)
    
public  voidsetLeftBorderColor(Color leftBorderColor)
    
public  voidsetLeftPadding(int leftPadding)
    
public  voidsetLeftPadding(Integer leftPadding)
    
public  voidsetLineSpacing(byte lineSpacing)
    
public  voidsetLineSpacing(Byte lineSpacing)
    
public  voidsetPadding(int padding)
    
public  voidsetPadding(Integer padding)
    
public  voidsetPdfEmbedded(boolean isPdfEmbedded)
    
public  voidsetPdfEmbedded(Boolean isPdfEmbedded)
     Alternative setPdfEmbedded method which allows also to reset the "own" isPdfEmbedded property.
public  voidsetPdfEncoding(String pdfEncoding)
    
public  voidsetPdfFontName(String pdfFontName)
    
public  voidsetReportFont(JRReportFont reportFont)
    
public  voidsetRightBorder(byte rightBorder)
    
public  voidsetRightBorder(Byte rightBorder)
    
public  voidsetRightBorderColor(Color rightBorderColor)
    
public  voidsetRightPadding(int rightPadding)
    
public  voidsetRightPadding(Integer rightPadding)
    
public  voidsetRotation(byte rotation)
    
public  voidsetRotation(Byte rotation)
    
public  voidsetSize(int size)
    
public  voidsetSize(Integer size)
    
public  voidsetStrikeThrough(boolean isStrikeThrough)
    
public  voidsetStrikeThrough(Boolean isStrikeThrough)
     Alternative setStrikeThrough method which allows also to reset the "own" isStrikeThrough property.
public  voidsetStyledText(boolean isStyledText)
    
public  voidsetStyledText(Boolean isStyledText)
    
public  voidsetTextAlignment(byte horizontalAlignment)
    
public  voidsetTopBorder(byte topBorder)
    
public  voidsetTopBorder(Byte topBorder)
    
public  voidsetTopBorderColor(Color topBorderColor)
    
public  voidsetTopPadding(int topPadding)
    
public  voidsetTopPadding(Integer topPadding)
    
public  voidsetUnderline(boolean isUnderline)
    
public  voidsetUnderline(Boolean isUnderline)
     Alternative setUnderline method which allows also to reset the "own" isUnderline property.
public  voidsetVerticalAlignment(byte verticalAlignment)
    
public  voidsetVerticalAlignment(Byte verticalAlignment)
    

Field Detail
border
protected Byte border(Code)



borderColor
protected Color borderColor(Code)



bottomBorder
protected Byte bottomBorder(Code)



bottomBorderColor
protected Color bottomBorderColor(Code)



bottomPadding
protected Integer bottomPadding(Code)



fontName
protected String fontName(Code)



fontSize
protected Integer fontSize(Code)



horizontalAlignment
protected Byte horizontalAlignment(Code)



isBold
protected Boolean isBold(Code)



isItalic
protected Boolean isItalic(Code)



isPdfEmbedded
protected Boolean isPdfEmbedded(Code)



isStrikeThrough
protected Boolean isStrikeThrough(Code)



isStyledText
protected Boolean isStyledText(Code)



isUnderline
protected Boolean isUnderline(Code)



leftBorder
protected Byte leftBorder(Code)



leftBorderColor
protected Color leftBorderColor(Code)



leftPadding
protected Integer leftPadding(Code)



lineSpacing
protected Byte lineSpacing(Code)



padding
protected Integer padding(Code)



pdfEncoding
protected String pdfEncoding(Code)



pdfFontName
protected String pdfFontName(Code)



reportFont
protected JRReportFont reportFont(Code)



rightBorder
protected Byte rightBorder(Code)



rightBorderColor
protected Color rightBorderColor(Code)



rightPadding
protected Integer rightPadding(Code)



rotation
protected Byte rotation(Code)



topBorder
protected Byte topBorder(Code)



topBorderColor
protected Color topBorderColor(Code)



topPadding
protected Integer topPadding(Code)



verticalAlignment
protected Byte verticalAlignment(Code)




Constructor Detail
JRDesignTextElement
protected JRDesignTextElement(JRDefaultStyleProvider defaultStyleProvider)(Code)
Creates a new text element.




Method Detail
getBaseFont
protected JRFont getBaseFont()(Code)



getBorder
public byte getBorder()(Code)



getBorderColor
public Color getBorderColor()(Code)



getBottomBorder
public byte getBottomBorder()(Code)



getBottomBorderColor
public Color getBottomBorderColor()(Code)



getBottomPadding
public int getBottomPadding()(Code)



getBox
public JRBox getBox()(Code)



getFont
public JRFont getFont()(Code)



getFontName
public String getFontName()(Code)



getFontSize
public int getFontSize()(Code)



getHorizontalAlignment
public byte getHorizontalAlignment()(Code)



getLeftBorder
public byte getLeftBorder()(Code)



getLeftBorderColor
public Color getLeftBorderColor()(Code)



getLeftPadding
public int getLeftPadding()(Code)



getLineSpacing
public byte getLineSpacing()(Code)



getMode
public byte getMode()(Code)



getOwnBorder
public Byte getOwnBorder()(Code)



getOwnBorderColor
public Color getOwnBorderColor()(Code)



getOwnBottomBorder
public Byte getOwnBottomBorder()(Code)



getOwnBottomBorderColor
public Color getOwnBottomBorderColor()(Code)



getOwnBottomPadding
public Integer getOwnBottomPadding()(Code)



getOwnFontName
public String getOwnFontName()(Code)



getOwnFontSize
public Integer getOwnFontSize()(Code)



getOwnHorizontalAlignment
public Byte getOwnHorizontalAlignment()(Code)



getOwnLeftBorder
public Byte getOwnLeftBorder()(Code)



getOwnLeftBorderColor
public Color getOwnLeftBorderColor()(Code)



getOwnLeftPadding
public Integer getOwnLeftPadding()(Code)



getOwnLineSpacing
public Byte getOwnLineSpacing()(Code)



getOwnPadding
public Integer getOwnPadding()(Code)



getOwnPdfEncoding
public String getOwnPdfEncoding()(Code)



getOwnPdfFontName
public String getOwnPdfFontName()(Code)



getOwnRightBorder
public Byte getOwnRightBorder()(Code)



getOwnRightBorderColor
public Color getOwnRightBorderColor()(Code)



getOwnRightPadding
public Integer getOwnRightPadding()(Code)



getOwnRotation
public Byte getOwnRotation()(Code)



getOwnSize
public Integer getOwnSize()(Code)
JRDesignTextElement.getOwnFontSize()



getOwnTopBorder
public Byte getOwnTopBorder()(Code)



getOwnTopBorderColor
public Color getOwnTopBorderColor()(Code)



getOwnTopPadding
public Integer getOwnTopPadding()(Code)



getOwnVerticalAlignment
public Byte getOwnVerticalAlignment()(Code)



getPadding
public int getPadding()(Code)



getPdfEncoding
public String getPdfEncoding()(Code)



getPdfFontName
public String getPdfFontName()(Code)



getReportFont
public JRReportFont getReportFont()(Code)



getRightBorder
public byte getRightBorder()(Code)



getRightBorderColor
public Color getRightBorderColor()(Code)



getRightPadding
public int getRightPadding()(Code)



getRotation
public byte getRotation()(Code)



getSize
public int getSize()(Code)
JRDesignTextElement.getFontSize()



getTextAlignment
public byte getTextAlignment()(Code)
JRDesignTextElement.getHorizontalAlignment()



getTopBorder
public byte getTopBorder()(Code)



getTopBorderColor
public Color getTopBorderColor()(Code)



getTopPadding
public int getTopPadding()(Code)



getVerticalAlignment
public byte getVerticalAlignment()(Code)



isBold
public boolean isBold()(Code)



isItalic
public boolean isItalic()(Code)



isOwnBold
public Boolean isOwnBold()(Code)



isOwnItalic
public Boolean isOwnItalic()(Code)



isOwnPdfEmbedded
public Boolean isOwnPdfEmbedded()(Code)



isOwnStrikeThrough
public Boolean isOwnStrikeThrough()(Code)



isOwnStyledText
public Boolean isOwnStyledText()(Code)



isOwnUnderline
public Boolean isOwnUnderline()(Code)



isPdfEmbedded
public boolean isPdfEmbedded()(Code)



isStrikeThrough
public boolean isStrikeThrough()(Code)



isStyledText
public boolean isStyledText()(Code)



isUnderline
public boolean isUnderline()(Code)



setBold
public void setBold(boolean isBold)(Code)



setBold
public void setBold(Boolean isBold)(Code)
Alternative setBold method which allows also to reset the "own" isBold property.



setBorder
public void setBorder(byte border)(Code)



setBorder
public void setBorder(Byte border)(Code)



setBorderColor
public void setBorderColor(Color borderColor)(Code)



setBottomBorder
public void setBottomBorder(byte bottomBorder)(Code)



setBottomBorder
public void setBottomBorder(Byte bottomBorder)(Code)



setBottomBorderColor
public void setBottomBorderColor(Color bottomBorderColor)(Code)



setBottomPadding
public void setBottomPadding(int bottomPadding)(Code)



setBottomPadding
public void setBottomPadding(Integer bottomPadding)(Code)



setBox
public void setBox(JRBox box)(Code)



setFont
public void setFont(JRFont font)(Code)
Sets a JRFont object containing all font properties for this text element



setFontName
public void setFontName(String fontName)(Code)



setFontSize
public void setFontSize(int fontSize)(Code)



setFontSize
public void setFontSize(Integer fontSize)(Code)
Alternative setFontSize method which allows also to reset the "own" size property.



setHorizontalAlignment
public void setHorizontalAlignment(byte horizontalAlignment)(Code)



setHorizontalAlignment
public void setHorizontalAlignment(Byte horizontalAlignment)(Code)



setItalic
public void setItalic(boolean isItalic)(Code)



setItalic
public void setItalic(Boolean isItalic)(Code)
Alternative setItalic method which allows also to reset the "own" isItalic property.



setLeftBorder
public void setLeftBorder(byte leftBorder)(Code)



setLeftBorder
public void setLeftBorder(Byte leftBorder)(Code)



setLeftBorderColor
public void setLeftBorderColor(Color leftBorderColor)(Code)



setLeftPadding
public void setLeftPadding(int leftPadding)(Code)



setLeftPadding
public void setLeftPadding(Integer leftPadding)(Code)



setLineSpacing
public void setLineSpacing(byte lineSpacing)(Code)



setLineSpacing
public void setLineSpacing(Byte lineSpacing)(Code)



setPadding
public void setPadding(int padding)(Code)



setPadding
public void setPadding(Integer padding)(Code)



setPdfEmbedded
public void setPdfEmbedded(boolean isPdfEmbedded)(Code)



setPdfEmbedded
public void setPdfEmbedded(Boolean isPdfEmbedded)(Code)
Alternative setPdfEmbedded method which allows also to reset the "own" isPdfEmbedded property.



setPdfEncoding
public void setPdfEncoding(String pdfEncoding)(Code)



setPdfFontName
public void setPdfFontName(String pdfFontName)(Code)



setReportFont
public void setReportFont(JRReportFont reportFont)(Code)



setRightBorder
public void setRightBorder(byte rightBorder)(Code)



setRightBorder
public void setRightBorder(Byte rightBorder)(Code)



setRightBorderColor
public void setRightBorderColor(Color rightBorderColor)(Code)



setRightPadding
public void setRightPadding(int rightPadding)(Code)



setRightPadding
public void setRightPadding(Integer rightPadding)(Code)



setRotation
public void setRotation(byte rotation)(Code)



setRotation
public void setRotation(Byte rotation)(Code)



setSize
public void setSize(int size)(Code)
JRDesignTextElement.setFontSize(int)



setSize
public void setSize(Integer size)(Code)
JRDesignTextElement.setFontSize(Integer)



setStrikeThrough
public void setStrikeThrough(boolean isStrikeThrough)(Code)



setStrikeThrough
public void setStrikeThrough(Boolean isStrikeThrough)(Code)
Alternative setStrikeThrough method which allows also to reset the "own" isStrikeThrough property.



setStyledText
public void setStyledText(boolean isStyledText)(Code)



setStyledText
public void setStyledText(Boolean isStyledText)(Code)



setTextAlignment
public void setTextAlignment(byte horizontalAlignment)(Code)
JRDesignTextElement.setHorizontalAlignment(byte)



setTopBorder
public void setTopBorder(byte topBorder)(Code)



setTopBorder
public void setTopBorder(Byte topBorder)(Code)



setTopBorderColor
public void setTopBorderColor(Color topBorderColor)(Code)



setTopPadding
public void setTopPadding(int topPadding)(Code)



setTopPadding
public void setTopPadding(Integer topPadding)(Code)



setUnderline
public void setUnderline(boolean isUnderline)(Code)



setUnderline
public void setUnderline(Boolean isUnderline)(Code)
Alternative setUnderline method which allows also to reset the "own" isUnderline property.



setVerticalAlignment
public void setVerticalAlignment(byte verticalAlignment)(Code)



setVerticalAlignment
public void setVerticalAlignment(Byte verticalAlignment)(Code)



Methods inherited from net.sf.jasperreports.engine.design.JRDesignElement
public void setElementGroup(JRElementGroup elementGroup)(Code)(Java Doc)
public void setHeight(int height)(Code)(Java Doc)
public void setKey(String key)(Code)(Java Doc)
public void setPrintWhenExpression(JRExpression expression)(Code)(Java Doc)
public void setPrintWhenGroupChanges(JRGroup group)(Code)(Java Doc)
public void setStyle(JRStyle style)(Code)(Java Doc)
public void setStyleNameReference(String styleName)(Code)(Java Doc)
public void setY(int y)(Code)(Java Doc)

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