wxPg::wxSpinButton_updater Class Reference

Updater for wxSpinButton. More...

Inheritance diagram for wxPg::wxSpinButton_updater:

wxPg::wxWindow_def_updater wxPg::wxWindow_updater

List of all members.

Public Member Functions

 wxSpinButton_updater (wxSpinButton *spin, 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 wxSpinButton.


Constructor & Destructor Documentation

wxPg::wxSpinButton_updater::wxSpinButton_updater ( wxSpinButton *  spin,
const wxString &  field 
)

Constructor.

Parameters:
spin - wxSpinButton to be updated.
field - database field name.


Member Function Documentation

virtual void wxPg::wxSpinButton_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::wxSpinButton_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