📄 row.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#isEmpty()">isEmpty</A></B>()</CODE><BR> Checks if the row is empty.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#isNestable()">isNestable</A></B>()</CODE><BR> Checks if this element is nestable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#isReserved(int)">isReserved</A></B>(int column)</CODE><BR> Returns true/false when this position in the <CODE>Row</CODE> has been reserved, either filled or through a colspan of an Element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#process(com.lowagie.text.ElementListener)">process</A></B>(<A HREF="../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A> listener)</CODE><BR> Processes the element by adding it (or the different parts) to a <CODE>ElementListener</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#reserve(int)">reserve</A></B>(int column)</CODE><BR> Reserves a <CODE>Cell</CODE> in the <CODE>Row</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#reserve(int, int)">reserve</A></B>(int column, int size)</CODE><BR> Reserves a <CODE>Cell</CODE> in the <CODE>Row</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#setElement(java.lang.Object, int)">setElement</A></B>(<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> aElement, int column)</CODE><BR> Puts <CODE>Cell</CODE> to the <CODE>Row</CODE> at the position given, doesn't reserve colspan.</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/Row.html#setHorizontalAlignment(int)">setHorizontalAlignment</A></B>(int value)</CODE><BR> Sets the horizontal alignment.</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/Row.html#type()">type</A></B>()</CODE><BR> Gets the type of the text element.</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#toString()" title="class or interface in java.lang">toString</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#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="NULL"><!-- --></A><H3>NULL</H3><PRE>public static final int <B>NULL</B></PRE><DL><DD>id of a null element in a Row<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Row.NULL">Constant Field Values</A></DL></DL><HR><A NAME="CELL"><!-- --></A><H3>CELL</H3><PRE>public static final int <B>CELL</B></PRE><DL><DD>id of the Cell element in a Row<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Row.CELL">Constant Field Values</A></DL></DL><HR><A NAME="TABLE"><!-- --></A><H3>TABLE</H3><PRE>public static final int <B>TABLE</B></PRE><DL><DD>id of the Table element in a Row<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Row.TABLE">Constant Field Values</A></DL></DL><HR><A NAME="columns"><!-- --></A><H3>columns</H3><PRE>protected int <B>columns</B></PRE><DL><DD>This is the number of columns in the <CODE>Row</CODE>.<P><DL></DL></DL><HR><A NAME="currentColumn"><!-- --></A><H3>currentColumn</H3><PRE>protected int <B>currentColumn</B></PRE><DL><DD>This is a valid position the <CODE>Row</CODE>.<P><DL></DL></DL><HR><A NAME="reserved"><!-- --></A><H3>reserved</H3><PRE>protected boolean[] <B>reserved</B></PRE><DL><DD>This is the array that keeps track of reserved cells.<P><DL></DL></DL><HR><A NAME="cells"><!-- --></A><H3>cells</H3><PRE>protected <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>cells</B></PRE><DL><DD>This is the array of Objects (<CODE>Cell</CODE> or <CODE>Table</CODE>).<P><DL></DL></DL><HR><A NAME="horizontalAlignment"><!-- --></A><H3>horizontalAlignment</H3><PRE>protected int <B>horizontalAlignment</B></PRE><DL><DD>This is the vertical alignment.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Row(int)"><!-- --></A><H3>Row</H3><PRE>protected <B>Row</B>(int columns)</PRE><DL><DD>Constructs a <CODE>Row</CODE> with a certain number of <VAR>columns</VAR>.<P><DL><DT><B>Parameters:</B><DD><CODE>columns</CODE> - a number of columns</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="process(com.lowagie.text.ElementListener)"><!-- --></A><H3>process</H3><PRE>public boolean <B>process</B>(<A HREF="../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A> listener)</PRE><DL><DD>Processes the element by adding it (or the different parts) to a <CODE>ElementListener</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">process</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - an <CODE>ElementListener</CODE><DT><B>Returns:</B><DD><CODE>true</CODE> if the element was processed successfully</DL></DD></DL><HR><A NAME="type()"><!-- --></A><H3>type</H3><PRE>public int <B>type</B>()</PRE><DL><DD>Gets the type of the text element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#type()">type</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a type</DL></DD></DL><HR><A NAME="getChunks()"><!-- --></A><H3>getChunks</H3><PRE>public <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>getChunks</B>()</PRE><DL><DD>Gets all the chunks in this element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#getChunks()">getChunks</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <CODE>ArrayList</CODE></DL></DD></DL><HR><A NAME="isContent()"><!-- --></A><H3>isContent</H3><PRE>public boolean <B>isContent</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/Element.html#isContent()">Element</A></CODE></B></DD><DD>Checks if this element is a content object. If not, it's a metadata object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#isContent()">isContent</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if this is a 'content' element; false if this is a 'metadata' element<DT><B>Since:</B></DT> <DD>iText 2.0.8</DD><DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/Element.html#isContent()"><CODE>Element.isContent()</CODE></A></DL></DD></DL><HR><A NAME="isNestable()"><!-- --></A><H3>isNestable</H3><PRE>public boolean <B>isNestable</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/Element.html#isNestable()">Element</A></CODE></B></DD><DD>Checks if this element is nestable.<P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -