\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=87pt]{classDOM_1_1HTMLButtonElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLButton\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=87pt]{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 
\item 
{\bf DOMString} {\bf access\-Key} () const 
\item 
void {\bf set\-Access\-Key} (const {\bf DOMString} \&)
\item 
bool {\bf disabled} () const 
\item 
void {\bf set\-Disabled} (bool)
\item 
{\bf DOMString} {\bf name} () const 
\item 
void {\bf set\-Name} (const {\bf DOMString} \&)
\item 
long {\bf tab\-Index} () const 
\item 
void {\bf set\-Tab\-Index} (long)
\item 
{\bf DOMString} {\bf type} () const 
\item 
{\bf DOMString} {\bf value} () const 
\item 
void {\bf set\-Value} (const {\bf DOMString} \&)
\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 50 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_a26})}.

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

References DOM::Element::form().\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 69 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 access\-Key 



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

References value().\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 80 of file html\_\-form.cpp.

References DOM::DOMString::is\-Null().\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 disabled 



Definition at line 86 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 91 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 name 



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

References value().\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 102 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 tab\-Index 



Definition at line 108 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 114 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 120 of file html\_\-form.cpp.

References DOM::DOMString::is\-Null().

Referenced by set\-Access\-Key(), set\-Name(), and set\-Value().\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 value 



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

References value().

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