Java Doc for RtfBorder.java in  » PDF » pdf-itext » com » lowagie » text » rtf » table » 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 » PDF » pdf itext » com.lowagie.text.rtf.table 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.lowagie.text.rtf.RtfElement
      com.lowagie.text.rtf.table.RtfBorder

RtfBorder
public class RtfBorder extends RtfElement (Code)
The RtfBorder handle one row or cell border. INTERNAL USE ONLY
version:
   $Id: RtfBorder.java 2776 2007-05-23 20:01:40Z hallm $
author:
   Mark Hall (mhall@edu.uni-klu.ac.at)
author:
   Thomas Bickel (tmb99@inode.at)


Field Summary
final protected static  byte[]BORDER_COLOR_NUMBER
    
final public static  intBORDER_DASHED
    
final public static  intBORDER_DOTTED
    
final public static  intBORDER_DOT_DASH
    
final public static  intBORDER_DOT_DOT_DASH
    
final public static  intBORDER_DOUBLE
    
final public static  intBORDER_DOUBLE_THICK
    
final public static  intBORDER_DOUBLE_WAVY
    
final public static  intBORDER_EMBOSS
    
final public static  intBORDER_ENGRAVE
    
final public static  intBORDER_HAIRLINE
    
final public static  intBORDER_NONE
    
final public static  intBORDER_SHADOWED
    
final public static  intBORDER_SINGLE
    
final public static  intBORDER_STRIPED
    
final protected static  byte[]BORDER_STYLE_DASHED
    
final protected static  byte[]BORDER_STYLE_DOTTED
    
final protected static  byte[]BORDER_STYLE_DOT_DASH
    
final protected static  byte[]BORDER_STYLE_DOT_DOT_DASH
    
final protected static  byte[]BORDER_STYLE_DOUBLE
    
final protected static  byte[]BORDER_STYLE_DOUBLE_THICK
    
final protected static  byte[]BORDER_STYLE_DOUBLE_WAVY
    
final protected static  byte[]BORDER_STYLE_EMBOSS
    
final protected static  byte[]BORDER_STYLE_ENGRAVE
    
final protected static  byte[]BORDER_STYLE_HAIRLINE
    
final protected static  byte[]BORDER_STYLE_SHADOWED
    
final protected static  byte[]BORDER_STYLE_SINGLE
    
final protected static  byte[]BORDER_STYLE_STRIPED
    
final protected static  byte[]BORDER_STYLE_THICK_THIN
    
final protected static  byte[]BORDER_STYLE_THICK_THIN_LARGE
    
final protected static  byte[]BORDER_STYLE_THICK_THIN_MED
    
final protected static  byte[]BORDER_STYLE_THIN_THICK
    
final protected static  byte[]BORDER_STYLE_THIN_THICK_LARGE
    
final protected static  byte[]BORDER_STYLE_THIN_THICK_MED
    
final protected static  byte[]BORDER_STYLE_THIN_THICK_THIN
    
final protected static  byte[]BORDER_STYLE_THIN_THICK_THIN_LARGE
    
final protected static  byte[]BORDER_STYLE_THIN_THICK_THIN_MED
    
final protected static  byte[]BORDER_STYLE_TRIPLE
    
final protected static  byte[]BORDER_STYLE_WAVY
    
final public static  intBORDER_THICK_THIN
    
final public static  intBORDER_THICK_THIN_LARGE
    
final public static  intBORDER_THICK_THIN_MED
    
final public static  intBORDER_THIN_THICK
    
final public static  intBORDER_THIN_THICK_LARGE
    
final public static  intBORDER_THIN_THICK_MED
    
final public static  intBORDER_THIN_THICK_THIN
    
final public static  intBORDER_THIN_THICK_THIN_LARGE
    
final public static  intBORDER_THIN_THICK_THIN_MED
    
final public static  intBORDER_TRIPLE
    
final public static  intBORDER_WAVY
    
final protected static  byte[]BORDER_WIDTH
    
final protected static  intBOTTOM_BORDER
    
final protected static  intBOX_BORDER
    
final protected static  intCELL_BORDER
    
final protected static  byte[]CELL_BORDER_BOTTOM
    
final protected static  byte[]CELL_BORDER_LEFT
    
final protected static  byte[]CELL_BORDER_RIGHT
    
final protected static  byte[]CELL_BORDER_TOP
    
final protected static  intHORIZONTAL_BORDER
    
final protected static  intLEFT_BORDER
    
final protected static  intNO_BORDER
    
final protected static  intRIGHT_BORDER
    
final protected static  intROW_BORDER
    
final protected static  byte[]ROW_BORDER_BOTTOM
    
final protected static  byte[]ROW_BORDER_HORIZONTAL
    
final protected static  byte[]ROW_BORDER_LEFT
    
final protected static  byte[]ROW_BORDER_RIGHT
    
final protected static  byte[]ROW_BORDER_TOP
    
final protected static  byte[]ROW_BORDER_VERTICAL
    
final protected static  intTOP_BORDER
    
final protected static  intVERTICAL_BORDER
    

Constructor Summary
protected  RtfBorder(RtfDocument doc, int borderType, RtfBorder border)
    
protected  RtfBorder(RtfDocument doc, int borderType, int borderPosition, int borderStyle, float borderWidth, Color borderColor)
    

Method Summary
protected  RtfColorgetBorderColor()
    
protected  intgetBorderPosition()
    
protected  intgetBorderStyle()
    
protected  intgetBorderType()
    
protected  intgetBorderWidth()
    
public  byte[]write()
    
public  voidwriteContent(OutputStream result)
    

Field Detail
BORDER_COLOR_NUMBER
final protected static byte[] BORDER_COLOR_NUMBER(Code)
Constant for the border colour number



BORDER_DASHED
final public static int BORDER_DASHED(Code)
Constant for a dashed border



BORDER_DOTTED
final public static int BORDER_DOTTED(Code)
Constant for a dotted border



BORDER_DOT_DASH
final public static int BORDER_DOT_DASH(Code)
Constant for a dot dash border



BORDER_DOT_DOT_DASH
final public static int BORDER_DOT_DOT_DASH(Code)
Constant for a dot dot dash border



BORDER_DOUBLE
final public static int BORDER_DOUBLE(Code)
Constant for a double border



BORDER_DOUBLE_THICK
final public static int BORDER_DOUBLE_THICK(Code)
Constant for a double thick border



BORDER_DOUBLE_WAVY
final public static int BORDER_DOUBLE_WAVY(Code)
Constant for a double wavy border



BORDER_EMBOSS
final public static int BORDER_EMBOSS(Code)
Constant for an embossed border



BORDER_ENGRAVE
final public static int BORDER_ENGRAVE(Code)
Constant for an engraved border



BORDER_HAIRLINE
final public static int BORDER_HAIRLINE(Code)
Constant for a hairline border



BORDER_NONE
final public static int BORDER_NONE(Code)
Constant for a border with no border



BORDER_SHADOWED
final public static int BORDER_SHADOWED(Code)
Constant for a shadowed border



BORDER_SINGLE
final public static int BORDER_SINGLE(Code)
Constant for a single border



BORDER_STRIPED
final public static int BORDER_STRIPED(Code)
Constant for a striped border



BORDER_STYLE_DASHED
final protected static byte[] BORDER_STYLE_DASHED(Code)
Constant for the dashed border style



BORDER_STYLE_DOTTED
final protected static byte[] BORDER_STYLE_DOTTED(Code)
Constant for the dotted border style



BORDER_STYLE_DOT_DASH
final protected static byte[] BORDER_STYLE_DOT_DASH(Code)
Constant for the dot dash border style



BORDER_STYLE_DOT_DOT_DASH
final protected static byte[] BORDER_STYLE_DOT_DOT_DASH(Code)
Constant for the dot dot dash border style



BORDER_STYLE_DOUBLE
final protected static byte[] BORDER_STYLE_DOUBLE(Code)
Constant for the double border style



BORDER_STYLE_DOUBLE_THICK
final protected static byte[] BORDER_STYLE_DOUBLE_THICK(Code)
Constant for the double thick border style



BORDER_STYLE_DOUBLE_WAVY
final protected static byte[] BORDER_STYLE_DOUBLE_WAVY(Code)
Constant for the double wavy border style



BORDER_STYLE_EMBOSS
final protected static byte[] BORDER_STYLE_EMBOSS(Code)
Constant for the embossed border style



BORDER_STYLE_ENGRAVE
final protected static byte[] BORDER_STYLE_ENGRAVE(Code)
Constant for the engraved border style



BORDER_STYLE_HAIRLINE
final protected static byte[] BORDER_STYLE_HAIRLINE(Code)
Constant for the hairline border style



BORDER_STYLE_SHADOWED
final protected static byte[] BORDER_STYLE_SHADOWED(Code)
Constant for the shadowed border style



BORDER_STYLE_SINGLE
final protected static byte[] BORDER_STYLE_SINGLE(Code)
Constant for the single border style



BORDER_STYLE_STRIPED
final protected static byte[] BORDER_STYLE_STRIPED(Code)
Constant for the striped border style



BORDER_STYLE_THICK_THIN
final protected static byte[] BORDER_STYLE_THICK_THIN(Code)
Constant for the thick thin border style



BORDER_STYLE_THICK_THIN_LARGE
final protected static byte[] BORDER_STYLE_THICK_THIN_LARGE(Code)
Constant for the thick thin large border style



BORDER_STYLE_THICK_THIN_MED
final protected static byte[] BORDER_STYLE_THICK_THIN_MED(Code)
Constant for the thick thin medium border style



BORDER_STYLE_THIN_THICK
final protected static byte[] BORDER_STYLE_THIN_THICK(Code)
Constant for the thin thick border style



BORDER_STYLE_THIN_THICK_LARGE
final protected static byte[] BORDER_STYLE_THIN_THICK_LARGE(Code)
Constant for the thin thick large border style



BORDER_STYLE_THIN_THICK_MED
final protected static byte[] BORDER_STYLE_THIN_THICK_MED(Code)
Constant for the thin thick medium border style



BORDER_STYLE_THIN_THICK_THIN
final protected static byte[] BORDER_STYLE_THIN_THICK_THIN(Code)
Constant for the thin thick thin border style



BORDER_STYLE_THIN_THICK_THIN_LARGE
final protected static byte[] BORDER_STYLE_THIN_THICK_THIN_LARGE(Code)
Constant for the thin thick thin large border style



BORDER_STYLE_THIN_THICK_THIN_MED
final protected static byte[] BORDER_STYLE_THIN_THICK_THIN_MED(Code)
Constant for the thin thick thin medium border style



BORDER_STYLE_TRIPLE
final protected static byte[] BORDER_STYLE_TRIPLE(Code)
Constant for the triple border style



BORDER_STYLE_WAVY
final protected static byte[] BORDER_STYLE_WAVY(Code)
Constant for the wavy border style



BORDER_THICK_THIN
final public static int BORDER_THICK_THIN(Code)
Constant for a thick thin border



BORDER_THICK_THIN_LARGE
final public static int BORDER_THICK_THIN_LARGE(Code)
Constant for a thick thin large border



BORDER_THICK_THIN_MED
final public static int BORDER_THICK_THIN_MED(Code)
Constant for a thick thin medium border



BORDER_THIN_THICK
final public static int BORDER_THIN_THICK(Code)
Constant for a thin thick border



BORDER_THIN_THICK_LARGE
final public static int BORDER_THIN_THICK_LARGE(Code)
Constant for a thin thick large border



BORDER_THIN_THICK_MED
final public static int BORDER_THIN_THICK_MED(Code)
Constant for a thin thick medium border



BORDER_THIN_THICK_THIN
final public static int BORDER_THIN_THICK_THIN(Code)
Constant for a thin thick thin border



BORDER_THIN_THICK_THIN_LARGE
final public static int BORDER_THIN_THICK_THIN_LARGE(Code)
Constant for a thin thick thin large border



BORDER_THIN_THICK_THIN_MED
final public static int BORDER_THIN_THICK_THIN_MED(Code)
Constant for a thin thick thin medium border



BORDER_TRIPLE
final public static int BORDER_TRIPLE(Code)
Constant for a triple border



BORDER_WAVY
final public static int BORDER_WAVY(Code)
Constant for a wavy border



BORDER_WIDTH
final protected static byte[] BORDER_WIDTH(Code)
Constant for the border width



BOTTOM_BORDER
final protected static int BOTTOM_BORDER(Code)
Constant for a bottom border



BOX_BORDER
final protected static int BOX_BORDER(Code)
Constant for a box (left, top, right, bottom) border



CELL_BORDER
final protected static int CELL_BORDER(Code)
Constant for a cell border



CELL_BORDER_BOTTOM
final protected static byte[] CELL_BORDER_BOTTOM(Code)
Constant for the bottom cell border



CELL_BORDER_LEFT
final protected static byte[] CELL_BORDER_LEFT(Code)
Constant for the left cell border



CELL_BORDER_RIGHT
final protected static byte[] CELL_BORDER_RIGHT(Code)
Constant for the right cell border



CELL_BORDER_TOP
final protected static byte[] CELL_BORDER_TOP(Code)
Constant for the top cell border



HORIZONTAL_BORDER
final protected static int HORIZONTAL_BORDER(Code)
Constant for a horizontal line



LEFT_BORDER
final protected static int LEFT_BORDER(Code)
Constant for a left border



NO_BORDER
final protected static int NO_BORDER(Code)
This border is no border :-)



RIGHT_BORDER
final protected static int RIGHT_BORDER(Code)
Constant for a right border



ROW_BORDER
final protected static int ROW_BORDER(Code)
Constant for a row border



ROW_BORDER_BOTTOM
final protected static byte[] ROW_BORDER_BOTTOM(Code)
Constant for the bottom row border



ROW_BORDER_HORIZONTAL
final protected static byte[] ROW_BORDER_HORIZONTAL(Code)
Constant for the horizontal line



ROW_BORDER_LEFT
final protected static byte[] ROW_BORDER_LEFT(Code)
Constant for the left row border



ROW_BORDER_RIGHT
final protected static byte[] ROW_BORDER_RIGHT(Code)
Constant for the right row border



ROW_BORDER_TOP
final protected static byte[] ROW_BORDER_TOP(Code)
Constant for the top row border



ROW_BORDER_VERTICAL
final protected static byte[] ROW_BORDER_VERTICAL(Code)
Constant for the vertical line



TOP_BORDER
final protected static int TOP_BORDER(Code)
Constant for a top border



VERTICAL_BORDER
final protected static int VERTICAL_BORDER(Code)
Constant for a vertical line




Constructor Detail
RtfBorder
protected RtfBorder(RtfDocument doc, int borderType, RtfBorder border)(Code)
Makes a copy of the given RtfBorder
Parameters:
  doc - The RtfDocument this RtfBorder belongs to
Parameters:
  borderType - The border type of this RtfBorder
Parameters:
  border - The RtfBorder to copy



RtfBorder
protected RtfBorder(RtfDocument doc, int borderType, int borderPosition, int borderStyle, float borderWidth, Color borderColor)(Code)
Constructs a RtfBorder
Parameters:
  doc - The RtfDocument this RtfBorder belongs to
Parameters:
  borderType - The type of border this RtfBorder is
Parameters:
  borderPosition - The position of this RtfBorder
Parameters:
  borderStyle - The style of this RtfBorder
Parameters:
  borderWidth - The width of this RtfBorder
Parameters:
  borderColor - The colour of this RtfBorder




Method Detail
getBorderColor
protected RtfColor getBorderColor()(Code)
Gets the colour of this RtfBorder Returns RtfColor of this RtfBorder



getBorderPosition
protected int getBorderPosition()(Code)
Gets the position of this RtfBorder Returns the position of this RtfBorder



getBorderStyle
protected int getBorderStyle()(Code)
Gets the style of this RtfBorder Returns the style of this RtfBorder



getBorderType
protected int getBorderType()(Code)
Gets the type of this RtfBorder Returns the type of this RtfBorder



getBorderWidth
protected int getBorderWidth()(Code)
Gets the width of this RtfBorder Returns the width of this RtfBorder



write
public byte[] write()(Code)
Writes the RtfBorder settings A byte array with the RtfBorder settingsRtfBorder.writeContent(OutputStream)



writeContent
public void writeContent(OutputStream result) throws IOException(Code)
Writes the RtfBorder settings



Fields inherited from com.lowagie.text.rtf.RtfElement
protected RtfDocument document(Code)(Java Doc)
protected boolean inHeader(Code)(Java Doc)
protected boolean inTable(Code)(Java Doc)

Methods inherited from com.lowagie.text.rtf.RtfElement
public byte[] intToByteArray(int i)(Code)(Java Doc)
public boolean isInTable()(Code)(Java Doc)
public void setInHeader(boolean inHeader)(Code)(Java Doc)
public void setInTable(boolean inTable)(Code)(Java Doc)
public void setRtfDocument(RtfDocument doc)(Code)(Java Doc)
abstract public byte[] write()(Code)(Java Doc)
public void writeContent(OutputStream out) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.