\section{DOM::HTMLButton\-Element Class Reference}
\label{classDOM_1_1HTMLButtonElement}\index{DOM::HTMLButtonElement@{DOM::HTMLButtonElement}}
Push button.  


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

Inheritance diagram for DOM::HTMLButton\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=94pt]{classDOM_1_1HTMLButtonElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLButton\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=94pt]{classDOM_1_1HTMLButtonElement__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLButton\-Element} (const  {\bf HTMLButton\-Element} \&other)\label{classDOM_1_1HTMLButtonElement_a1}

\item 
{\bf HTMLButton\-Element} (const  {\bf Node} \&other)\label{classDOM_1_1HTMLButtonElement_a2}

\item 
{\bf HTMLButton\-Element} \& {\bf operator=} (const  {\bf HTMLButton\-Element} \&other)\label{classDOM_1_1HTMLButtonElement_a3}

\item 
{\bf HTMLButton\-Element} \& {\bf operator=} (const  {\bf Node} \&other)\label{classDOM_1_1HTMLButtonElement_a4}

\item 
{\bf HTMLForm\-Element} {\bf form} () const 
\begin{CompactList}\small\item\em Returns the {\tt  FORM } element containing this control. \item\end{CompactList}\item 
{\bf DOMString} {\bf access\-Key} () const 
\begin{CompactList}\small\item\em A single character access key to give access to the form control. \item\end{CompactList}\item 
void {\bf set\-Access\-Key} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf access\-Key}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a7})} \item\end{CompactList}\item 
bool {\bf disabled} () const 
\begin{CompactList}\small\item\em The control is unavailable in this context. \item\end{CompactList}\item 
void {\bf set\-Disabled} (bool)
\begin{CompactList}\small\item\em see {\bf disabled}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a9})} \item\end{CompactList}\item 
{\bf DOMString} {\bf name} () const 
\begin{CompactList}\small\item\em Form control or object name when submitted with a form. \item\end{CompactList}\item 
void {\bf set\-Name} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf name}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a11})} \item\end{CompactList}\item 
long {\bf tab\-Index} () const 
\begin{CompactList}\small\item\em Index that represents the element's position in the tabbing order. \item\end{CompactList}\item 
void {\bf set\-Tab\-Index} (long)
\begin{CompactList}\small\item\em see {\bf tab\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a13})} \item\end{CompactList}\item 
{\bf DOMString} {\bf type} () const 
\begin{CompactList}\small\item\em The type of button. \item\end{CompactList}\item 
{\bf DOMString} {\bf value} () const 
\begin{CompactList}\small\item\em The current form control value. \item\end{CompactList}\item 
void {\bf set\-Value} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf value}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a16})} \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLButton\-Element} (HTMLButton\-Element\-Impl $\ast$impl)\label{classDOM_1_1HTMLButtonElement_b0}

\end{CompactItemize}


\subsection{Detailed Description}
Push button. 

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



Definition at line 49 of file html\_\-form.h.

\subsection{Member Function Documentation}
\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!form@{form}}
\index{form@{form}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf HTMLForm\-Element} HTMLButton\-Element::form () const}\label{classDOM_1_1HTMLButtonElement_a6}


Returns the {\tt  FORM } element containing this control. 

Returns null if this control is not within the context of a form. 

Reimplemented from {\bf DOM::Element} {\rm (p.\,\pageref{classDOM_1_1Element_a24})}.

Definition at line 65 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!accessKey@{accessKey}}
\index{accessKey@{accessKey}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLButton\-Element::access\-Key () const}\label{classDOM_1_1HTMLButtonElement_a7}


A single character access key to give access to the form control. 

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

Definition at line 70 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!setAccessKey@{setAccessKey}}
\index{setAccessKey@{setAccessKey}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLButton\-Element::set\-Access\-Key (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLButtonElement_a8}


see {\bf access\-Key}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a7})} 



Definition at line 76 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!disabled@{disabled}}
\index{disabled@{disabled}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool HTMLButton\-Element::disabled () const}\label{classDOM_1_1HTMLButtonElement_a9}


The control is unavailable in this context. 

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

Definition at line 81 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!setDisabled@{setDisabled}}
\index{setDisabled@{setDisabled}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLButton\-Element::set\-Disabled (bool)}\label{classDOM_1_1HTMLButtonElement_a10}


see {\bf disabled}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a9})} 



Definition at line 87 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!name@{name}}
\index{name@{name}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLButton\-Element::name () const}\label{classDOM_1_1HTMLButtonElement_a11}


Form control or object name when submitted with a form. 

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

Definition at line 92 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!setName@{setName}}
\index{setName@{setName}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLButton\-Element::set\-Name (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLButtonElement_a12}


see {\bf name}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a11})} 



Definition at line 98 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!tabIndex@{tabIndex}}
\index{tabIndex@{tabIndex}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLButton\-Element::tab\-Index () const}\label{classDOM_1_1HTMLButtonElement_a13}


Index that represents the element's position in the tabbing order. 

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

Definition at line 103 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!setTabIndex@{setTabIndex}}
\index{setTabIndex@{setTabIndex}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLButton\-Element::set\-Tab\-Index (long)}\label{classDOM_1_1HTMLButtonElement_a14}


see {\bf tab\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a13})} 



Definition at line 109 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!type@{type}}
\index{type@{type}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLButton\-Element::type () const}\label{classDOM_1_1HTMLButtonElement_a15}


The type of button. 

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

Definition at line 115 of file html\_\-form.cpp.\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!value@{value}}
\index{value@{value}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLButton\-Element::value () const}\label{classDOM_1_1HTMLButtonElement_a16}


The current form control value. 

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

Definition at line 121 of file html\_\-form.cpp.

References DOM::DOMString::is\-Null().\index{DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}!setValue@{setValue}}
\index{setValue@{setValue}!DOM::HTMLButtonElement@{DOM::HTMLButton\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLButton\-Element::set\-Value (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLButtonElement_a17}


see {\bf value}{\rm (p.\,\pageref{classDOM_1_1HTMLButtonElement_a16})} 



Definition at line 129 of file html\_\-form.cpp.

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