org.w3c.dom.html.HTMLTableRowElement Maven / Gradle / Ivy
// Copyright (c) 1998 by W3C
//
// DOM is a trademark of W3C
// The DOM level 1 specification, from which this
// source is derived, is copyright by W3C.
// See: http://www.w3.org/TR/REC-DOM-Level-1/
//
package org.w3c.dom.html;
import org.w3c.dom.*;
/**
A row in a table. See the
TR element definition
in HTML 4.0.
Property Summary
rowIndex
getRowIndex
setRowIndex
The index of this row, relative to the entire table.
sectionRowIndex
getSectionRowIndex
setSectionRowIndex
The index of this row, relative to the current section (
THEAD
,
TFOOT
, or
TBODY
).
cells
getCells
setCells
The collection of cells in this row.
align
getAlign
setAlign
Horizontal alignment of data within cells of this row. See the
align attribute definition
in HTML 4.0.
bgColor
getBgColor
setBgColor
Background color for rows. See the
bgcolor attribute definition
in HTML 4.0. This attribute is deprecated in HTML 4.0.
ch
getCh
setCh
Alignment character for cells in a column. See the
char attribute definition
in HTML 4.0.
chOff
getChOff
setChOff
Offset of alignment character. See the
charoff attribute definition
in HTML 4.0.
vAlign
getVAlign
setVAlign
Vertical alignment of data within cells of this row. See the
valign attribute definition
in HTML 4.0.
*/
public interface HTMLTableRowElement
extends HTMLElement
{
/** Assigns the value of the rowIndex
property.
*/
void setRowIndex (int rowIndex);
/**
* Returns the value of the rowIndex
property.
*/
int getRowIndex ();
/** Assigns the value of the sectionRowIndex
property.
*/
void setSectionRowIndex (int sectionRowIndex);
/**
* Returns the value of the sectionRowIndex
property.
*/
int getSectionRowIndex ();
/** Assigns the value of the cells
property.
*/
void setCells (HTMLCollection cells);
/**
* Returns the value of the cells
property.
*/
HTMLCollection getCells ();
/** Assigns the value of the align
property.
*/
void setAlign (String align);
/**
* Returns the value of the align
property.
*/
String getAlign ();
/** Assigns the value of the bgColor
property.
*/
void setBgColor (String bgColor);
/**
* Returns the value of the bgColor
property.
*/
String getBgColor ();
/** Assigns the value of the ch
property.
*/
void setCh (String ch);
/**
* Returns the value of the ch
property.
*/
String getCh ();
/** Assigns the value of the chOff
property.
*/
void setChOff (String chOff);
/**
* Returns the value of the chOff
property.
*/
String getChOff ();
/** Assigns the value of the vAlign
property.
*/
void setVAlign (String vAlign);
/**
* Returns the value of the vAlign
property.
*/
String getVAlign ();
/**
Insert an empty
TD
cell into this row.
@return The newly created cell.
@param index
The place to insert the cell.
*/
HTMLElement insertCell (int index);
/**
Delete a cell from the current row.
@param index
The index of the cell to delete.
*/
void deleteCell (int index);
}