wxPg::wxWindow_updater Class Reference

Base updater for window. More...

Inheritance diagram for wxPg::wxWindow_updater:

wxPg::wxWindow_def_updater wxPg::wxCalendarCtrl_updater wxPg::wxCheckBox_updater wxPg::wxComboBox_updater wxPg::wxComboCtrl_updater wxPg::wxDatePickerCtrl_updater wxPg::wxGauge_updater wxPg::wxHtmlWindow_updater wxPg::wxHyperlinkCtrl_updater wxPg::wxItemContainer_updater wxPg::wxRadioBox_updater wxPg::wxRichTextCtrl_updater wxPg::wxSpinButton_updater wxPg::wxSpinCtrl_updater wxPg::wxStaticText_updater wxPg::wxTextCtrl_updater wxPg::wxVListBox_updater

List of all members.

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.


Detailed Description

Base updater for window.

Derive new window updater for any new wxWindow descendant you want to be supported by Row_binding.


Constructor & Destructor Documentation

wxPg::wxWindow_updater::wxWindow_updater ( wxWindow *  win  )  [explicit]

Constructor.

Parameters:
win - wxWindow to be updated by this updater.

virtual wxPg::wxWindow_updater::~wxWindow_updater (  )  [inline, virtual]

Destructor.


Member Function Documentation

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.

Returns:
true to delete, false to keep.

virtual void wxPg::wxWindow_updater::operator() ( Updatable_row row  )  [inline, virtual]

virtual void wxPg::wxWindow_updater::operator() ( Data_row_provider data  )  [pure virtual]

wxWindow* wxPg::wxWindow_updater::window (  )  [inline]

Get current window, updated by this updater.

Returns:
currenly used window.


Generated on Wed Oct 7 23:14:39 2009 for wxPostgres by  doxygen 1.5.8