AxChoiceValidator Class Reference

Use this with AxChoiceMenuItem to specify a string pointer that should be updated to the current value of the menu item. More...

#include <ax/ax_menu_choice.h>

Inheritance diagram for AxChoiceValidator:

AxValidator

List of all members.

Public Member Functions

 AxChoiceValidator (const AxChoiceValidator &validator)
 AxChoiceValidator (wxString *ptr)
 AxChoiceValidator (int *ptr)
 AxChoiceValidator ()
 ~AxChoiceValidator ()
void Copy (const AxChoiceValidator &validator)
virtual AxValidatorClone () const
 Override to make the object clonable.
virtual bool TransferDataFromMenu ()
 Override to pass a value from the UI to a data structure.
virtual bool TransferDataToMenu ()
 Override to pass a value from a data structure to the UI.
void Init ()
 Initialize variables.

Protected Attributes

wxString * m_stringPtr
int * m_intPtr


Detailed Description

Use this with AxChoiceMenuItem to specify a string pointer that should be updated to the current value of the menu item.

Constructor & Destructor Documentation

AxChoiceValidator::AxChoiceValidator ( const AxChoiceValidator validator  )  [inline]

AxChoiceValidator::AxChoiceValidator ( wxString *  ptr  )  [inline]

AxChoiceValidator::AxChoiceValidator ( int *  ptr  )  [inline]

AxChoiceValidator::AxChoiceValidator (  )  [inline]

AxChoiceValidator::~AxChoiceValidator (  )  [inline]


Member Function Documentation

virtual AxValidator* AxChoiceValidator::Clone (  )  const [inline, virtual]

Override to make the object clonable.

Implements AxValidator.

void AxChoiceValidator::Copy ( const AxChoiceValidator validator  )  [inline]

void AxChoiceValidator::Init (  )  [inline]

Initialize variables.

Reimplemented from AxValidator.

bool AxChoiceValidator::TransferDataFromMenu (  )  [virtual]

Override to pass a value from the UI to a data structure.

Reimplemented from AxValidator.

bool AxChoiceValidator::TransferDataToMenu (  )  [virtual]

Override to pass a value from a data structure to the UI.

Reimplemented from AxValidator.


Member Data Documentation

int* AxChoiceValidator::m_intPtr [protected]

wxString* AxChoiceValidator::m_stringPtr [protected]


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