Top Fields Constructors Methods
org.apache.html.dom

public Class HTMLTableRowElementImpl

extends HTMLElementImpl
implements HTMLTableRowElement
Class Inheritance
All Implemented Interfaces
org.w3c.dom.html.HTMLTableRowElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Element, org.w3c.dom.Node
Imports
org.w3c.dom.Node, .NodeList, org.w3c.dom.html.HTMLCollection, .HTMLElement, .HTMLTableCellElement, .HTMLTableElement, .HTMLTableRowElement, .HTMLTableSectionElement

Author
Assaf Arkin
Version
$Revision: 1029415 $ $Date: 2010-10-31 22:32:22 +0530 (Sun, 31 Oct 2010) $
See Also
org.w3c.dom.html.HTMLTableRowElement, org.apache.xerces.dom.ElementImpl

Field Summary

Modifier and TypeField and Description
pack-priv HTMLCollection
private static final long

Constructor Summary

AccessConstructor and Description
public
HTMLTableRowElementImpl(HTMLDocumentImpl
The owner HTML document
owner
,
String name)

Constructor requires owner document.

Method Summary

Modifier and TypeMethod and Description
public Node
cloneNode(boolean
If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).
deep
)

Overrides org.apache.xerces.dom.ElementImpl.cloneNode.

Implements org.w3c.dom.Node.cloneNode.

Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.
public void
deleteCell(int
The index of the cell to delete, starting from 0.
index
)

Implements org.w3c.dom.html.HTMLTableRowElement.deleteCell.

Delete a cell from the current row.
public String
getAlign()

Implements org.w3c.dom.html.HTMLTableRowElement.getAlign.

Horizontal alignment of data within cells of this row.
public String
getBgColor()

Implements org.w3c.dom.html.HTMLTableRowElement.getBgColor.

Background color for rows.
public HTMLCollection
getCells()

Implements org.w3c.dom.html.HTMLTableRowElement.getCells.

The collection of cells in this row.
public String
getCh()

Implements org.w3c.dom.html.HTMLTableRowElement.getCh.

Alignment character for cells in a column.
public String
getChOff()

Implements org.w3c.dom.html.HTMLTableRowElement.getChOff.

Offset of alignment character.
public int
getRowIndex()

Implements org.w3c.dom.html.HTMLTableRowElement.getRowIndex.

The index of this row, relative to the entire table, starting from 0.
pack-priv int
getRowIndex(Node parent)

public int
getSectionRowIndex()

Implements org.w3c.dom.html.HTMLTableRowElement.getSectionRowIndex.

The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ), starting from 0.
public String
getVAlign()

Implements org.w3c.dom.html.HTMLTableRowElement.getVAlign.

Vertical alignment of data within cells of this row.
public HTMLElement
insertCell(int
The place to insert the cell, starting from 0.
index
)

Implements org.w3c.dom.html.HTMLTableRowElement.insertCell.

Insert an empty TD cell into this row.
public void
public void
public void
public void
public void
public void
setRowIndex(int rowIndex)

public void
setSectionRowIndex(int sectionRowIndex)

public void
Inherited from org.apache.html.dom.HTMLElementImpl:
capitalizegetAttributegetAttributeNodegetAttributeNodeNSgetAttributeNSgetBinarygetCapitalizedgetClassNamegetDirgetElementsByTagNamegetElementsByTagNameNSgetFormgetIdgetIntegergetLanggetTitlesetAttributesetClassNamesetDirsetIdsetLangsetTitle

Field Detail

_cellsback to summary
pack-priv HTMLCollection _cells
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.html.dom.HTMLElementImpl.serialVersionUID.

Constructor Detail

HTMLTableRowElementImplback to summary
public HTMLTableRowElementImpl(HTMLDocumentImpl owner, String name)

Constructor requires owner document.

Parameters
owner:HTMLDocumentImpl

The owner HTML document

Method Detail

cloneNodeback to summary
public Node cloneNode(boolean deep)

Overrides org.apache.xerces.dom.ElementImpl.cloneNode.

Implements org.w3c.dom.Node.cloneNode.

Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.

Parameters
deep:boolean

Doc from org.w3c.dom.Node.cloneNode.

If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).

Returns:Node

Doc from org.w3c.dom.Node.cloneNode.

The duplicate node.

deleteCellback to summary
public void deleteCell(int index)

Implements org.w3c.dom.html.HTMLTableRowElement.deleteCell.

Doc from org.w3c.dom.html.HTMLTableRowElement.deleteCell.

Delete a cell from the current row.

Parameters
index:int

The index of the cell to delete, starting from 0.

getAlignback to summary
public String getAlign()

Implements org.w3c.dom.html.HTMLTableRowElement.getAlign.

Doc from org.w3c.dom.html.HTMLTableRowElement.getAlign.

Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.0.

getBgColorback to summary
public String getBgColor()

Implements org.w3c.dom.html.HTMLTableRowElement.getBgColor.

Doc from org.w3c.dom.html.HTMLTableRowElement.getBgColor.

Background color for rows. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

getCellsback to summary
public HTMLCollection getCells()

Implements org.w3c.dom.html.HTMLTableRowElement.getCells.

Doc from org.w3c.dom.html.HTMLTableRowElement.getCells.

The collection of cells in this row.

getChback to summary
public String getCh()

Implements org.w3c.dom.html.HTMLTableRowElement.getCh.

Doc from org.w3c.dom.html.HTMLTableRowElement.getCh.

Alignment character for cells in a column. See the char attribute definition in HTML 4.0.

getChOffback to summary
public String getChOff()

Implements org.w3c.dom.html.HTMLTableRowElement.getChOff.

Doc from org.w3c.dom.html.HTMLTableRowElement.getChOff.

Offset of alignment character. See the charoff attribute definition in HTML 4.0.

getRowIndexback to summary
public int getRowIndex()

Implements org.w3c.dom.html.HTMLTableRowElement.getRowIndex.

Doc from org.w3c.dom.html.HTMLTableRowElement.getRowIndex.

The index of this row, relative to the entire table, starting from 0. This is in document tree order and not display order. The rowIndex does not take into account sections ( THEAD , TFOOT , or TBODY ) within the table.

getRowIndexback to summary
pack-priv int getRowIndex(Node parent)
getSectionRowIndexback to summary
public int getSectionRowIndex()

Implements org.w3c.dom.html.HTMLTableRowElement.getSectionRowIndex.

Doc from org.w3c.dom.html.HTMLTableRowElement.getSectionRowIndex.

The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ), starting from 0.

getVAlignback to summary
public String getVAlign()

Implements org.w3c.dom.html.HTMLTableRowElement.getVAlign.

Doc from org.w3c.dom.html.HTMLTableRowElement.getVAlign.

Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.0.

insertCellback to summary
public HTMLElement insertCell(int index)

Implements org.w3c.dom.html.HTMLTableRowElement.insertCell.

Doc from org.w3c.dom.html.HTMLTableRowElement.insertCell.

Insert an empty TD cell into this row. If index is equal to the number of cells, the new cell is appended

Parameters
index:int

The place to insert the cell, starting from 0.

Returns:HTMLElement

The newly created cell.

setAlignback to summary
public void setAlign(String align)

Implements org.w3c.dom.html.HTMLTableRowElement.setAlign.

setBgColorback to summary
public void setBgColor(String bgColor)

Implements org.w3c.dom.html.HTMLTableRowElement.setBgColor.

setCellsback to summary
public void setCells(HTMLCollection cells)
setChback to summary
public void setCh(String ch)

Implements org.w3c.dom.html.HTMLTableRowElement.setCh.

setChOffback to summary
public void setChOff(String chOff)

Implements org.w3c.dom.html.HTMLTableRowElement.setChOff.

setRowIndexback to summary
public void setRowIndex(int rowIndex)
setSectionRowIndexback to summary
public void setSectionRowIndex(int sectionRowIndex)
setVAlignback to summary
public void setVAlign(String vAlign)

Implements org.w3c.dom.html.HTMLTableRowElement.setVAlign.