AxButtonAdapter Class Reference
[Basic AxTk UI classes]

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

wxBitmapButton * AxButtonAdapter::GetBitmapButton (  )  const

wxButton * AxButtonAdapter::GetButton (  )  const

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

Get content.

Implements AxAdapter.

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

Override to return the label for the control.

Reimplemented from AxAdapter.

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.

void AxButtonAdapter::OnCommand ( wxCommandEvent &  event  ) 

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

Update the appearance - text size, background, etc.

Reimplemented from AxAdapter.


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

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