wxPg::wxItemContainer_updater Class Reference

Updater for various wxItemContainer decendants. More...

Inheritance diagram for wxPg::wxItemContainer_updater:

wxPg::wxWindow_def_updater wxPg::wxWindow_updater

List of all members.

Public Member Functions

 wxItemContainer_updater (wxBitmapComboBox *combo, const wxString &field)
 Constructor.
 wxItemContainer_updater (wxChoice *list, const wxString &field)
 Constructor.
 wxItemContainer_updater (wxComboBox *combo, const wxString &field)
 Constructor.
 wxItemContainer_updater (wxSimpleHtmlListBox *list, const wxString &field)
 Constructor.
 wxItemContainer_updater (wxListBox *list, const wxString &field)
 Constructor.
 wxItemContainer_updater (wxOwnerDrawnComboBox *list, const wxString &field)
 Constructor.
 wxItemContainer_updater (wxRadioBox *radio_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 various wxItemContainer decendants.


Constructor & Destructor Documentation

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxBitmapComboBox *  combo,
const wxString &  field 
)

Constructor.

Parameters:
combo - wxBitmapComboBox to be updated.
field - database field name.

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxChoice *  list,
const wxString &  field 
)

Constructor.

Parameters:
list - wxChoice to be updated.
field - database field name.

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxComboBox *  combo,
const wxString &  field 
)

Constructor.

Parameters:
combo - wxComboBox to be updated.
field - database field name.

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxSimpleHtmlListBox *  list,
const wxString &  field 
)

Constructor.

Parameters:
list - wxSimpleHtmlListBox to be updated.
field - database field name.

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxListBox *  list,
const wxString &  field 
)

Constructor.

Parameters:
list - wxListBox to be updated.
field - database field name.

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxOwnerDrawnComboBox *  list,
const wxString &  field 
)

Constructor.

Parameters:
list - wxOwnerDrawnComboBox to be updated.
field - database field name.

wxPg::wxItemContainer_updater::wxItemContainer_updater ( wxRadioBox *  radio_box,
const wxString &  field 
)

Constructor.

Parameters:
radio_box - wxRadioBox to be updated.
field - database field name.


Member Function Documentation

virtual void wxPg::wxItemContainer_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::wxItemContainer_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 Wed Oct 7 23:14:39 2009 for wxPostgres by  doxygen 1.5.8