?? pdfptable.html
字號:
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="BASECANVAS"><!-- --></A><H3>
BASECANVAS</H3>
<PRE>
public static final int <B>BASECANVAS</B></PRE>
<DL>
<DD>The index of the original <CODE>PdfcontentByte</CODE>.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPTable.BASECANVAS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="BACKGROUNDCANVAS"><!-- --></A><H3>
BACKGROUNDCANVAS</H3>
<PRE>
public static final int <B>BACKGROUNDCANVAS</B></PRE>
<DL>
<DD>The index of the duplicate <CODE>PdfContentByte</CODE> where the backgroung will be drawn.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPTable.BACKGROUNDCANVAS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LINECANVAS"><!-- --></A><H3>
LINECANVAS</H3>
<PRE>
public static final int <B>LINECANVAS</B></PRE>
<DL>
<DD>The index of the duplicate <CODE>PdfContentByte</CODE> where the border lines will be drawn.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPTable.LINECANVAS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TEXTCANVAS"><!-- --></A><H3>
TEXTCANVAS</H3>
<PRE>
public static final int <B>TEXTCANVAS</B></PRE>
<DL>
<DD>The index of the duplicate <CODE>PdfContentByte</CODE> where the text will be drawn.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPTable.TEXTCANVAS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="rows"><!-- --></A><H3>
rows</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>rows</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="totalHeight"><!-- --></A><H3>
totalHeight</H3>
<PRE>
protected float <B>totalHeight</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="currentRow"><!-- --></A><H3>
currentRow</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html">PdfPCell</A>[] <B>currentRow</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="currentRowIdx"><!-- --></A><H3>
currentRowIdx</H3>
<PRE>
protected int <B>currentRowIdx</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="defaultCell"><!-- --></A><H3>
defaultCell</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html">PdfPCell</A> <B>defaultCell</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="totalWidth"><!-- --></A><H3>
totalWidth</H3>
<PRE>
protected float <B>totalWidth</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="relativeWidths"><!-- --></A><H3>
relativeWidths</H3>
<PRE>
protected float[] <B>relativeWidths</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="absoluteWidths"><!-- --></A><H3>
absoluteWidths</H3>
<PRE>
protected float[] <B>absoluteWidths</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="tableEvent"><!-- --></A><H3>
tableEvent</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfPTableEvent.html">PdfPTableEvent</A> <B>tableEvent</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="headerRows"><!-- --></A><H3>
headerRows</H3>
<PRE>
protected int <B>headerRows</B></PRE>
<DL>
<DD>Holds value of property headerRows.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="widthPercentage"><!-- --></A><H3>
widthPercentage</H3>
<PRE>
protected float <B>widthPercentage</B></PRE>
<DL>
<DD>Holds value of property widthPercentage.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="horizontalAlignment"><!-- --></A><H3>
horizontalAlignment</H3>
<PRE>
private int <B>horizontalAlignment</B></PRE>
<DL>
<DD>Holds value of property horizontalAlignment.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="skipFirstHeader"><!-- --></A><H3>
skipFirstHeader</H3>
<PRE>
private boolean <B>skipFirstHeader</B></PRE>
<DL>
<DD>Holds value of property skipFirstHeader.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="isColspan"><!-- --></A><H3>
isColspan</H3>
<PRE>
protected boolean <B>isColspan</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="runDirection"><!-- --></A><H3>
runDirection</H3>
<PRE>
protected int <B>runDirection</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="PdfPTable(float[])"><!-- --></A><H3>
PdfPTable</H3>
<PRE>
public <B>PdfPTable</B>(float[] relativeWidths)</PRE>
<DL>
<DD>Constructs a <CODE>PdfPTable</CODE> with the relative column widths.
<P>
<DT><B>Parameters:</B><DD><CODE>relativeWidths</CODE> - the relative column widths</DL>
<HR>
<A NAME="PdfPTable(int)"><!-- --></A><H3>
PdfPTable</H3>
<PRE>
public <B>PdfPTable</B>(int numColumns)</PRE>
<DL>
<DD>Constructs a <CODE>PdfPTable</CODE> with <CODE>numColumns</CODE> columns.
<P>
<DT><B>Parameters:</B><DD><CODE>numColumns</CODE> - the number of columns</DL>
<HR>
<A NAME="PdfPTable(com.lowagie.text.pdf.PdfPTable)"><!-- --></A><H3>
PdfPTable</H3>
<PRE>
public <B>PdfPTable</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPTable.html">PdfPTable</A> table)</PRE>
<DL>
<DD>Constructs a copy of a <CODE>PdfPTable</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>table</CODE> - the <CODE>PdfPTable</CODE> to be copied</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setWidths(float[])"><!-- --></A><H3>
setWidths</H3>
<PRE>
public void <B>setWidths</B>(float[] relativeWidths) throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Sets the relative widths of the table.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>relativeWidths</CODE> - the relative widths of the table.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - if the number of widths is different than tne number of columns</DL>
</DD>
</DL>
<HR>
<A NAME="setWidths(int[])"><!-- --></A><H3>
setWidths</H3>
<PRE>
public void <B>setWidths</B>(int[] relativeWidths) throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Sets the relative widths of the table.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>relativeWidths</CODE> - the relative widths of the table.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - if the number of widths is different than tne number of columns</DL>
</DD>
</DL>
<HR>
<A NAME="calculateWidths()"><!-- --></A><H3>
calculateWidths</H3>
<PRE>
private void <B>calculateWidths</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setTotalWidth(float)"><!-- --></A><H3>
setTotalWidth</H3>
<PRE>
public void <B>setTotalWidth</B>(float totalWidth)</PRE>
<DL>
<DD>Sets the full width of the table.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>totalWidth</CODE> - the full width of the table.</DL>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -