Public Member Functions | |
wxWindow_updater (wxWindow *win) | |
Constructor. | |
virtual | ~wxWindow_updater () |
Destructor. | |
virtual void | operator() (Data_row_provider *data)=0 |
Update control. | |
virtual void | operator() (Updatable_row *row) |
Store value to field. | |
virtual bool | delete_me () |
Should this object be deleted by binding object. | |
wxWindow * | window () |
Get current window, updated by this updater. |
Derive new window updater for any new wxWindow descendant you want to be supported by Row_binding.
wxPg::wxWindow_updater::wxWindow_updater | ( | wxWindow * | win | ) | [explicit] |
Constructor.
win | - wxWindow to be updated by this updater. |
virtual wxPg::wxWindow_updater::~wxWindow_updater | ( | ) | [inline, virtual] |
Destructor.
virtual bool wxPg::wxWindow_updater::delete_me | ( | ) | [inline, virtual] |
Should this object be deleted by binding object.
This method indicates, whether binding object is responsible for deleting this object.
virtual void wxPg::wxWindow_updater::operator() | ( | Updatable_row * | row | ) | [inline, virtual] |
Store value to field.
Override this method in derived class to provide update functionality.
row | - updatable row, containing field to update. |
Reimplemented in wxPg::wxCalendarCtrl_updater, wxPg::wxComboBox_updater, wxPg::wxComboCtrl_updater, wxPg::wxRichTextCtrl_updater, wxPg::wxTextCtrl_updater, wxPg::wxSpinCtrl_updater, wxPg::wxDatePickerCtrl_updater, wxPg::wxCheckBox_updater, wxPg::wxSpinButton_updater, wxPg::wxItemContainer_updater, wxPg::wxRadioBox_updater, and wxPg::wxVListBox_updater.
virtual void wxPg::wxWindow_updater::operator() | ( | Data_row_provider * | data | ) | [pure virtual] |
Update control.
This method should be overrided in derived class.
win | - wxWindow to be updated. | |
data | - row to obtain value from. |
Implemented in wxPg::wxCalendarCtrl_updater, wxPg::wxComboBox_updater, wxPg::wxComboCtrl_updater, wxPg::wxRichTextCtrl_updater, wxPg::wxTextCtrl_updater, wxPg::wxSpinCtrl_updater, wxPg::wxStaticText_updater, wxPg::wxHyperlinkCtrl_updater, wxPg::wxHyperlinkCtrl_updater_wlabel, wxPg::wxDatePickerCtrl_updater, wxPg::wxCheckBox_updater, wxPg::wxGauge_updater, wxPg::wxSpinButton_updater, wxPg::wxItemContainer_updater, wxPg::wxRadioBox_updater, wxPg::wxVListBox_updater, and wxPg::wxHtmlWindow_updater.
wxWindow* wxPg::wxWindow_updater::window | ( | ) | [inline] |
Get current window, updated by this updater.