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


java.lang.Object
   com.lowagie.text.Rectangle
      com.lowagie.text.Table

Table
public class Table extends Rectangle (Code)
A Table is a Rectangle that contains Cells, ordered in some kind of matrix.

Tables that span multiple pages are cut into different parts automatically. If you want a table header to be repeated on every page, you may not forget to mark the end of the header section by using the method endHeaders().

The matrix of a table is not necessarily an m x n-matrix. It can contain holes or cells that are bigger than the unit. Believe me or not, but it took some serious thinking to make this as userfriendly as possible. I hope you wil find the result quite simple (I love simple solutions, especially for complex problems). I didn't want it to be something as complex as the Java GridBagLayout.

Example:

 // Remark: You MUST know the number of columns when constructing a Table.
 //         The number of rows is not important.
 Table table = new Table(3);
 table.setBorderWidth(1);
 table.setBorderColor(new Color(0, 0, 255));
 table.setPadding(5);
 table.setSpacing(5);
 Cell cell = new Cell("header");
 cell.setHeader(true);
 cell.setColspan(3);
 table.addCell(cell);
 table.endHeaders();
 cell = new Cell("example cell with colspan 1 and rowspan 2");
 cell.setRowspan(2);
 cell.setBorderColor(new Color(255, 0, 0));
 table.addCell(cell);
 table.addCell("1.1");
 table.addCell("2.1");
 table.addCell("1.2");
 table.addCell("2.2");
 table.addCell("cell test1");
 cell = new Cell("big cell");
 cell.setRowspan(2);
 cell.setColspan(2);
 table.addCell(cell);
 table.addCell("cell test2");
 
The result of this code is a table:
header
example cell with colspan 1 and rowspan 2 1.1 2.1
1.2 2.2
cell test1 big cell
cell test2

See Also:   Rectangle
See Also:   Element
See Also:   Row
See Also:   Cell


Field Summary
protected  booleanautoFillEmptyCells
    
 booleancellsFitPage
     If true cells may not be split over two pages.
protected  booleanconvert2pdfptable
     if you want to generate tables the old way, set this value to false.
 floatoffset
     This is the offset of the table.
 booleantableFitsPage
     If true this table may not be split over two pages.

Constructor Summary
public  Table(int columns)
     Constructs a Table with a certain number of columns.
public  Table(int columns, int rows)
     Constructs a Table with a certain number of columns and a certain number of Rows.
public  Table(Table t)
     Copy constructor (shallow copy).
public  Table(java.util.Properties attributes)
     Returns a Table that has been constructed taking in account the value of some attributes.

Method Summary
public  StringabsWidth()
     Gets the table width (in pixels).
public  voidaddCell(Cell aCell, int row, int column)
     Adds a Cell to the Table at a certain row and column.
public  voidaddCell(Cell aCell, Point aLocation)
     Adds a Cell to the Table at a certain location.
public  voidaddCell(Cell cell)
     Adds a Cell to the Table.
public  voidaddCell(Phrase content)
     Adds a Cell to the Table.
public  voidaddCell(Phrase content, Point location)
     Adds a Cell to the Table.
public  voidaddCell(String content)
     Adds a Cell to the Table.
public  voidaddCell(String content, Point location)
     Adds a Cell to the Table.
public  voidaddColumns(int aColumns)
     Gives you the posibility to add columns.
public  intalignment()
     Gets the horizontal alignment.
public  floatcellpadding()
     Gets the cellpadding.
public  floatcellspacing()
     Gets the cellspacing.
public  intcolumns()
     Gets the number of columns.
public  voidcomplete()
    
public  PdfPTablecreatePdfPTable()
     Create a PdfPTable based on this Table object.
public  voiddeleteAllRows()
     Deletes all rows in this table.
public  voiddeleteColumn(int column)
     Deletes a column in this table.
public  booleandeleteLastRow()
     Deletes the last row in this table.
public  booleandeleteRow(int row)
     Deletes a row.
public  intendHeaders()
     Marks the last row of the table headers.
public  intgetAlignment()
     Gets the horizontal alignment.
public  ArrayListgetChunks()
     Gets all the chunks in this element.
public  intgetColumns()
     Gets the number of columns.
public  CellgetDefaultLayout()
     Gets the default layout of the Table.
public  DimensiongetDimension()
    
public  intgetLastHeaderRow()
     Gets the last number of the rows that contain headers.
public  floatgetOffset()
     Gets the offset of this table.
public  floatgetPadding()
     Gets the cellpadding.
public  float[]getProportionalWidths()
     Gets the proportional widths of the columns in this Table.
public  floatgetSpacing()
     Gets the cellspacing.
public  floatgetWidth()
     Gets the table width (a percentage).
public  float[]getWidths(float left, float totalWidth)
     Gets an array with the positions of the borders between every column.
public  voidinsertTable(Table aTable)
     To put a table within the existing table at the current position generateTable will of course re-arrange the widths of the columns.
public  voidinsertTable(Table aTable, int row, int column)
     To put a table within the existing table at the given position generateTable will of course re-arrange the widths of the columns.
public  voidinsertTable(Table aTable, Point aLocation)
     To put a table within the existing table at the given position generateTable will of course re-arrange the widths of the columns.
public  booleanisCellsFitPage()
     Checks if the cells of this Table have to fit a page.
public  booleanisConvert2pdfptable()
     Method to check if the Table should be converted to a PdfPTable or not.
public  booleanisLocked()
    
public  booleanisTableFitsPage()
     Checks if this Table has to fit a page.
public  Iteratoriterator()
     Gets an Iterator of all the Rows.
public  intlastHeaderRow()
     Gets the last number of the rows that contain headers.
public  booleanprocess(ElementListener listener)
     Processes the element by adding it (or the different parts) to an ElementListener.
public  voidsetAbsWidth(String width)
     Sets the width of this table (in percentage of the available space).
public  voidsetAlignment(int value)
     Sets the horizontal alignment.
public  voidsetAlignment(String alignment)
     Sets the alignment of this paragraph.
public  voidsetAutoFillEmptyCells(boolean aDoAutoFill)
     Enables/disables automatic insertion of empty cells before table is rendered.
public  voidsetCellsFitPage(boolean fitPage)
     Allows you to control when a page break occurs.
public  voidsetConvert2pdfptable(boolean convert2pdfptable)
     If set to true, iText will try to convert the Table to a PdfPTable.
public  voidsetDefaultCellBackgroundColor(Color color)
     Changes the backgroundcolor in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultCellBorder(int value)
     Changes the border in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultCellBorderColor(Color color)
     Changes the bordercolor in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultCellBorderWidth(float value)
     Changes the width of the borders in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultCellGrayFill(float value)
     Changes the grayfill in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultColspan(int value)
     Changes the colspan in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultHorizontalAlignment(int value)
     Changes the horizontalAlignment in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultLayout(Cell value)
    
public  voidsetDefaultRowspan(int value)
     Changes the rowspan in the default layout of the Cells added with method addCell(String content).
public  voidsetDefaultVerticalAlignment(int value)
     Changes the verticalAlignment in the default layout of the Cells added with method addCell(String content).
public  voidsetLastHeaderRow(int value)
     Sets the horizontal alignment.
public  voidsetLocked(boolean locked)
    
public  voidsetOffset(float offset)
     Sets the offset of this table.
public  voidsetPadding(float value)
     Sets the cellpadding.
public  voidsetSpaceBetweenCells(float value)
     Sets the cellspacing.
public  voidsetSpaceInsideCell(float value)
     Sets the cellpadding.
public  voidsetSpacing(float value)
     Sets the cellspacing.
public  voidsetTableFitsPage(boolean fitPage)
     Allows you to control when a page break occurs.
public  voidsetWidth(float width)
     Sets the width of this table (in percentage of the available space).
public  voidsetWidths(float[] widths)
     Sets the widths of the different columns (percentages).
public  voidsetWidths(int[] widths)
     Sets the widths of the different columns (percentages).
public  intsize()
     Gets the number of rows in this Table.
public  inttype()
     Gets the type of the text element.
public  floatwidthPercentage()
     Gets the table width (a percentage).

Field Detail
autoFillEmptyCells
protected boolean autoFillEmptyCells(Code)
Boolean to automatically fill empty cells before a table is rendered (takes CPU so may be set to false in case of certainty)



cellsFitPage
boolean cellsFitPage(Code)
If true cells may not be split over two pages.



convert2pdfptable
protected boolean convert2pdfptable(Code)
if you want to generate tables the old way, set this value to false.



offset
float offset(Code)
This is the offset of the table.



tableFitsPage
boolean tableFitsPage(Code)
If true this table may not be split over two pages.




Constructor Detail
Table
public Table(int columns) throws BadElementException(Code)
Constructs a Table with a certain number of columns.
Parameters:
  columns - The number of columns in the table
throws:
  BadElementException - if the creator was called with less than 1 column



Table
public Table(int columns, int rows) throws BadElementException(Code)
Constructs a Table with a certain number of columns and a certain number of Rows.
Parameters:
  columns - The number of columns in the table
Parameters:
  rows - The number of rows
throws:
  BadElementException - if the creator was called with less than 1 column



Table
public Table(Table t)(Code)
Copy constructor (shallow copy).
throws:
  BadElementException -



Table
public Table(java.util.Properties attributes)(Code)
Returns a Table that has been constructed taking in account the value of some attributes.
Parameters:
  attributes - Some attributes
throws:
  BadElementException -




Method Detail
absWidth
public String absWidth()(Code)
Gets the table width (in pixels). the table width



addCell
public void addCell(Cell aCell, int row, int column) throws BadElementException(Code)
Adds a Cell to the Table at a certain row and column.
Parameters:
  aCell - The Cell to add
Parameters:
  row - The row where the Cell will be added
Parameters:
  column - The column where the Cell will be added
throws:
  BadElementException -



addCell
public void addCell(Cell aCell, Point aLocation) throws BadElementException(Code)
Adds a Cell to the Table at a certain location.
Parameters:
  aCell - The Cell to add
Parameters:
  aLocation - The location where the Cell will be added
throws:
  BadElementException -



addCell
public void addCell(Cell cell)(Code)
Adds a Cell to the Table.
Parameters:
  cell - a Cell



addCell
public void addCell(Phrase content) throws BadElementException(Code)
Adds a Cell to the Table.

This is a shortcut for addCell(Cell cell). The Phrase will be converted to a Cell.
Parameters:
  content - a Phrase
throws:
  BadElementException - this should never happen




addCell
public void addCell(Phrase content, Point location) throws BadElementException(Code)
Adds a Cell to the Table.

This is a shortcut for addCell(Cell cell, Point location). The Phrase will be converted to a Cell.
Parameters:
  content - a Phrase
Parameters:
  location - a Point
throws:
  BadElementException - this should never happen




addCell
public void addCell(String content) throws BadElementException(Code)
Adds a Cell to the Table.

This is a shortcut for addCell(Cell cell). The String will be converted to a Cell.
Parameters:
  content - a String
throws:
  BadElementException - this should never happen




addCell
public void addCell(String content, Point location) throws BadElementException(Code)
Adds a Cell to the Table.

This is a shortcut for addCell(Cell cell, Point location). The String will be converted to a Cell.
Parameters:
  content - a String
Parameters:
  location - a Point
throws:
  BadElementException - this should never happen




addColumns
public void addColumns(int aColumns)(Code)
Gives you the posibility to add columns.
Parameters:
  aColumns - the number of columns to add



alignment
public int alignment()(Code)
Gets the horizontal alignment. a valueTable.getAlignment()



cellpadding
public float cellpadding()(Code)
Gets the cellpadding. a valueTable.getPadding()



cellspacing
public float cellspacing()(Code)
Gets the cellspacing. a valueTable.getSpacing()



columns
public int columns()(Code)
Gets the number of columns. a valueTable.getColumns()



complete
public void complete()(Code)
Will fill empty cells with valid blank Cells



createPdfPTable
public PdfPTable createPdfPTable() throws BadElementException(Code)
Create a PdfPTable based on this Table object. a PdfPTable object
throws:
  BadElementException -



deleteAllRows
public void deleteAllRows()(Code)
Deletes all rows in this table. (contributed by dperezcar@fcc.es)



deleteColumn
public void deleteColumn(int column) throws BadElementException(Code)
Deletes a column in this table.
Parameters:
  column - the number of the column that has to be deleted
throws:
  BadElementException -



deleteLastRow
public boolean deleteLastRow()(Code)
Deletes the last row in this table. boolean true if the row was deleted; false if not



deleteRow
public boolean deleteRow(int row)(Code)
Deletes a row.
Parameters:
  row - the number of the row to delete boolean true if the row was deleted; false if not



endHeaders
public int endHeaders()(Code)
Marks the last row of the table headers. the number of the last row of the table headers



getAlignment
public int getAlignment()(Code)
Gets the horizontal alignment. a value



getChunks
public ArrayList getChunks()(Code)
Gets all the chunks in this element. an ArrayList



getColumns
public int getColumns()(Code)
Gets the number of columns. a value



getDefaultLayout
public Cell getDefaultLayout()(Code)
Gets the default layout of the Table. a cell with all the defaults



getDimension
public Dimension getDimension()(Code)
Gets the dimension of this table dimension



getLastHeaderRow
public int getLastHeaderRow()(Code)
Gets the last number of the rows that contain headers. a rownumber



getOffset
public float getOffset()(Code)
Gets the offset of this table. the space between this table and the previous element.



getPadding
public float getPadding()(Code)
Gets the cellpadding. a value



getProportionalWidths
public float[] getProportionalWidths()(Code)
Gets the proportional widths of the columns in this Table. the proportional widths of the columns in this Table



getSpacing
public float getSpacing()(Code)
Gets the cellspacing. a value



getWidth
public float getWidth()(Code)
Gets the table width (a percentage). the table width



getWidths
public float[] getWidths(float left, float totalWidth)(Code)
Gets an array with the positions of the borders between every column.

This method translates the widths expressed in percentages into the x-coordinate of the borders of the columns on a real document.
Parameters:
  left - this is the position of the first border at the left (cellpadding not included)
Parameters:
  totalWidth - this is the space between the first border at the leftand the last border at the right (cellpadding not included) an array with borderpositions




insertTable
public void insertTable(Table aTable)(Code)
To put a table within the existing table at the current position generateTable will of course re-arrange the widths of the columns.
Parameters:
  aTable - the table you want to insert



insertTable
public void insertTable(Table aTable, int row, int column)(Code)
To put a table within the existing table at the given position generateTable will of course re-arrange the widths of the columns.
Parameters:
  aTable - The Table to add
Parameters:
  row - The row where the Cell will be added
Parameters:
  column - The column where the Cell will be added



insertTable
public void insertTable(Table aTable, Point aLocation)(Code)
To put a table within the existing table at the given position generateTable will of course re-arrange the widths of the columns.
Parameters:
  aTable - the table you want to insert
Parameters:
  aLocation - a Point



isCellsFitPage
public boolean isCellsFitPage()(Code)
Checks if the cells of this Table have to fit a page. true if the cells may not be split



isConvert2pdfptable
public boolean isConvert2pdfptable()(Code)
Method to check if the Table should be converted to a PdfPTable or not. false if the table should be handled the oldfashioned way.



isLocked
public boolean isLocked()(Code)
the locked



isTableFitsPage
public boolean isTableFitsPage()(Code)
Checks if this Table has to fit a page. true if the table may not be split



iterator
public Iterator iterator()(Code)
Gets an Iterator of all the Rows. an Iterator



lastHeaderRow
public int lastHeaderRow()(Code)
Gets the last number of the rows that contain headers. a rownumberTable.getLastHeaderRow()



process
public boolean process(ElementListener listener)(Code)
Processes the element by adding it (or the different parts) to an ElementListener.
Parameters:
  listener - an ElementListener true if the element was processed successfully



setAbsWidth
public void setAbsWidth(String width)(Code)
Sets the width of this table (in percentage of the available space).
Parameters:
  width - the width



setAlignment
public void setAlignment(int value)(Code)
Sets the horizontal alignment.
Parameters:
  value - the new value



setAlignment
public void setAlignment(String alignment)(Code)
Sets the alignment of this paragraph.
Parameters:
  alignment - the new alignment as a String



setAutoFillEmptyCells
public void setAutoFillEmptyCells(boolean aDoAutoFill)(Code)
Enables/disables automatic insertion of empty cells before table is rendered. (default = false) As some people may want to create a table, fill only a couple of the cells and don't bother with investigating which empty ones need to be added, this default behaviour may be very welcome. Disabling is recommended to increase speed. (empty cells should be added through extra code then)
Parameters:
  aDoAutoFill - enable/disable autofill



setCellsFitPage
public void setCellsFitPage(boolean fitPage)(Code)
Allows you to control when a page break occurs.

When a cell doesn't fit a page, it is split in two parts. If you want to avoid this, you should set the cellsFitPage value to true.
Parameters:
  fitPage - enter true if you don't want to split cells




setConvert2pdfptable
public void setConvert2pdfptable(boolean convert2pdfptable)(Code)
If set to true, iText will try to convert the Table to a PdfPTable.
Parameters:
  convert2pdfptable - true if you want iText to try to convert the Table to a PdfPTable



setDefaultCellBackgroundColor
public void setDefaultCellBackgroundColor(Color color)(Code)
Changes the backgroundcolor in the default layout of the Cells added with method addCell(String content).
Parameters:
  color - the new color



setDefaultCellBorder
public void setDefaultCellBorder(int value)(Code)
Changes the border in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new border value



setDefaultCellBorderColor
public void setDefaultCellBorderColor(Color color)(Code)
Changes the bordercolor in the default layout of the Cells added with method addCell(String content).
Parameters:
  color - the new color



setDefaultCellBorderWidth
public void setDefaultCellBorderWidth(float value)(Code)
Changes the width of the borders in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new width



setDefaultCellGrayFill
public void setDefaultCellGrayFill(float value)(Code)
Changes the grayfill in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new value



setDefaultColspan
public void setDefaultColspan(int value)(Code)
Changes the colspan in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new colspan value



setDefaultHorizontalAlignment
public void setDefaultHorizontalAlignment(int value)(Code)
Changes the horizontalAlignment in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new alignment value



setDefaultLayout
public void setDefaultLayout(Cell value)(Code)
Sets the default layout of the Table to the provided Cell
Parameters:
  value - a cell with all the defaults



setDefaultRowspan
public void setDefaultRowspan(int value)(Code)
Changes the rowspan in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new rowspan value



setDefaultVerticalAlignment
public void setDefaultVerticalAlignment(int value)(Code)
Changes the verticalAlignment in the default layout of the Cells added with method addCell(String content).
Parameters:
  value - the new alignment value



setLastHeaderRow
public void setLastHeaderRow(int value)(Code)
Sets the horizontal alignment.
Parameters:
  value - the new value



setLocked
public void setLocked(boolean locked)(Code)

Parameters:
  locked - the locked to set



setOffset
public void setOffset(float offset)(Code)
Sets the offset of this table. Normally a newline is added before you add a Table object. This newline uses the current leading. If you want to control the space between the table and the previous element yourself, you have to set the offset of this table.
Parameters:
  offset - the space between this table and the previous object.



setPadding
public void setPadding(float value)(Code)
Sets the cellpadding.
Parameters:
  value - the new value



setSpaceBetweenCells
public void setSpaceBetweenCells(float value)(Code)
Sets the cellspacing.
Parameters:
  value - the new value



setSpaceInsideCell
public void setSpaceInsideCell(float value)(Code)
Sets the cellpadding.
Parameters:
  value - the new value



setSpacing
public void setSpacing(float value)(Code)
Sets the cellspacing.
Parameters:
  value - the new value



setTableFitsPage
public void setTableFitsPage(boolean fitPage)(Code)
Allows you to control when a page break occurs.

When a table doesn't fit a page, it is split in two parts. If you want to avoid this, you should set the tableFitsPage value to true.
Parameters:
  fitPage - enter true if you don't want to split cells




setWidth
public void setWidth(float width)(Code)
Sets the width of this table (in percentage of the available space).
Parameters:
  width - the width



setWidths
public void setWidths(float[] widths) throws BadElementException(Code)
Sets the widths of the different columns (percentages).

You can give up relative values of borderwidths. The sum of these values will be considered 100%. The values will be recalculated as percentages of this sum.

example:

 float[] widths = {2, 1, 1};
 table.setWidths(widths)
 
The widths will be: a width of 50% for the first column, 25% for the second and third column.
Parameters:
  widths - an array with values
throws:
  BadElementException -



setWidths
public void setWidths(int[] widths) throws DocumentException(Code)
Sets the widths of the different columns (percentages).

You can give up relative values of borderwidths. The sum of these values will be considered 100%. The values will be recalculated as percentages of this sum.
Parameters:
  widths - an array with values
throws:
  DocumentException -




size
public int size()(Code)
Gets the number of rows in this Table. the number of rows in this Table



type
public int type()(Code)
Gets the type of the text element. a type



widthPercentage
public float widthPercentage()(Code)
Gets the table width (a percentage). the table widthTable.getWidth()



Fields inherited from com.lowagie.text.Rectangle
final public static int BOTTOM(Code)(Java Doc)
final public static int BOX(Code)(Java Doc)
final public static int LEFT(Code)(Java Doc)
final public static int NO_BORDER(Code)(Java Doc)
final public static int RIGHT(Code)(Java Doc)
final public static int TOP(Code)(Java Doc)
final public static int UNDEFINED(Code)(Java Doc)
protected Color backgroundColor(Code)(Java Doc)
protected int border(Code)(Java Doc)
protected Color borderColor(Code)(Java Doc)
protected Color borderColorBottom(Code)(Java Doc)
protected Color borderColorLeft(Code)(Java Doc)
protected Color borderColorRight(Code)(Java Doc)
protected Color borderColorTop(Code)(Java Doc)
protected float borderWidth(Code)(Java Doc)
protected float borderWidthBottom(Code)(Java Doc)
protected float borderWidthLeft(Code)(Java Doc)
protected float borderWidthRight(Code)(Java Doc)
protected float borderWidthTop(Code)(Java Doc)
protected float llx(Code)(Java Doc)
protected float lly(Code)(Java Doc)
protected int rotation(Code)(Java Doc)
protected float urx(Code)(Java Doc)
protected float ury(Code)(Java Doc)
protected boolean useVariableBorders(Code)(Java Doc)

Methods inherited from com.lowagie.text.Rectangle
public Color backgroundColor()(Code)(Java Doc)
public int border()(Code)(Java Doc)
public Color borderColor()(Code)(Java Doc)
public float borderWidth()(Code)(Java Doc)
public float bottom()(Code)(Java Doc)
public float bottom(float margin)(Code)(Java Doc)
public void cloneNonPositionParameters(Rectangle rect)(Code)(Java Doc)
public void disableBorderSide(int side)(Code)(Java Doc)
public void enableBorderSide(int side)(Code)(Java Doc)
public Color getBackgroundColor()(Code)(Java Doc)
public int getBorder()(Code)(Java Doc)
public Color getBorderColor()(Code)(Java Doc)
public Color getBorderColorBottom()(Code)(Java Doc)
public Color getBorderColorLeft()(Code)(Java Doc)
public Color getBorderColorRight()(Code)(Java Doc)
public Color getBorderColorTop()(Code)(Java Doc)
public float getBorderWidth()(Code)(Java Doc)
public float getBorderWidthBottom()(Code)(Java Doc)
public float getBorderWidthLeft()(Code)(Java Doc)
public float getBorderWidthRight()(Code)(Java Doc)
public float getBorderWidthTop()(Code)(Java Doc)
public float getBottom()(Code)(Java Doc)
public float getBottom(float margin)(Code)(Java Doc)
public ArrayList getChunks()(Code)(Java Doc)
public float getGrayFill()(Code)(Java Doc)
public float getHeight()(Code)(Java Doc)
public float getLeft()(Code)(Java Doc)
public float getLeft(float margin)(Code)(Java Doc)
public float getRight()(Code)(Java Doc)
public float getRight(float margin)(Code)(Java Doc)
public int getRotation()(Code)(Java Doc)
public float getTop()(Code)(Java Doc)
public float getTop(float margin)(Code)(Java Doc)
public float getWidth()(Code)(Java Doc)
public float grayFill()(Code)(Java Doc)
public boolean hasBorder(int type)(Code)(Java Doc)
public boolean hasBorders()(Code)(Java Doc)
public float height()(Code)(Java Doc)
public boolean isUseVariableBorders()(Code)(Java Doc)
public float left()(Code)(Java Doc)
public float left(float margin)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public boolean process(ElementListener listener)(Code)(Java Doc)
public Rectangle rectangle(float top, float bottom)(Code)(Java Doc)
public float right()(Code)(Java Doc)
public float right(float margin)(Code)(Java Doc)
public Rectangle rotate()(Code)(Java Doc)
public void setBackgroundColor(Color value)(Code)(Java Doc)
public void setBorder(int value)(Code)(Java Doc)
public void setBorderColor(Color value)(Code)(Java Doc)
public void setBorderColorBottom(Color value)(Code)(Java Doc)
public void setBorderColorLeft(Color value)(Code)(Java Doc)
public void setBorderColorRight(Color value)(Code)(Java Doc)
public void setBorderColorTop(Color value)(Code)(Java Doc)
public void setBorderWidth(float value)(Code)(Java Doc)
public void setBorderWidthBottom(float borderWidthBottom)(Code)(Java Doc)
public void setBorderWidthLeft(float borderWidthLeft)(Code)(Java Doc)
public void setBorderWidthRight(float borderWidthRight)(Code)(Java Doc)
public void setBorderWidthTop(float borderWidthTop)(Code)(Java Doc)
public void setBottom(float value)(Code)(Java Doc)
public void setGrayFill(float value)(Code)(Java Doc)
public void setLeft(float value)(Code)(Java Doc)
public void setRight(float value)(Code)(Java Doc)
public void setTop(float value)(Code)(Java Doc)
public void setUseVariableBorders(boolean useVariableBorders)(Code)(Java Doc)
public void softCloneNonPositionParameters(Rectangle rect)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public float top()(Code)(Java Doc)
public float top(float margin)(Code)(Java Doc)
public int type()(Code)(Java Doc)
public float width()(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.