📄 simplecell.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/SimpleCell.html#setUseBorderPadding(boolean)">setUseBorderPadding</A></B>(boolean useBorderPadding)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/SimpleCell.html#setUseDescender(boolean)">setUseDescender</A></B>(boolean useDescender)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/SimpleCell.html#setVerticalAlignment(int)">setVerticalAlignment</A></B>(int verticalAlignment)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/SimpleCell.html#setWidth(float)">setWidth</A></B>(float width)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/SimpleCell.html#setWidthpercentage(float)">setWidthpercentage</A></B>(float widthpercentage)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/SimpleCell.html#type()">type</A></B>()</CODE><BR> Gets the type of the text element.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.lowagie.text.Rectangle"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.lowagie.text.<A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../com/lowagie/text/Rectangle.html#cloneNonPositionParameters(com.lowagie.text.Rectangle)">cloneNonPositionParameters</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#disableBorderSide(int)">disableBorderSide</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#enableBorderSide(int)">enableBorderSide</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBackgroundColor()">getBackgroundColor</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorder()">getBorder</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderColor()">getBorderColor</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderColorBottom()">getBorderColorBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderColorLeft()">getBorderColorLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderColorRight()">getBorderColorRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderColorTop()">getBorderColorTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderWidth()">getBorderWidth</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderWidthBottom()">getBorderWidthBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderWidthLeft()">getBorderWidthLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderWidthRight()">getBorderWidthRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBorderWidthTop()">getBorderWidthTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBottom()">getBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getBottom(float)">getBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getChunks()">getChunks</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getGrayFill()">getGrayFill</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getHeight()">getHeight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getLeft()">getLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getLeft(float)">getLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getRight()">getRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getRight(float)">getRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getRotation()">getRotation</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getTop()">getTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#getTop(float)">getTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#hasBorder(int)">hasBorder</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#hasBorders()">hasBorders</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#isContent()">isContent</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#isNestable()">isNestable</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#isUseVariableBorders()">isUseVariableBorders</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#normalize()">normalize</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#process(com.lowagie.text.ElementListener)">process</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#rectangle(float, float)">rectangle</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#rotate()">rotate</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBackgroundColor(java.awt.Color)">setBackgroundColor</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorder(int)">setBorder</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderColor(java.awt.Color)">setBorderColor</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderColorBottom(java.awt.Color)">setBorderColorBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderColorLeft(java.awt.Color)">setBorderColorLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderColorRight(java.awt.Color)">setBorderColorRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderColorTop(java.awt.Color)">setBorderColorTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderWidth(float)">setBorderWidth</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderWidthBottom(float)">setBorderWidthBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderWidthLeft(float)">setBorderWidthLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderWidthRight(float)">setBorderWidthRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBorderWidthTop(float)">setBorderWidthTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setBottom(float)">setBottom</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setGrayFill(float)">setGrayFill</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setLeft(float)">setLeft</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setRight(float)">setRight</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setTop(float)">setTop</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#setUseVariableBorders(boolean)">setUseVariableBorders</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#softCloneNonPositionParameters(com.lowagie.text.Rectangle)">softCloneNonPositionParameters</A>, <A HREF="../../../com/lowagie/text/Rectangle.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.lowagie.text.Element"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.lowagie.text.<A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../com/lowagie/text/Element.html#getChunks()">getChunks</A>, <A HREF="../../../com/lowagie/text/Element.html#isContent()">isContent</A>, <A HREF="../../../com/lowagie/text/Element.html#isNestable()">isNestable</A>, <A HREF="../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">process</A>, <A HREF="../../../com/lowagie/text/Element.html#toString()">toString</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="ROW"><!-- --></A><H3>ROW</H3><PRE>public static final boolean <B>ROW</B></PRE><DL><DD>the CellAttributes object represents a row.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.SimpleCell.ROW">Constant Field Values</A></DL></DL><HR><A NAME="CELL"><!-- --></A><H3>CELL</H3><PRE>public static final boolean <B>CELL</B></PRE><DL><DD>the CellAttributes object represents a cell.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.SimpleCell.CELL">Constant Field Values</A></DL></DL><HR><A NAME="content"><!-- --></A><H3>content</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>content</B></PRE><DL><DD>the content of the Cell.<P><DL></DL></DL><HR><A NAME="width"><!-- --></A><H3>width</H3><PRE>private float <B>width</B></PRE><DL><DD>the width of the Cell.<P><DL></DL></DL><HR><A NAME="widthpercentage"><!-- --></A><H3>widthpercentage</H3><PRE>private float <B>widthpercentage</B></PRE><DL><DD>the widthpercentage of the Cell.<P><DL></DL></DL><HR><A NAME="spacing_left"><!-- --></A><H3>spacing_left</H3><PRE>private float <B>spacing_left</B></PRE><DL><DD>an extra spacing variable<P><DL></DL></DL><HR><A NAME="spacing_right"><!-- --></A><H3>spacing_right</H3><PRE>private float <B>spacing_right</B></PRE><DL><DD>an extra spacing variable<P><DL></DL></DL><HR><A NAME="spacing_top"><!-- --></A><H3>spacing_top</H3><PRE>private float <B>spacing_top</B></PRE><DL><DD>an extra spacing variable<P><DL></DL></DL><HR><A NAME="spacing_bottom"><!-- --></A><H3>spacing_bottom</H3><PRE>private float <B>spacing_bottom</B></PRE><DL><DD>an extra spacing variable<P><DL></DL></DL><HR><A NAME="padding_left"><!-- --></A><H3>padding_left</H3><PRE>private float <B>padding_left</B></PRE><DL><DD>an extra padding variable<P><DL></DL></DL><HR><A NAME="padding_right"><!-- --></A><H3>padding_right</H3><PRE>private float <B>padding_right</B></PRE><DL><DD>an extra padding variable<P><DL></DL></DL><HR><A NAME="padding_top"><!-- --></A><H3>padding_top</H3><PRE>private float <B>padding_top</B></PRE><DL><DD>an extra padding variable<P><DL></DL></DL><HR><A NAME="padding_bottom"><!-- --></A><H3>padding_bottom</H3><PRE>private float <B>padding_bottom</B></PRE><DL><DD>an extra padding variable<P><DL></DL></DL><HR><A NAME="colspan"><!-- --></A><H3>colspan</H3><PRE>private int <B>colspan</B></PRE><DL><DD>the colspan of a Cell<P><DL></DL></DL><HR><A NAME="horizontalAlignment"><!-- --></A><H3>horizontalAlignment</H3><PRE>private int <B>horizontalAlignment</B></PRE><DL><DD>horizontal alignment inside the Cell.<P><DL></DL></DL><HR><A NAME="verticalAlignment"><!-- --></A><H3>verticalAlignment</H3><PRE>private int <B>verticalAlignment</B></PRE><DL><DD>vertical alignment inside the Cell.<P><DL></DL></DL><HR><A NAME="cellgroup"><!-- --></A><H3>cellgroup</H3><PRE>private boolean <B>cellgroup</B></PRE><DL><DD>indicates if these are the attributes of a single Cell (false) or a group of Cells (true).<P><DL></DL></DL><HR><A NAME="useAscender"><!-- --></A><H3>useAscender</H3><PRE>protected boolean <B>useAscender</B></PRE><DL><DD>Indicates that the largest ascender height should be used to determine the height of the first line. Note that this only has an effect when rendered to PDF. Setting this to true can help with vertical alignment problems.<P><DL></DL></DL><HR><A NAME="useDescender"><!-- --></A><H3>useDescender</H3><PRE>protected boolean <B>useDescender</B></PRE><DL><DD>Indicates that the largest descender height should be added to the height of the last line (so characters like y don't dip into the border). Note that this only has an effect when rendered to PDF.<P><DL></DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -