\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=103pt]{classDOM_1_1HTMLTableRowElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLTable\-Row\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=103pt]{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 
\begin{CompactList}\small\item\em The index of this row, relative to the entire table. \item\end{CompactList}\item 
void {\bf set\-Row\-Index} (long)
\begin{CompactList}\small\item\em see {\bf row\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a6})} \item\end{CompactList}\item 
long {\bf section\-Row\-Index} () const 
\begin{CompactList}\small\item\em The index of this row, relative to the current section ( {\tt  THEAD } , {\tt  TFOOT } , or {\tt  TBODY } ). \item\end{CompactList}\item 
void {\bf set\-Section\-Row\-Index} (long)
\begin{CompactList}\small\item\em see {\bf section\-Row\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a8})} \item\end{CompactList}\item 
{\bf HTMLCollection} {\bf cells} () const 
\begin{CompactList}\small\item\em The collection of cells in this row. \item\end{CompactList}\item 
void {\bf set\-Cells} (const  {\bf HTMLCollection} \&)
\begin{CompactList}\small\item\em see {\bf cells}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a10})} \item\end{CompactList}\item 
{\bf DOMString} {\bf align} () const 
\begin{CompactList}\small\item\em Horizontal alignment of data within cells of this row. \item\end{CompactList}\item 
void {\bf set\-Align} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf align}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a12})} \item\end{CompactList}\item 
{\bf DOMString} {\bf bg\-Color} () const 
\begin{CompactList}\small\item\em Background color for rows. \item\end{CompactList}\item 
void {\bf set\-Bg\-Color} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf bg\-Color}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a14})} \item\end{CompactList}\item 
{\bf DOMString} {\bf ch} () const 
\begin{CompactList}\small\item\em Alignment character for cells in a column. \item\end{CompactList}\item 
void {\bf set\-Ch} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf ch}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a16})} \item\end{CompactList}\item 
{\bf DOMString} {\bf ch\-Off} () const 
\begin{CompactList}\small\item\em Offset of alignment character. \item\end{CompactList}\item 
void {\bf set\-Ch\-Off} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf ch\-Off}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a18})} \item\end{CompactList}\item 
{\bf DOMString} {\bf v\-Align} () const 
\begin{CompactList}\small\item\em Vertical alignment of data within cells of this row. \item\end{CompactList}\item 
void {\bf set\-VAlign} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf v\-Align}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a20})} \item\end{CompactList}\item 
{\bf HTMLElement} {\bf insert\-Cell} (long index)
\begin{CompactList}\small\item\em Insert an empty {\tt  TD } cell into this row. \item\end{CompactList}\item 
void {\bf delete\-Cell} (long index)
\begin{CompactList}\small\item\em Delete a cell from the current row. \item\end{CompactList}\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 656 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 {\bf row\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a6})} 

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 662 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 667 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 {\bf section\-Row\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a8})} 

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 673 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 678 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 {\bf cells}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a10})} 

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 684 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 689 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 {\bf align}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a12})} 



Definition at line 695 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 700 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 {\bf bg\-Color}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a14})} 



Definition at line 706 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 711 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 {\bf ch}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a16})} 



Definition at line 717 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 722 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 {\bf ch\-Off}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a18})} 



Definition at line 728 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 733 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 {\bf v\-Align}{\rm (p.\,\pageref{classDOM_1_1HTMLTableRowElement_a20})} 



Definition at line 739 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 744 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 754 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}
