AxMessageDialog Class Reference

An accessible substitute for wxMessageDialog. More...

#include <ax/ax_messagebox.h>

List of all members.

Public Member Functions

 AxMessageDialog ()
 Constructors.
 AxMessageDialog (wxWindow *parent, const wxString &message, const wxString &caption=_("Message"), int style=wxOK, const wxPoint &pos=wxDefaultPosition)
bool Create (wxWindow *parent, const wxString &message, const wxString &caption=_("Message"), int style=wxOK, const wxPoint &pos=wxDefaultPosition)
 Creation.
void CreateControls ()
 Creates the controls and sizers.
void SetYesLabel (const wxString &text)
 Set the label for the Yes button.
const wxString & GetYesLabel () const
void SetNoLabel (const wxString &text)
 Set the label for the No button.
const wxString & GetNoLabel () const
void OnYesClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YES
void OnYestoallClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YESTOALL
void OnNoClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NO
void OnNotoallClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NOTOALL
void OnOkClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
void OnCancelClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
wxString GetMessage () const
void SetMessage (wxString value)
int GetMessageDialogStyle () const
void SetMessageDialogStyle (int value)
bool GetDisplayNextTime () const
void SetDisplayNextTime (bool value)
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources.
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources.

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Public Attributes

wxStaticBitmapm_staticBitmap
wxString m_message
int m_messageDialogStyle
bool m_displayNextTime
wxString m_yesLabel
wxString m_noLabel
AxSelfVoicing m_adapter


Detailed Description

An accessible substitute for wxMessageDialog.

Constructor & Destructor Documentation

AxMessageDialog::AxMessageDialog (  ) 

Constructors.

AxMessageDialog::AxMessageDialog ( wxWindow *  parent,
const wxString &  message,
const wxString &  caption = _("Message"),
int  style = wxOK,
const wxPoint &  pos = wxDefaultPosition 
)


Member Function Documentation

bool AxMessageDialog::Create ( wxWindow *  parent,
const wxString &  message,
const wxString &  caption = _("Message"),
int  style = wxOK,
const wxPoint &  pos = wxDefaultPosition 
)

Creation.

void AxMessageDialog::CreateControls (  ) 

Creates the controls and sizers.

wxBitmap AxMessageDialog::GetBitmapResource ( const wxString &  name  ) 

Retrieves bitmap resources.

bool AxMessageDialog::GetDisplayNextTime (  )  const [inline]

wxIcon AxMessageDialog::GetIconResource ( const wxString &  name  ) 

Retrieves icon resources.

wxString AxMessageDialog::GetMessage (  )  const [inline]

int AxMessageDialog::GetMessageDialogStyle (  )  const [inline]

const wxString& AxMessageDialog::GetNoLabel (  )  const [inline]

const wxString& AxMessageDialog::GetYesLabel (  )  const [inline]

void AxMessageDialog::OnCancelClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL

void AxMessageDialog::OnNoClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NO

void AxMessageDialog::OnNotoallClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NOTOALL

void AxMessageDialog::OnOkClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK

void AxMessageDialog::OnYesClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YES

void AxMessageDialog::OnYestoallClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YESTOALL

void AxMessageDialog::SetDisplayNextTime ( bool  value  )  [inline]

void AxMessageDialog::SetMessage ( wxString  value  )  [inline]

void AxMessageDialog::SetMessageDialogStyle ( int  value  )  [inline]

void AxMessageDialog::SetNoLabel ( const wxString &  text  )  [inline]

Set the label for the No button.

void AxMessageDialog::SetYesLabel ( const wxString &  text  )  [inline]

Set the label for the Yes button.

bool AxMessageDialog::ShowToolTips (  )  [static]

Should we show tooltips?


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Wed May 6 19:22:07 2009 for AxTk by  doxygen 1.5.8