\section{DOM::UIEvent Class Reference}
\label{classDOM_1_1UIEvent}\index{DOM::UIEvent@{DOM::UIEvent}}
Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2.  


{\tt \#include $<$dom2\_\-events.h$>$}

Inheritance diagram for DOM::UIEvent:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=125pt]{classDOM_1_1UIEvent__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::UIEvent:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=60pt]{classDOM_1_1UIEvent__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf UIEvent} (const  {\bf UIEvent} \&other)\label{classDOM_1_1UIEvent_a1}

\item 
{\bf UIEvent} (const  {\bf Event} \&other)\label{classDOM_1_1UIEvent_a2}

\item 
{\bf UIEvent} \& {\bf operator=} (const  {\bf UIEvent} \&other)\label{classDOM_1_1UIEvent_a3}

\item 
{\bf UIEvent} \& {\bf operator=} (const  {\bf Event} \&other)\label{classDOM_1_1UIEvent_a4}

\item 
{\bf Abstract\-View} {\bf view} () const 
\begin{CompactList}\small\item\em The view attribute identifies the {\bf Abstract\-View}{\rm (p.\,\pageref{classDOM_1_1AbstractView})} from which the event was generated. \item\end{CompactList}\item 
long {\bf detail} () const 
\begin{CompactList}\small\item\em Specifies some detail information about the {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})}, depending on the type of event. \item\end{CompactList}\item 
void {\bf init\-UIEvent} (const  {\bf DOMString} \&type\-Arg, bool can\-Bubble\-Arg, bool cancelable\-Arg, const  {\bf Abstract\-View} \&view\-Arg, long detail\-Arg)
\begin{CompactList}\small\item\em The init\-UIEvent method is used to initialize the value of a {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} created through the Document\-Event interface. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf UIEvent} (UIEvent\-Impl $\ast$impl)\label{classDOM_1_1UIEvent_b0}

\end{CompactItemize}


\subsection{Detailed Description}
Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2. 

The {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} interface provides specific contextual information associated with User Interface events. 



Definition at line 309 of file dom2\_\-events.h.

\subsection{Member Function Documentation}
\index{DOM::UIEvent@{DOM::UIEvent}!view@{view}}
\index{view@{view}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Abstract\-View} UIEvent::view () const}\label{classDOM_1_1UIEvent_a6}


The view attribute identifies the {\bf Abstract\-View}{\rm (p.\,\pageref{classDOM_1_1AbstractView})} from which the event was generated. 



Definition at line 243 of file dom2\_\-events.cpp.\index{DOM::UIEvent@{DOM::UIEvent}!detail@{detail}}
\index{detail@{detail}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long UIEvent::detail () const}\label{classDOM_1_1UIEvent_a7}


Specifies some detail information about the {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})}, depending on the type of event. 



Definition at line 251 of file dom2\_\-events.cpp.\index{DOM::UIEvent@{DOM::UIEvent}!initUIEvent@{initUIEvent}}
\index{initUIEvent@{initUIEvent}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UIEvent::init\-UIEvent (const {\bf DOMString} \& {\em type\-Arg}, bool {\em can\-Bubble\-Arg}, bool {\em cancelable\-Arg}, const {\bf Abstract\-View} \& {\em view\-Arg}, long {\em detail\-Arg})}\label{classDOM_1_1UIEvent_a8}


The init\-UIEvent method is used to initialize the value of a {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} created through the Document\-Event interface. 

This method may only be called before the {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} has been dispatched via the dispatch\-Event method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em type\-Arg}]Specifies the event type.\item[{\em can\-Bubble\-Arg}]Specifies whether or not the event can bubble.\item[{\em cancelable\-Arg}]Specifies whether or not the event's default action can be prevented.\item[{\em view\-Arg}]Specifies the Event's {\bf Abstract\-View}{\rm (p.\,\pageref{classDOM_1_1AbstractView})}.\item[{\em detail\-Arg}]Specifies the Event's detail. \end{description}
\end{Desc}


Definition at line 259 of file dom2\_\-events.cpp.

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