wxPg::wxItemContainer_list_updater Class Reference

List updater for wxItemContainer. More...

Inheritance diagram for wxPg::wxItemContainer_list_updater:

wxPg::wxWindow_list_updater

List of all members.

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.


Detailed Description

List updater for wxItemContainer.


Constructor & Destructor Documentation

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

Constructor.

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

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

Constructor.

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

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

Constructor.

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

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

Constructor.

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

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

Constructor.

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

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

Constructor.

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

wxPg::wxItemContainer_list_updater::wxItemContainer_list_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_list_updater::begin_update ( Result_data_provider data  )  [virtual]

Start updating window.

Called when starting update and only if use_fo() return false.

Parameters:
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.

Returns:
current database field name.

void wxPg::wxItemContainer_list_updater::field ( const wxString &  field  )  [inline]

Change field.

Parameters:
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.

Parameters:
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.

Parameters:
data - data provider to obtain data from, do restore it to the state before the call!

Implements wxPg::wxWindow_list_updater.


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