📄 jcotable.html
字号:
<PRE>
boolean <B>nextRow</B>()</PRE>
<DL>
<DD>Moves the row pointer to the next row. Used to loop through table rows, e.g.<BR> <pre><tt> if (table.getNumRows() > 0) { table.firstRow(); do { ... while(table.nextRow()); } </tt></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><tt>false</tt> if at the end of record, <tt>true</tt> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="previousRow()"><!-- --></A><H3>
previousRow</H3>
<PRE>
boolean <B>previousRow</B>()</PRE>
<DL>
<DD>Moves the row pointer to the previous row. Used to loop through table rows, e.g.<BR> <pre><tt> if (table.getNumRows() > 0) { table.lastRow() do { ... while(table.previousRow()); } </tt></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><tt>false</tt> if at the beginning of record, <tt>true</tt> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="getRow()"><!-- --></A><H3>
getRow</H3>
<PRE>
int <B>getRow</B>()</PRE>
<DL>
<DD>Returns the current row number. The first row number is 0, the second is 1, and so on.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the current row number</DL>
</DD>
</DL>
<HR>
<A NAME="setRow(int)"><!-- --></A><H3>
setRow</H3>
<PRE>
void <B>setRow</B>(int pos)</PRE>
<DL>
<DD>Sets the row pointer to the specified position. The first row is 0, the second 0, and so on. Most likely to be used to loop through table rows, e.g.<BR> <pre><tt> int numRows = table.getNumRows(); for (int irow = 0; i < numRows; irow++) { table.setRow(irow); .... } </tt></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the position to set the row pointer to</DL>
</DD>
</DL>
<HR>
<A NAME="appendRow()"><!-- --></A><H3>
appendRow</H3>
<PRE>
void <B>appendRow</B>()</PRE>
<DL>
<DD>Appends a new row at the end of the table and moves the row pointer such that it points to the newly appended row.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="appendRows(int)"><!-- --></A><H3>
appendRows</H3>
<PRE>
void <B>appendRows</B>(int numRows)</PRE>
<DL>
<DD>Appends the specified number of empty rows at the end of the table. The row pointer will be positioned at the first newly added row.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>numRows</CODE> - the number of empty rows to append</DL>
</DD>
</DL>
<HR>
<A NAME="insertRow(int)"><!-- --></A><H3>
insertRow</H3>
<PRE>
void <B>insertRow</B>(int pos)</PRE>
<DL>
<DD>Inserts a new empty row before the specified position
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the index of the row <em>before</em> to insert the new row</DL>
</DD>
</DL>
<HR>
<A NAME="deleteRow()"><!-- --></A><H3>
deleteRow</H3>
<PRE>
void <B>deleteRow</B>()</PRE>
<DL>
<DD>Deletes the current row<br> <em>Note:</em>The row pointer will be left untouched unless it would point to a row that would have become invalid due to the deletion operation. In this case the row pointer will be repositioned to the row at <tt>(getNumRows() - 1)</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="deleteRow(int)"><!-- --></A><H3>
deleteRow</H3>
<PRE>
void <B>deleteRow</B>(int pos)</PRE>
<DL>
<DD>Deletes the row at the specified position.<br> <em>Note:</em>The row pointer will be left untouched unless it would point to a row that would have become invalid due to deletion. In this case the row pointer will be repositioned to the row at <tt>(getNumRows() - 1)</tt>. <br/>Example:<br/> If the row pointer points to row 10, it will still point to row 10 after the delete operation, even if a row with pos < 10 was deleted.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the index of the row to delete</DL>
</DD>
</DL>
<HR>
<A NAME="getRecordFieldIterator()"><!-- --></A><H3>
getRecordFieldIterator</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/JCoRecordFieldIterator.html" title="interface in com.sap.conn.jco">JCoRecordFieldIterator</A> <B>getRecordFieldIterator</B>()</PRE>
<DL>
<DD>Returns an iterator over JCoRecordField
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>JCoRecordFieldIterator instance<DT><B>See Also:</B><DD><A HREF="../../../../com/sap/conn/jco/JCoRecord.html#iterator()"><CODE>JCoRecord.iterator()</CODE></A></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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JCoTable.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/sap/conn/jco/JCoStructure.html" title="interface in com.sap.conn.jco"><B>PREV CLASS</B></A>
<A HREF="../../../../com/sap/conn/jco/JCoThroughput.html" title="interface in com.sap.conn.jco"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/sap/conn/jco/JCoTable.html" target="_top"><B>FRAMES</B></A>
<A HREF="JCoTable.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2008 SAP AG. All Rights Reserved.</i>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -