wxPg::wxRadioBox_updater Class Reference

Updater for wxRadioBox. More...

Inheritance diagram for wxPg::wxRadioBox_updater:

wxPg::wxWindow_def_updater wxPg::wxWindow_updater

List of all members.

Public Member Functions

 wxRadioBox_updater (wxRadioBox *box, const wxString &field)
 Constructor.
virtual void operator() (Data_row_provider *data)
 Update control.
virtual void operator() (Updatable_row *row)
 Store value to field.


Detailed Description

Updater for wxRadioBox.

This updater updates by index, rather than by string value.


Constructor & Destructor Documentation

wxPg::wxRadioBox_updater::wxRadioBox_updater ( wxRadioBox *  box,
const wxString &  field 
)

Constructor.

Čparam box - wxRadioBox to be updated.

Parameters:
field - database field name.


Member Function Documentation

virtual void wxPg::wxRadioBox_updater::operator() ( Updatable_row row  )  [virtual]

Store value to field.

Override this method in derived class to provide update functionality.

Parameters:
row - updatable row, containing field to update.

Reimplemented from wxPg::wxWindow_updater.

virtual void wxPg::wxRadioBox_updater::operator() ( Data_row_provider data  )  [virtual]

Update control.

This method should be overrided in derived class.

Parameters:
win - wxWindow to be updated.
data - row to obtain value from.

Implements wxPg::wxWindow_updater.


Generated on Sat Sep 5 23:00:40 2009 for wxPostgres by  doxygen 1.5.8