\hypertarget{classCloseButtonListener}{
\subsection{CloseButtonListener Class Reference}
\label{classCloseButtonListener}\index{CloseButtonListener@{CloseButtonListener}}
}


Close button issues a window close event.  


\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCloseButtonListener_ab5ecc517b28ccf8ab8829fb64a27745f}{CloseButtonListener} (JFrame fr)
\item 
void \hyperlink{classCloseButtonListener_a615c9c8bc1225891c61d4da447259649}{actionPerformed} (ActionEvent e)
\end{DoxyCompactItemize}
\subsubsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
JFrame \hyperlink{classCloseButtonListener_ace2a2df6a0a508271531ebb43115cb5f}{f}
\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Close button issues a window close event. 

Actual closing logic is then done in the close event handler. 

Definition at line 837 of file three\_\-B.java.



\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classCloseButtonListener_ab5ecc517b28ccf8ab8829fb64a27745f}{
\index{CloseButtonListener@{CloseButtonListener}!CloseButtonListener@{CloseButtonListener}}
\index{CloseButtonListener@{CloseButtonListener}!CloseButtonListener@{CloseButtonListener}}
\paragraph[{CloseButtonListener}]{\setlength{\rightskip}{0pt plus 5cm}CloseButtonListener::CloseButtonListener (
\begin{DoxyParamCaption}
\item[{JFrame}]{fr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classCloseButtonListener_ab5ecc517b28ccf8ab8829fb64a27745f}


Definition at line 840 of file three\_\-B.java.



References f.


\begin{DoxyCode}
    {
        f = fr;
    }
\end{DoxyCode}


\subsubsection{Member Function Documentation}
\hypertarget{classCloseButtonListener_a615c9c8bc1225891c61d4da447259649}{
\index{CloseButtonListener@{CloseButtonListener}!actionPerformed@{actionPerformed}}
\index{actionPerformed@{actionPerformed}!CloseButtonListener@{CloseButtonListener}}
\paragraph[{actionPerformed}]{\setlength{\rightskip}{0pt plus 5cm}void CloseButtonListener::actionPerformed (
\begin{DoxyParamCaption}
\item[{ActionEvent}]{e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classCloseButtonListener_a615c9c8bc1225891c61d4da447259649}


Definition at line 846 of file three\_\-B.java.



References f.


\begin{DoxyCode}
    {
        //Voodoo from Stack Overflow
        WindowEvent wev = new WindowEvent(f, WindowEvent.WINDOW_CLOSING);
        Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(wev);
    }
\end{DoxyCode}


\subsubsection{Member Data Documentation}
\hypertarget{classCloseButtonListener_ace2a2df6a0a508271531ebb43115cb5f}{
\index{CloseButtonListener@{CloseButtonListener}!f@{f}}
\index{f@{f}!CloseButtonListener@{CloseButtonListener}}
\paragraph[{f}]{\setlength{\rightskip}{0pt plus 5cm}JFrame {\bf CloseButtonListener::f}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCloseButtonListener_ace2a2df6a0a508271531ebb43115cb5f}


Definition at line 839 of file three\_\-B.java.



Referenced by actionPerformed(), and CloseButtonListener().



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
\hyperlink{three__B_8java}{three\_\-B.java}\end{DoxyCompactItemize}
