VCF::ListModel Class Reference
The List model is a interface for describing what a model that implements a list of items should do. More...
#include <vcf/ApplicationKit/ListModel.h>
Inheritance diagram for VCF::ListModel:

Public Member Functions | |
| ListModel () | |
| virtual | ~ListModel () |
| virtual void | addContentsChangedHandler (EventHandler *handler)=0 |
| virtual void | removeContentsChangedHandler (EventHandler *handler)=0 |
| virtual void | addItemAddedHandler (EventHandler *handler)=0 |
| virtual void | removeItemAddedHandler (EventHandler *handler)=0 |
| virtual void | addItemDeletedHandler (EventHandler *handler)=0 |
| virtual void | removeItemDeletedHandler (EventHandler *handler)=0 |
| virtual void | deleteItem (ListItem *item)=0 |
| virtual void | deleteItemAtIndex (const uint32 &index)=0 |
| virtual void | insertItem (const uint32 &index, ListItem *item)=0 |
| virtual void | addItem (ListItem *item)=0 |
| virtual ListItem * | getItemFromIndex (const uint32 &index)=0 |
| virtual Enumerator< ListItem * > * | getItems ()=0 |
| virtual uint32 | getCount ()=0 |
| returns the number of the items in the model | |
Detailed Description
The List model is a interface for describing what a model that implements a list of items should do.It does not inherit from the Model class directly. This is to allow different implementations different base classes. For example, you might have a simple list model that inherits/implements the Model class, and the ListModel class. This would be suitable for most controls. However you might want a fancier implementation, perhaps that is based off of the Document and ListModel classes. This would still allow you to use the same control with either style.
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
returns the number of the items in the model
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
||||||||||||
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
|
|
Implemented in VCF::AbstractListModel. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/ListModel.h
