VCF::AbstractView Class Reference
Basic implementation of a view. More...
#include <vcf/ApplicationKit/AbstractView.h>
Inheritance diagram for VCF::AbstractView:

Public Member Functions | |
| AbstractView (Control *viewControl=NULL) | |
| virtual | ~AbstractView () |
| virtual Model * | getViewModel () |
| virtual void | setViewModel (Model *viewModel) |
| virtual Control * | getViewControl () |
| virtual void | setViewControl (Control *viewControl) |
| virtual void | paintView (GraphicsContext *context) |
| virtual void | updateView (Model *updatedModel) |
| updates the view. | |
Protected Attributes | |
| Model * | viewModel_ |
| Control * | viewControl_ |
Detailed Description
Basic implementation of a view.Serves as a starting point for your own specific implementation. Implements the basic view methods like get/setViewModel(), get/setViewControl, etc. Implementers of a view should probably derive from this class as opposed to arbitrarily reimplementing the functions. This means that only function you'll really need to implement is the paintView() method.
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
Implements VCF::View. |
|
|
Implements VCF::View. Reimplemented in VCF::Control. |
|
|
Implements VCF::View. |
|
|
Implements VCF::View. |
|
|
Implements VCF::View. Reimplemented in VCF::ComboBoxControl, and VCF::Control. |
|
|
updates the view. If the updatedModel is NULL, this signifies the model is detaching itself from the view, and the view should clean up it's display appropriately Implements VCF::View. Reimplemented in VCF::ToggledButton. |
Member Data Documentation
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/AbstractView.h
