scsolver::CloseBtnListener Class Reference

#include <listener.hxx>

Inheritance diagram for scsolver::CloseBtnListener:

Inheritance graph
[legend]
Collaboration diagram for scsolver::CloseBtnListener:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CloseBtnListener (BaseDialog *pDlg)
virtual ~CloseBtnListener () throw ()
virtual void SAL_CALL disposing (const lang::EventObject &oEvt) throw ( RuntimeException )
virtual void SAL_CALL actionPerformed (const awt::ActionEvent &) throw ( RuntimeException )


Detailed Description

Generic close button listener. You can use this class for any dialog that needs a simple "close" action. Just pass a pointer to the target dialog to the constructor when instantiating an object, and register it with the "close" button.

Definition at line 155 of file listener.hxx.


Constructor & Destructor Documentation

scsolver::CloseBtnListener::CloseBtnListener ( BaseDialog pDlg  ) 

Definition at line 220 of file listener.cxx.

scsolver::CloseBtnListener::~CloseBtnListener (  )  throw () [virtual]

Definition at line 224 of file listener.cxx.


Member Function Documentation

void scsolver::CloseBtnListener::disposing ( const lang::EventObject &  oEvt  )  throw ( RuntimeException ) [virtual]

Reimplemented from scsolver::ActionListener.

Definition at line 228 of file listener.cxx.

void scsolver::CloseBtnListener::actionPerformed ( const awt::ActionEvent &   )  throw ( RuntimeException ) [virtual]

Reimplemented from scsolver::ActionListener.

Definition at line 233 of file listener.cxx.

References scsolver::BaseDialog::close(), and scsolver::Listener::getDialog().


The documentation for this class was generated from the following files:
Generated on Mon Jul 28 09:13:46 2008 for scsolver by  doxygen 1.5.3