Version: 3.0.3
wxDataViewModelNotifier Class Referenceabstract

#include <wx/dataview.h>

Detailed Description

A wxDataViewModelNotifier instance is owned by a wxDataViewModel and mirrors its notification interface.

See the documentation of that class for further information.

Library:  wxAdvanced
Category:  wxDataViewCtrl Related Classes

Public Member Functions

 wxDataViewModelNotifier ()
 Constructor. More...
 
virtual ~wxDataViewModelNotifier ()
 Destructor. More...
 
virtual bool Cleared ()=0
 Called by owning model. More...
 
wxDataViewModelGetOwner () const
 Get owning wxDataViewModel. More...
 
virtual bool ItemAdded (const wxDataViewItem &parent, const wxDataViewItem &item)=0
 Called by owning model. More...
 
virtual bool ItemChanged (const wxDataViewItem &item)=0
 Called by owning model. More...
 
virtual bool ItemDeleted (const wxDataViewItem &parent, const wxDataViewItem &item)=0
 Called by owning model. More...
 
virtual bool ItemsAdded (const wxDataViewItem &parent, const wxDataViewItemArray &items)
 Called by owning model. More...
 
virtual bool ItemsChanged (const wxDataViewItemArray &items)
 Called by owning model. More...
 
virtual bool ItemsDeleted (const wxDataViewItem &parent, const wxDataViewItemArray &items)
 Called by owning model. More...
 
virtual void Resort ()=0
 Called by owning model. More...
 
void SetOwner (wxDataViewModel *owner)
 Set owner of this notifier. More...
 
virtual bool ValueChanged (const wxDataViewItem &item, unsigned int col)=0
 Called by owning model. More...
 

Constructor & Destructor Documentation

wxDataViewModelNotifier::wxDataViewModelNotifier ( )

Constructor.

virtual wxDataViewModelNotifier::~wxDataViewModelNotifier ( )
virtual

Destructor.

Member Function Documentation

virtual bool wxDataViewModelNotifier::Cleared ( )
pure virtual

Called by owning model.

wxDataViewModel* wxDataViewModelNotifier::GetOwner ( ) const

Get owning wxDataViewModel.

virtual bool wxDataViewModelNotifier::ItemAdded ( const wxDataViewItem parent,
const wxDataViewItem item 
)
pure virtual

Called by owning model.

Returns
Always return true from this function in derived classes.
virtual bool wxDataViewModelNotifier::ItemChanged ( const wxDataViewItem item)
pure virtual

Called by owning model.

Returns
Always return true from this function in derived classes.
virtual bool wxDataViewModelNotifier::ItemDeleted ( const wxDataViewItem parent,
const wxDataViewItem item 
)
pure virtual

Called by owning model.

Returns
Always return true from this function in derived classes.
virtual bool wxDataViewModelNotifier::ItemsAdded ( const wxDataViewItem parent,
const wxDataViewItemArray &  items 
)
virtual

Called by owning model.

Returns
Always return true from this function in derived classes.
virtual bool wxDataViewModelNotifier::ItemsChanged ( const wxDataViewItemArray &  items)
virtual

Called by owning model.

Returns
Always return true from this function in derived classes.
virtual bool wxDataViewModelNotifier::ItemsDeleted ( const wxDataViewItem parent,
const wxDataViewItemArray &  items 
)
virtual

Called by owning model.

Returns
Always return true from this function in derived classes.
virtual void wxDataViewModelNotifier::Resort ( )
pure virtual

Called by owning model.

void wxDataViewModelNotifier::SetOwner ( wxDataViewModel owner)

Set owner of this notifier.

Used internally.

virtual bool wxDataViewModelNotifier::ValueChanged ( const wxDataViewItem item,
unsigned int  col 
)
pure virtual

Called by owning model.

Returns
Always return true from this function in derived classes.