286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 286N/A * This code is free software; you can redistribute it and/or modify it 286N/A * under the terms of the GNU General Public License version 2 only, as 286N/A * published by the Free Software Foundation. Oracle designates this 286N/A * particular file as subject to the "Classpath" exception as provided 286N/A * by Oracle in the LICENSE file that accompanied this code. 286N/A * This code is distributed in the hope that it will be useful, but WITHOUT 286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 286N/A * version 2 for more details (a copy is included in the LICENSE file that 286N/A * accompanied this code). 286N/A * You should have received a copy of the GNU General Public License version 286N/A * 2 along with this work; if not, write to the Free Software Foundation, 286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 286N/A * or visit www.oracle.com if you need additional information or have any 286N/A * This file is available under and governed by the GNU General Public 286N/A * License version 2 only, as published by the Free Software Foundation. 286N/A * However, the following notice accompanied the original version of this 286N/A * file and, per its terms, should not be removed: 286N/A * Copyright (c) 2000 World Wide Web Consortium, 286N/A * (Massachusetts Institute of Technology, Institut National de 286N/A * Recherche en Informatique et en Automatique, Keio University). All 286N/A * Rights Reserved. This program is distributed under the W3C's Software 286N/A * Intellectual Property License. This program is distributed in the 286N/A * hope that it will be useful, but WITHOUT ANY WARRANTY; without even 286N/A * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 286N/A * The create* and delete* methods on the table allow authors to construct 286N/A * and modify tables. HTML 4.0 specifies that only one of each of the 286N/A * <code>CAPTION</code> , <code>THEAD</code> , and <code>TFOOT</code> 286N/A * elements may exist in a table. Therefore, if one exists, and the 286N/A * createTHead() or createTFoot() method is called, the method returns the 286N/A * existing THead or TFoot element. See the TABLE element definition in HTML 286N/A * Returns the table's <code>CAPTION</code> , or void if none exists. 286N/A * Returns the table's <code>THEAD</code> , or <code>null</code> if none 286N/A * Returns the table's <code>TFOOT</code> , or <code>null</code> if none 286N/A * Returns a collection of all the rows in the table, including all in 286N/A * <code>THEAD</code> , <code>TFOOT</code> , all <code>TBODY</code> 286N/A * Returns a collection of the defined table bodies. 286N/A * Specifies the table's position with respect to the rest of the 286N/A * document. See the align attribute definition in HTML 4.0. This 286N/A * attribute is deprecated in HTML 4.0. 286N/A * Cell background color. See the bgcolor attribute definition in HTML 286N/A * 4.0. This attribute is deprecated in HTML 4.0. 286N/A * The width of the border around the table. See the border attribute 286N/A * definition in HTML 4.0. 286N/A * Specifies the horizontal and vertical space between cell content and 286N/A * cell borders. See the cellpadding attribute definition in HTML 4.0. 286N/A * Specifies the horizontal and vertical separation between cells. See 286N/A * the cellspacing attribute definition in HTML 4.0. 286N/A * Specifies which external table borders to render. See the frame 286N/A * attribute definition in HTML 4.0. 286N/A * Specifies which internal table borders to render. See the rules 286N/A * attribute definition in HTML 4.0. 286N/A * Description about the purpose or structure of a table. See the 286N/A * summary attribute definition in HTML 4.0. 286N/A * Specifies the desired table width. See the width attribute definition 286N/A * Create a table header row or return an existing one. 286N/A * @return A new table header element (<code>THEAD</code> ). 286N/A * Delete the header from the table, if one exists. 286N/A * Create a table footer row or return an existing one. 286N/A * @return A footer element (<code>TFOOT</code> ). 286N/A * Delete the footer from the table, if one exists. 286N/A * Create a new table caption object or return an existing one. 286N/A * @return A <code>CAPTION</code> element. 286N/A * Delete the table caption, if one exists. 286N/A * Insert a new empty row in the table. The new row is inserted 286N/A * immediately before and in the same section as the current 286N/A * <code>index</code> th row in the table. If <code>index</code> is equal 286N/A * to the number of rows, the new row is appended. In addition, when the 286N/A * table is empty the row is inserted into a <code>TBODY</code> which is 286N/A * created and inserted into the table. Note. A table row cannot be empty 286N/A * according to HTML 4.0 Recommendation. 286N/A * @param index The row number where to insert a new row. This index 286N/A * starts from 0 and is relative to all the rows contained inside the 286N/A * table, regardless of section parentage. 286N/A * @return The newly created row. 286N/A * @exception DOMException 286N/A * INDEX_SIZE_ERR: Raised if the specified index is greater than the 286N/A * number of rows or if the index is negative. 286N/A * @param index The index of the row to be deleted. This index starts 286N/A * from 0 and is relative to all the rows contained inside the table, 286N/A * regardless of section parentage. 286N/A * @exception DOMException 286N/A * INDEX_SIZE_ERR: Raised if the specified index is greater than or 286N/A * equal to the number of rows or if the index is negative.