Public Member Functions | |
wxItemContainer_list_updater (wxBitmapComboBox *combo, const wxString &field) | |
Constructor. | |
wxItemContainer_list_updater (wxChoice *list, const wxString &field) | |
Constructor. | |
wxItemContainer_list_updater (wxComboBox *combo, const wxString &field) | |
Constructor. | |
wxItemContainer_list_updater (wxSimpleHtmlListBox *list, const wxString &field) | |
Constructor. | |
wxItemContainer_list_updater (wxListBox *list, const wxString &field) | |
Constructor. | |
wxItemContainer_list_updater (wxOwnerDrawnComboBox *list, const wxString &field) | |
Constructor. | |
wxItemContainer_list_updater (wxRadioBox *radio_box, const wxString &field) | |
Constructor. | |
void | field (const wxString &field) |
Change field. | |
const wxString | field () const |
Get current field. | |
virtual void | begin_update (Result_data_provider *data) |
Start updating window. | |
virtual void | update_row (Result_data_provider *data) |
Update window by current row. | |
virtual void | end_update () |
End updating window. | |
virtual void | operator() (Result_data_provider *data) |
Update window all-at-once. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxBitmapComboBox * | combo, | |
const wxString & | field | |||
) |
Constructor.
combo | - wxBitmapComboBox to be updated. | |
field | - database field name. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxChoice * | list, | |
const wxString & | field | |||
) |
Constructor.
list | - wxChoice to be updated. | |
field | - database field name. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxComboBox * | combo, | |
const wxString & | field | |||
) |
Constructor.
combo | - wxComboBox to be updated. | |
field | - database field name. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxSimpleHtmlListBox * | list, | |
const wxString & | field | |||
) |
Constructor.
list | - wxSimpleHtmlListBox to be updated. | |
field | - database field name. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxListBox * | list, | |
const wxString & | field | |||
) |
Constructor.
list | - wxListBox to be updated. | |
field | - database field name. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxOwnerDrawnComboBox * | list, | |
const wxString & | field | |||
) |
Constructor.
list | - wxOwnerDrawnComboBox to be updated. | |
field | - database field name. |
wxPg::wxItemContainer_list_updater::wxItemContainer_list_updater | ( | wxRadioBox * | radio_box, | |
const wxString & | field | |||
) |
Constructor.
radio_box | - wxRadioBox to be updated. | |
field | - database field name. |
virtual void wxPg::wxItemContainer_list_updater::begin_update | ( | Result_data_provider * | data | ) | [virtual] |
Start updating window.
Called when starting update and only if use_fo() return false.
data | - data provider to obtain data from, do restore it to the state before the call! |
Implements wxPg::wxWindow_list_updater.
virtual void wxPg::wxItemContainer_list_updater::end_update | ( | ) | [virtual] |
End updating window.
Called after calls to update_row(). Is used only if use_fo() return false.
Implements wxPg::wxWindow_list_updater.
const wxString wxPg::wxItemContainer_list_updater::field | ( | ) | const [inline] |
Get current field.
void wxPg::wxItemContainer_list_updater::field | ( | const wxString & | field | ) | [inline] |
Change field.
field | - new database field name. |
virtual void wxPg::wxItemContainer_list_updater::operator() | ( | Result_data_provider * | data | ) | [virtual] |
Update window all-at-once.
This is called only if use_fo returns true and is called only once.
data | - data provider to obtain data from, do restore it to the state before the call! |
Implements wxPg::wxWindow_list_updater.
virtual void wxPg::wxItemContainer_list_updater::update_row | ( | Result_data_provider * | data | ) | [virtual] |
Update window by current row.
Called for each row in data, after a call to begin_update(). Is used only if use_fo() return false.
data | - data provider to obtain data from, do restore it to the state before the call! |
Implements wxPg::wxWindow_list_updater.