VCF::TabbedPages Class Reference
#include <vcf/ApplicationKit/TabbedPages.h>
Inheritance diagram for VCF::TabbedPages:
List of all members.
Constructor & Destructor Documentation
| VCF::TabbedPages::TabbedPages |
( |
|
) |
|
|
| virtual VCF::TabbedPages::~TabbedPages |
( |
|
) |
[virtual] |
|
Member Function Documentation
| double VCF::TabbedPages::getBorderWidth |
( |
|
) |
|
|
| virtual Rect VCF::TabbedPages::getClientBounds |
( |
const bool & |
includeBorder = true |
) |
[virtual] |
|
|
|
Returns the bounds in terms of the control's coordinates.
Thus the top and left will typically be 0.0, 0.0, and the right and bottom of the bounds will typically equal the width and height of the control.
Reimplemented from VCF::Control. |
| TabModel* VCF::TabbedPages::getModel |
( |
|
) |
|
|
| double VCF::TabbedPages::getTabHeight |
( |
|
) |
|
|
| void VCF::TabbedPages::init |
( |
|
) |
|
|
| virtual void VCF::TabbedPages::mouseDown |
( |
MouseEvent * |
event |
) |
[virtual] |
|
|
|
Called when one (or more) of the mouse buttons are held down.
override this to provide specific behaviours when the mouse buttons are held down
Reimplemented from VCF::Control. |
| virtual void VCF::TabbedPages::mouseMove |
( |
MouseEvent * |
event |
) |
[virtual] |
|
|
|
Called when the mouse moves over the control.
override this to provide specific behaviours when the mouse moves over the control.
Reimplemented from VCF::Control. |
| virtual void VCF::TabbedPages::mouseUp |
( |
MouseEvent * |
event |
) |
[virtual] |
|
|
|
Called when one (or more) of the mouse buttons are released.
override this to provide specific behaviours when the mouse buttons are released.
Reimplemented from VCF::Control. |
| void VCF::TabbedPages::onScrollButtonClicked |
( |
ButtonEvent * |
e |
) |
[protected] |
|
| void VCF::TabbedPages::onTabPageRemoved |
( |
TabModelEvent * |
event |
) |
|
|
| void VCF::TabbedPages::onTabPageSelected |
( |
TabModelEvent * |
event |
) |
|
|
| virtual void VCF::TabbedPages::paint |
( |
GraphicsContext * |
context |
) |
[virtual] |
|
|
|
Paints the control.
Called by the underlying windowing system whenever the control needs to be painted. Note that in some cases the GraphicsContext passed in to this method may not be the same pointer as the GraphicsContext that the control holds itself. During the paint() method you should only use the context value for all your drawing and not the one returned in getContext(). The value returned by getContext() should be used for drawing that takes place outside of the paint() method.
If the control allows paint notification, then the framework will fire an event to the BeforeControlPainted delegate prior to calling the control's paint() method. After the paint() method has returned, if the control allows paint notification, the framework will fire an event to the AfterControlPainted delegate. This allows outside observers to take part in the paint cycle, but beware that this does come at a bit of a cost, so use this feature sparingly.
Note: This should NEVER be called by programmers using the VCF, it will be called for you during the course of your applications native event loop, and is only here for providing custom drawing routines for controls. In other words: you implement it, you never call it yourself. - See also:
- getAllowPaintNotification
Reimplemented from VCF::CustomControl. |
| void VCF::TabbedPages::setBorderWidth |
( |
const double & |
borderWidth |
) |
|
|
| void VCF::TabbedPages::setTabHeight |
( |
const double & |
tabHeight |
) |
|
|
| void VCF::TabbedPages::setTabModel |
( |
TabModel * |
model |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following file: