\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=122pt]{classDOM_1_1UIEvent__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::UIEvent:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=58pt]{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 
\item 
long {\bf detail} () const 
\item 
int {\bf key\-Code} () const 
\item 
int {\bf char\-Code} () const 
\item 
int {\bf page\-X} () const 
\item 
int {\bf page\-Y} () const \label{classDOM_1_1UIEvent_a11}

\item 
int {\bf layer\-X} () const 
\item 
int {\bf layer\-Y} () const \label{classDOM_1_1UIEvent_a13}

\item 
int {\bf which} () const 
\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)
\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 299 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 234 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 242 of file dom2\_\-events.cpp.\index{DOM::UIEvent@{DOM::UIEvent}!keyCode@{keyCode}}
\index{keyCode@{keyCode}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int UIEvent::key\-Code () const}\label{classDOM_1_1UIEvent_a8}


Non-standard extension to support IE-style key\-Code event property. 



Definition at line 250 of file dom2\_\-events.cpp.\index{DOM::UIEvent@{DOM::UIEvent}!charCode@{charCode}}
\index{charCode@{charCode}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int UIEvent::char\-Code () const}\label{classDOM_1_1UIEvent_a9}


Non-standard extension to support IE-style char\-Code event property. 



Definition at line 260 of file dom2\_\-events.cpp.\index{DOM::UIEvent@{DOM::UIEvent}!pageX@{pageX}}
\index{pageX@{pageX}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int UIEvent::page\-X () const}\label{classDOM_1_1UIEvent_a10}


Non-standard extensions to support Netscape-style page\-X and page\-Y event properties. 



Definition at line 271 of file dom2\_\-events.cpp.\index{DOM::UIEvent@{DOM::UIEvent}!layerX@{layerX}}
\index{layerX@{layerX}!DOM::UIEvent@{DOM::UIEvent}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int UIEvent::layer\-X () const}\label{classDOM_1_1UIEvent_a12}


Non-standard extensions to support Netscape-style layer\-X and layer\-Y event properties. 



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


Non-standard extension to support Netscape-style \char`\"{}which\char`\"{} event property. 



Definition at line 313 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_a15}


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 325 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}
