AxButtonAdapter Class Reference

An event handler that processes events from a wxButton and speaks, as appropriate. More...

#include <ax/ax_ui_adaptation_standard.h>

Inheritance diagram for AxButtonAdapter:

AxAdapter List of all members.

Public Member Functions

 AxButtonAdapter (const wxString &alternateLabel=wxEmptyString)
virtual wxString GetName ()
 Override to return the name of the control.
virtual wxString GetStateText (AxContentLevel level)
 Override to return text representing the state of the control, for example the current value.
virtual wxString GetLabel ()
 Override to return the label for the control.
virtual wxString GetContent (AxContentLevel level)
 Get content.
virtual bool UpdateAppearance (int hints)
 Update the appearance - text size, background, etc.
void OnCommand (wxCommandEvent &event)
wxButtonGetButton () const
wxBitmapButton * GetBitmapButton () const

Detailed Description

An event handler that processes events from a wxButton and speaks, as appropriate.


Constructor & Destructor Documentation

AxButtonAdapter::AxButtonAdapter ( const wxString &  alternateLabel = wxEmptyString  )  [inline]


Member Function Documentation

wxString AxButtonAdapter::GetName (  )  [virtual]

Override to return the name of the control.

Implements AxAdapter.

virtual wxString AxButtonAdapter::GetStateText ( AxContentLevel  level  )  [virtual]

Override to return text representing the state of the control, for example the current value.

Implements AxAdapter.

virtual wxString AxButtonAdapter::GetLabel (  )  [inline, virtual]

Override to return the label for the control.

Reimplemented from AxAdapter.

virtual wxString AxButtonAdapter::GetContent ( AxContentLevel  level  )  [virtual]

Get content.

Implements AxAdapter.

bool AxButtonAdapter::UpdateAppearance ( int  hints  )  [virtual]

Update the appearance - text size, background, etc.

Reimplemented from AxAdapter.

void AxButtonAdapter::OnCommand ( wxCommandEvent &  event  ) 

wxButton * AxButtonAdapter::GetButton (  )  const

wxBitmapButton * AxButtonAdapter::GetBitmapButton (  )  const


The documentation for this class was generated from the following files:
Generated on Wed May 6 19:20:20 2009 for AxTk by  doxygen 1.5.1