\section{DOM::HTMLTable\-Row\-Element Class Reference}
\label{classDOM_1_1HTMLTableRowElement}\index{DOM::HTMLTableRowElement@{DOM::HTMLTableRowElement}}
A row in a table.  


{\tt \#include $<$html\_\-table.h$>$}

Inheritance diagram for DOM::HTMLTable\-Row\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=95pt]{classDOM_1_1HTMLTableRowElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLTable\-Row\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=95pt]{classDOM_1_1HTMLTableRowElement__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLTable\-Row\-Element} (const {\bf HTMLTable\-Row\-Element} \&other)\label{classDOM_1_1HTMLTableRowElement_a1}

\item 
{\bf HTMLTable\-Row\-Element} (const {\bf Node} \&other)\label{classDOM_1_1HTMLTableRowElement_a2}

\item 
{\bf HTMLTable\-Row\-Element} \& {\bf operator=} (const {\bf HTMLTable\-Row\-Element} \&other)\label{classDOM_1_1HTMLTableRowElement_a3}

\item 
{\bf HTMLTable\-Row\-Element} \& {\bf operator=} (const {\bf Node} \&other)\label{classDOM_1_1HTMLTableRowElement_a4}

\item 
long {\bf row\-Index} () const 
\item 
void {\bf set\-Row\-Index} (long)
\item 
long {\bf section\-Row\-Index} () const 
\item 
void {\bf set\-Section\-Row\-Index} (long)
\item 
{\bf HTMLCollection} {\bf cells} () const 
\item 
void {\bf set\-Cells} (const {\bf HTMLCollection} \&)
\item 
{\bf DOMString} {\bf align} () const 
\item 
void {\bf set\-Align} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf bg\-Color} () const 
\item 
void {\bf set\-Bg\-Color} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf ch} () const 
\item 
void {\bf set\-Ch} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf ch\-Off} () const 
\item 
void {\bf set\-Ch\-Off} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf v\-Align} () const 
\item 
void {\bf set\-VAlign} (const {\bf DOMString} \&)
\item 
{\bf HTMLElement} {\bf insert\-Cell} (long index)
\item 
void {\bf delete\-Cell} (long index)
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLTable\-Row\-Element} (HTMLTable\-Row\-Element\-Impl $\ast$impl)\label{classDOM_1_1HTMLTableRowElement_b0}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf HTMLTable\-Element}\label{classDOM_1_1HTMLTableRowElement_n0}

\end{CompactItemize}


\subsection{Detailed Description}
A row in a table. 

See the {\tt TR element definition } in HTML 4.0. 



Definition at line 725 of file html\_\-table.h.

\subsection{Member Function Documentation}
\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!rowIndex@{rowIndex}}
\index{rowIndex@{rowIndex}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLTable\-Row\-Element::row\-Index () const}\label{classDOM_1_1HTMLTableRowElement_a6}


The index of this row, relative to the entire table. 

This is in logical order and not in document order. The row\-Index does take into account sections (THEAD, TFOOT or TBODY) within the table, placing THEAD rows first in the index, followed by TBODY rows, followed by TFOOT rows. 

Definition at line 655 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setRowIndex@{setRowIndex}}
\index{setRowIndex@{setRowIndex}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Row\-Index (long)}\label{classDOM_1_1HTMLTableRowElement_a7}


see row\-Index 

This function is obsolete - the row\-Index property is actually supposed to be read-only ({\tt http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html}) 

Definition at line 661 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!sectionRowIndex@{sectionRowIndex}}
\index{sectionRowIndex@{sectionRowIndex}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLTable\-Row\-Element::section\-Row\-Index () const}\label{classDOM_1_1HTMLTableRowElement_a8}


The index of this row, relative to the current section ( {\tt THEAD} , {\tt TFOOT} , or {\tt TBODY} ). 



Definition at line 666 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setSectionRowIndex@{setSectionRowIndex}}
\index{setSectionRowIndex@{setSectionRowIndex}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Section\-Row\-Index (long)}\label{classDOM_1_1HTMLTableRowElement_a9}


see section\-Row\-Index 

This function is obsolete - the section\-Row\-Index property is actually supposed to be read-only ({\tt http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html}) 

Definition at line 672 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!cells@{cells}}
\index{cells@{cells}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf HTMLCollection} HTMLTable\-Row\-Element::cells () const}\label{classDOM_1_1HTMLTableRowElement_a10}


The collection of cells in this row. 



Definition at line 677 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setCells@{setCells}}
\index{setCells@{setCells}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Cells (const {\bf HTMLCollection} \&)}\label{classDOM_1_1HTMLTableRowElement_a11}


see cells 

This function is obsolete - the cells property is actually supposed to be read-only ({\tt http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html}) 

Definition at line 683 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!align@{align}}
\index{align@{align}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLTable\-Row\-Element::align () const}\label{classDOM_1_1HTMLTableRowElement_a12}


Horizontal alignment of data within cells of this row. 

See the {\tt align attribute definition } in HTML 4.0. 

Definition at line 688 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setAlign@{setAlign}}
\index{setAlign@{setAlign}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Align (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLTableRowElement_a13}


see align 



Definition at line 694 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!bgColor@{bgColor}}
\index{bgColor@{bgColor}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLTable\-Row\-Element::bg\-Color () const}\label{classDOM_1_1HTMLTableRowElement_a14}


Background color for rows. 

See the {\tt bgcolor attribute definition } in HTML 4.0. This attribute is deprecated in HTML 4.0. 

Definition at line 699 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setBgColor@{setBgColor}}
\index{setBgColor@{setBgColor}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Bg\-Color (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLTableRowElement_a15}


see bg\-Color 



Definition at line 705 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!ch@{ch}}
\index{ch@{ch}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLTable\-Row\-Element::ch () const}\label{classDOM_1_1HTMLTableRowElement_a16}


Alignment character for cells in a column. 

See the {\tt char attribute definition } in HTML 4.0. 

Definition at line 710 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setCh@{setCh}}
\index{setCh@{setCh}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Ch (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLTableRowElement_a17}


see ch 



Definition at line 716 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!chOff@{chOff}}
\index{chOff@{chOff}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLTable\-Row\-Element::ch\-Off () const}\label{classDOM_1_1HTMLTableRowElement_a18}


Offset of alignment character. 

See the {\tt charoff attribute definition } in HTML 4.0. 

Definition at line 721 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setChOff@{setChOff}}
\index{setChOff@{setChOff}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-Ch\-Off (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLTableRowElement_a19}


see ch\-Off 



Definition at line 727 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!vAlign@{vAlign}}
\index{vAlign@{vAlign}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLTable\-Row\-Element::v\-Align () const}\label{classDOM_1_1HTMLTableRowElement_a20}


Vertical alignment of data within cells of this row. 

See the {\tt valign attribute definition } in HTML 4.0. 

Definition at line 732 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!setVAlign@{setVAlign}}
\index{setVAlign@{setVAlign}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::set\-VAlign (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLTableRowElement_a21}


see v\-Align 



Definition at line 738 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!insertCell@{insertCell}}
\index{insertCell@{insertCell}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf HTMLElement} HTMLTable\-Row\-Element::insert\-Cell (long {\em index})}\label{classDOM_1_1HTMLTableRowElement_a22}


Insert an empty {\tt TD} cell into this row. 

If index is -1 or equal to the number of cells, the new cell is appended.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]The place to insert the cell.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The newly created cell. \end{Desc}


Definition at line 743 of file html\_\-table.cpp.\index{DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}!deleteCell@{deleteCell}}
\index{deleteCell@{deleteCell}!DOM::HTMLTableRowElement@{DOM::HTMLTable\-Row\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLTable\-Row\-Element::delete\-Cell (long {\em index})}\label{classDOM_1_1HTMLTableRowElement_a23}


Delete a cell from the current row. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]The index of the cell to delete, starting from 0. If the index is -1 the last cell in the row is deleted.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]\end{Desc}


Definition at line 753 of file html\_\-table.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
html\_\-table.h\item 
html\_\-table.cpp\end{CompactItemize}
