0N/A/*
2362N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
0N/A * published by the Free Software Foundation. Oracle designates this
2362N/A * particular file as subject to the "Classpath" exception as provided
0N/A * by Oracle in the LICENSE file that accompanied this code.
2362N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
0N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
2362N/A */
0N/A
0N/A/*
0N/A * This file is available under and governed by the GNU General Public
0N/A * License version 2 only, as published by the Free Software Foundation.
0N/A * However, the following notice accompanied the original version of this
0N/A * file and, per its terms, should not be removed:
0N/A *
0N/A * Copyright (c) 2000 World Wide Web Consortium,
0N/A * (Massachusetts Institute of Technology, Institut National de
0N/A * Recherche en Informatique et en Automatique, Keio University). All
0N/A * Rights Reserved. This program is distributed under the W3C's Software
0N/A * Intellectual Property License. This program is distributed in the
0N/A * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
0N/A * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0N/A * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
0N/A * details.
0N/A */
0N/A
0N/Apackage org.w3c.dom.html;
0N/A
0N/Aimport org.w3c.dom.DOMException;
0N/A
0N/A/**
0N/A * The <code>THEAD</code> , <code>TFOOT</code> , and <code>TBODY</code>
0N/A * elements.
0N/A * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
0N/A */
0N/Apublic interface HTMLTableSectionElement extends HTMLElement {
0N/A /**
0N/A * Horizontal alignment of data in cells. See the <code>align</code>
0N/A * attribute for HTMLTheadElement for details.
0N/A */
0N/A public String getAlign();
0N/A public void setAlign(String align);
0N/A
0N/A /**
0N/A * Alignment character for cells in a column. See the char attribute
0N/A * definition in HTML 4.0.
0N/A */
0N/A public String getCh();
0N/A public void setCh(String ch);
0N/A
0N/A /**
0N/A * Offset of alignment character. See the charoff attribute definition
0N/A * in HTML 4.0.
0N/A */
0N/A public String getChOff();
0N/A public void setChOff(String chOff);
0N/A
0N/A /**
0N/A * Vertical alignment of data in cells. See the <code>valign</code>
0N/A * attribute for HTMLTheadElement for details.
0N/A */
0N/A public String getVAlign();
0N/A public void setVAlign(String vAlign);
0N/A
0N/A /**
0N/A * The collection of rows in this table section.
0N/A */
0N/A public HTMLCollection getRows();
0N/A
0N/A /**
0N/A * Insert a row into this section. The new row is inserted immediately
0N/A * before the current <code>index</code> th row in this section. If
0N/A * <code>index</code> is equal to the number of rows in this section, the
0N/A * new row is appended.
0N/A * @param index The row number where to insert a new row. This index
0N/A * starts from 0 and is relative only to the rows contained inside this
0N/A * section, not all the rows in the table.
0N/A * @return The newly created row.
0N/A * @exception DOMException
0N/A * INDEX_SIZE_ERR: Raised if the specified index is greater than the
0N/A * number of rows of if the index is neagative.
0N/A */
0N/A public HTMLElement insertRow(int index)
0N/A throws DOMException;
0N/A
0N/A /**
0N/A * Delete a row from this section.
0N/A * @param index The index of the row to be deleted. This index starts
0N/A * from 0 and is relative only to the rows contained inside this
0N/A * section, not all the rows in the table.
0N/A * @exception DOMException
0N/A * INDEX_SIZE_ERR: Raised if the specified index is greater than or
* equal to the number of rows or if the index is negative.
*/
public void deleteRow(int index)
throws DOMException;
}