VCF::StandardContainer Class Reference
Basic implementation of a container handles basic alignment,layout of child components.
More...
#include <vcf/ApplicationKit/Containers.h>
Inheritance diagram for VCF::StandardContainer:
List of all members.
|
Public Member Functions |
| | StandardContainer () |
| | StandardContainer (Component *owner) |
| virtual void | resizeChildren (Control *control) |
| | resizes all the children, according to their alignment types and anchor values.
|
| double | getBottomBorderHeight () |
| void | setBottomBorderHeight (const double &bottomBorderHeight) |
| double | getTopBorderHeight () |
| void | setTopBorderHeight (const double &topBorderHeight) |
| double | getRightBorderWidth () |
| void | setRightBorderWidth (const double &rightBorderWidth) |
| double | getLeftBorderWidth () |
| void | setLeftBorderWidth (const double &leftBorderWidth) |
| void | setBorderWidth (const double &borderWidth) |
| void | calcAlignmentList (const AlignmentType &alignment, std::vector< Control * > &alignmentList) |
| Control * | getControlWithAlignment (const AlignmentType &alignment, const bool &first=true) |
| Control * | getControlInAlignmentList (const AlignmentType &alignment, const bool &first=true) |
| virtual bool | generatePropertyValue (const String &fullPropertyName, Property *property, VariantData *value, String &strValue) |
Protected Member Functions |
| bool | insertBefore (Control *initialControl, const bool &controlJustAdded, Control *c1, Control *c2, const AlignmentType &alignment, Rect *bounds) |
| void | doPosition (Control *component, const AlignmentType &alignment, Rect *rect) |
| void | doAlign (Control *initialControl, const bool &controlJustAdded, const AlignmentType &alignment, Rect *rect) |
| bool | alignWork () |
| bool | anchorWork () |
| void | doAnchors (Control *control, const bool &controlJustAdded, Rect *bounds) |
| void | alignFixed (Control *initialControl, const bool &controlJustAdded, const AlignmentType &alignment, Rect *rect) |
Protected Attributes |
| double | bottomBorderHeight_ |
| double | topBorderHeight_ |
| double | rightBorderWidth_ |
| double | leftBorderWidth_ |
Detailed Description
Basic implementation of a container handles basic alignment,layout of child components.
Constructor & Destructor Documentation
| VCF::StandardContainer::StandardContainer |
( |
|
) |
|
|
| VCF::StandardContainer::StandardContainer |
( |
Component * |
owner |
) |
|
|
Member Function Documentation
| void VCF::StandardContainer::alignFixed |
( |
Control * |
initialControl, |
|
|
const bool & |
controlJustAdded, |
|
|
const AlignmentType & |
alignment, |
|
|
Rect * |
rect |
|
) |
[protected] |
|
| bool VCF::StandardContainer::alignWork |
( |
|
) |
[protected] |
|
| bool VCF::StandardContainer::anchorWork |
( |
|
) |
[protected] |
|
| void VCF::StandardContainer::calcAlignmentList |
( |
const AlignmentType & |
alignment, |
|
|
std::vector< Control * > & |
alignmentList |
|
) |
|
|
| void VCF::StandardContainer::doAlign |
( |
Control * |
initialControl, |
|
|
const bool & |
controlJustAdded, |
|
|
const AlignmentType & |
alignment, |
|
|
Rect * |
rect |
|
) |
[protected] |
|
| void VCF::StandardContainer::doAnchors |
( |
Control * |
control, |
|
|
const bool & |
controlJustAdded, |
|
|
Rect * |
bounds |
|
) |
[protected] |
|
| void VCF::StandardContainer::doPosition |
( |
Control * |
component, |
|
|
const AlignmentType & |
alignment, |
|
|
Rect * |
rect |
|
) |
[protected] |
|
| virtual bool VCF::StandardContainer::generatePropertyValue |
( |
const String & |
fullPropertyName, |
|
|
Property * |
property, |
|
|
VariantData * |
value, |
|
|
String & |
strValue |
|
) |
[virtual] |
|
| double VCF::StandardContainer::getBottomBorderHeight |
( |
|
) |
[inline] |
|
| Control* VCF::StandardContainer::getControlInAlignmentList |
( |
const AlignmentType & |
alignment, |
|
|
const bool & |
first = true |
|
) |
|
|
| Control* VCF::StandardContainer::getControlWithAlignment |
( |
const AlignmentType & |
alignment, |
|
|
const bool & |
first = true |
|
) |
|
|
| double VCF::StandardContainer::getLeftBorderWidth |
( |
|
) |
[inline] |
|
| double VCF::StandardContainer::getRightBorderWidth |
( |
|
) |
[inline] |
|
| double VCF::StandardContainer::getTopBorderHeight |
( |
|
) |
[inline] |
|
| virtual void VCF::StandardContainer::resizeChildren |
( |
Control * |
control |
) |
[virtual] |
|
| void VCF::StandardContainer::setBorderWidth |
( |
const double & |
borderWidth |
) |
|
|
| void VCF::StandardContainer::setBottomBorderHeight |
( |
const double & |
bottomBorderHeight |
) |
|
|
| void VCF::StandardContainer::setLeftBorderWidth |
( |
const double & |
leftBorderWidth |
) |
|
|
| void VCF::StandardContainer::setRightBorderWidth |
( |
const double & |
rightBorderWidth |
) |
|
|
| void VCF::StandardContainer::setTopBorderHeight |
( |
const double & |
topBorderHeight |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following file: