⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 row.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#isNestable()">isNestable</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 element can be nested inside other elements.<DT><B>Since:</B></DT>  <DD>iText 2.0.8</DD><DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/Element.html#isNestable()"><CODE>Element.isNestable()</CODE></A></DL></DD></DL><HR><A NAME="deleteColumn(int)"><!-- --></A><H3>deleteColumn</H3><PRE>void <B>deleteColumn</B>(int&nbsp;column)</PRE><DL><DD>Returns a <CODE>Row</CODE> that is a copy of this <CODE>Row</CODE> in which a certain column has been deleted.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the number of the column to delete</DL></DD></DL><HR><A NAME="addElement(java.lang.Object)"><!-- --></A><H3>addElement</H3><PRE>int <B>addElement</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>&nbsp;element)</PRE><DL><DD>Adds a <CODE>Cell</CODE> to the <CODE>Row</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - the element to add (currently only Cells and Tables supported)<DT><B>Returns:</B><DD>the column position the <CODE>Cell</CODE> was added,                      or <CODE>-1</CODE> if the <CODE>element</CODE> couldn't be added.</DL></DD></DL><HR><A NAME="addElement(java.lang.Object, int)"><!-- --></A><H3>addElement</H3><PRE>int <B>addElement</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>&nbsp;element,               int&nbsp;column)</PRE><DL><DD>Adds an element to the <CODE>Row</CODE> at the position given.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - the element to add. (currently only Cells and Tables supported<DD><CODE>column</CODE> - the position where to add the cell.<DT><B>Returns:</B><DD>the column position the <CODE>Cell</CODE> was added,                      or <CODE>-1</CODE> if the <CODE>Cell</CODE> couldn't be added.</DL></DD></DL><HR><A NAME="setElement(java.lang.Object, int)"><!-- --></A><H3>setElement</H3><PRE>void <B>setElement</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>&nbsp;aElement,                int&nbsp;column)</PRE><DL><DD>Puts <CODE>Cell</CODE> to the <CODE>Row</CODE> at the position given, doesn't reserve colspan.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>aElement</CODE> - the cell to add.<DD><CODE>column</CODE> - the position where to add the cell.</DL></DD></DL><HR><A NAME="reserve(int)"><!-- --></A><H3>reserve</H3><PRE>boolean <B>reserve</B>(int&nbsp;column)</PRE><DL><DD>Reserves a <CODE>Cell</CODE> in the <CODE>Row</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column that has to be reserved.<DT><B>Returns:</B><DD><CODE>true</CODE> if the column was reserved, <CODE>false</CODE> if not.</DL></DD></DL><HR><A NAME="reserve(int, int)"><!-- --></A><H3>reserve</H3><PRE>boolean <B>reserve</B>(int&nbsp;column,                int&nbsp;size)</PRE><DL><DD>Reserves a <CODE>Cell</CODE> in the <CODE>Row</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column that has to be reserved.<DD><CODE>size</CODE> - the number of columns<DT><B>Returns:</B><DD><CODE>true</CODE> if the column was reserved, <CODE>false</CODE> if not.</DL></DD></DL><HR><A NAME="isReserved(int)"><!-- --></A><H3>isReserved</H3><PRE>boolean <B>isReserved</B>(int&nbsp;column)</PRE><DL><DD>Returns true/false when this position in the <CODE>Row</CODE> has been reserved, either filled or through a colspan of an Element.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column.<DT><B>Returns:</B><DD><CODE>true</CODE> if the column was reserved, <CODE>false</CODE> if not.</DL></DD></DL><HR><A NAME="getElementID(int)"><!-- --></A><H3>getElementID</H3><PRE>int <B>getElementID</B>(int&nbsp;column)</PRE><DL><DD>Returns the type-id of the element in a Row.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column of which you'd like to know the type<DT><B>Returns:</B><DD>the type-id of the element in the row</DL></DD></DL><HR><A NAME="getObjectID(java.lang.Object)"><!-- --></A><H3>getObjectID</H3><PRE>int <B>getObjectID</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>&nbsp;element)</PRE><DL><DD>Returns the type-id of an Object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - the object of which you'd like to know the type-id, -1 if invalid<DT><B>Returns:</B><DD>the type-id of an object</DL></DD></DL><HR><A NAME="getCell(int)"><!-- --></A><H3>getCell</H3><PRE>public <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>getCell</B>(int&nbsp;column)</PRE><DL><DD>Gets a <CODE>Cell</CODE> or <CODE>Table</CODE> from a certain column.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column the <CODE>Cell/Table</CODE> is in.<DT><B>Returns:</B><DD>the <CODE>Cell</CODE>,<CODE>Table</CODE> or <VAR>Object</VAR> if the column was                  reserved or null if empty.</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Checks if the row is empty.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if none of the columns is reserved.</DL></DD></DL><HR><A NAME="getColumns()"><!-- --></A><H3>getColumns</H3><PRE>public int <B>getColumns</B>()</PRE><DL><DD>Gets the number of columns.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value</DL></DD></DL><HR><A NAME="setHorizontalAlignment(int)"><!-- --></A><H3>setHorizontalAlignment</H3><PRE>public void <B>setHorizontalAlignment</B>(int&nbsp;value)</PRE><DL><DD>Sets the horizontal alignment.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value</DL></DD></DL><HR><A NAME="getHorizontalAlignment()"><!-- --></A><H3>getHorizontalAlignment</H3><PRE>public int <B>getHorizontalAlignment</B>()</PRE><DL><DD>Gets the horizontal alignment.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../com/lowagie/text/RomanList.html" title="class in com.lowagie.text"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/lowagie/text/RtfElementInterface.html" title="interface in com.lowagie.text"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/lowagie/text/Row.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Row.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -