📄 row.html
字号:
Gets all the chunks in this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#getElementID(int)">getElementID</A></B>(int column)</CODE>
<BR>
Returns the type-id of the element in a Row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#getMarkupAttribute(java.lang.String)">getMarkupAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name)</CODE>
<BR>
Returns the value of the specified attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#getMarkupAttributeNames()">getMarkupAttributeNames</A></B>()</CODE>
<BR>
Returns a <CODE>Set</CODE> of <CODE>String</CODE> attribute names for the <CODE>MarkupAttributes</CODE> implementor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#getMarkupAttributes()">getMarkupAttributes</A></B>()</CODE>
<BR>
Return a <CODE>Properties</CODE>-object containing all the markupAttributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#getObjectID(java.lang.Object)">getObjectID</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> element)</CODE>
<BR>
Returns the type-id of an Object.</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#horizontalAlignment()">horizontalAlignment</A></B>()</CODE>
<BR>
Gets the horizontal alignment.</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#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>(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>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#isTag(java.lang.String)">isTag</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> tag)</CODE>
<BR>
Checks if a given tag corresponds with this object.</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">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.3/docs/api/java/lang/Object.html">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> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#setMarkupAttribute(java.lang.String, java.lang.String)">setMarkupAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> value)</CODE>
<BR>
Sets the specified attribute.</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#setMarkupAttributes(java.util.Properties)">setMarkupAttributes</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> markupAttributes)</CODE>
<BR>
Sets the markupAttributes.</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#setVerticalAlignment(int)">setVerticalAlignment</A></B>(int value)</CODE>
<BR>
Sets the vertical 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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Row.html#validPosition()">validPosition</A></B>()</CODE>
<BR>
Gets the index of the current, valid position</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#verticalAlignment()">verticalAlignment</A></B>()</CODE>
<BR>
Gets the vertical alignment.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.lowagie.text.Element"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface com.lowagie.text.<A HREF="../../../com/lowagie/text/Element.html">Element</A></B></TD>
</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" 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="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.3/docs/api/java/lang/Object.html">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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -