Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.lobobrowser.js.AbstractScriptableDelegate
org.lobobrowser.html.domimpl.NodeImpl
org.lobobrowser.html.domimpl.ElementImpl
org.lobobrowser.html.domimpl.HTMLElementImpl
org.lobobrowser.html.domimpl.HTMLTableRowElementImpl
Field Summary |
Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl | |
attributes |
Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl | |
document , logger , nodeList , notificationsSuspended , parentNode , treeLock , uiNode |
Constructor Summary | |
|
Method Summary | |
void |
|
String |
|
String |
|
HTMLCollection |
|
String |
|
String |
|
int |
|
int |
|
String |
|
HTMLElement |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate | |
getScriptable , setScriptable |
public HTMLTableRowElementImpl()
public HTMLTableRowElementImpl(String name)
public void deleteCell(int index) throws DOMException
Delete a cell from the current row.
- Specified by:
- deleteCell in interface HTMLTableRowElement
- Parameters:
index
- The index of the cell to delete, starting from 0. If the index is -1 the last cell in the row is deleted.Version: DOM Level 2
public String getAlign()
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.01.
- Specified by:
- getAlign in interface HTMLTableRowElement
public String getBgColor()
Background color for rows. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
- Specified by:
- getBgColor in interface HTMLTableRowElement
public HTMLCollection getCells()
The collection of cells in this row.
- Specified by:
- getCells in interface HTMLTableRowElement
Version: DOM Level 2
public String getCh()
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.
- Specified by:
- getCh in interface HTMLTableRowElement
public String getChOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.01.
- Specified by:
- getChOff in interface HTMLTableRowElement
public int getRowIndex()
This is in logical order and not in document order. TherowIndex
does take into account sections (THEAD
,TFOOT
, orTBODY
) within the table, placingTHEAD
rows first in the index, followed byTBODY
rows, followed byTFOOT
rows.
- Specified by:
- getRowIndex in interface HTMLTableRowElement
Version: DOM Level 2
public int getSectionRowIndex()
The index of this row, relative to the current section (THEAD
,TFOOT
, orTBODY
), starting from 0.
- Specified by:
- getSectionRowIndex in interface HTMLTableRowElement
Version: DOM Level 2
public String getVAlign()
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.01.
- Specified by:
- getVAlign in interface HTMLTableRowElement
public HTMLElement insertCell(int index) throws DOMException
Insert an emptyTD
cell into this row. Ifindex
is -1 or equal to the number of cells, the new cell is appended.
- Specified by:
- insertCell in interface HTMLTableRowElement
- Parameters:
index
- The place to insert the cell, starting from 0.
- Returns:
- The newly created cell.
Version: DOM Level 2
public void setAlign(String align)
Horizontal alignment of data within cells of this row. See the align attribute definition in HTML 4.01.
- Specified by:
- setAlign in interface HTMLTableRowElement
public void setBgColor(String bgColor)
Background color for rows. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
- Specified by:
- setBgColor in interface HTMLTableRowElement
public void setCh(String ch)
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.
- Specified by:
- setCh in interface HTMLTableRowElement
public void setChOff(String chOff)
Offset of alignment character. See the charoff attribute definition in HTML 4.01.
- Specified by:
- setChOff in interface HTMLTableRowElement
public void setVAlign(String vAlign)
Vertical alignment of data within cells of this row. See the valign attribute definition in HTML 4.01.
- Specified by:
- setVAlign in interface HTMLTableRowElement