|
wxShapeFramework
1.13.0 beta
|
Class encapsulates a rectangular shape derived from wxSFGridShape class which acts as a flexible grid-based container able to manage other assigned child shapes (it can control their position). The managed shapes are aligned into defined grid with a behaviour similar to classic wxWidget's wxFlexGridSizer class. More...
#include <FlexGridShape.h>


Public Member Functions | |
| XS_DECLARE_CLONABLE_CLASS (wxSFFlexGridShape) | |
| wxSFFlexGridShape () | |
| Default constructor. | |
| wxSFFlexGridShape (const wxRealPoint &pos, const wxRealPoint &size, int rows, int cols, int cellspace, wxSFDiagramManager *manager) | |
| User constructor. | |
| wxSFFlexGridShape (const wxSFFlexGridShape &obj) | |
| Copy constructor. | |
| virtual | ~wxSFFlexGridShape () |
| Destructor. | |
| virtual void | DoChildrenLayout () |
| Do layout of assigned child shapes. | |
Private Attributes | |
| wxXS::IntArray | m_arrRowSizes |
| wxXS::IntArray | m_arrColSizes |
| ShapePtrArray | m_arrChildShapes |
Class encapsulates a rectangular shape derived from wxSFGridShape class which acts as a flexible grid-based container able to manage other assigned child shapes (it can control their position). The managed shapes are aligned into defined grid with a behaviour similar to classic wxWidget's wxFlexGridSizer class.
Default constructor.
| wxSFFlexGridShape::wxSFFlexGridShape | ( | const wxRealPoint & | pos, |
| const wxRealPoint & | size, | ||
| int | rows, | ||
| int | cols, | ||
| int | cellspace, | ||
| wxSFDiagramManager * | manager | ||
| ) |
User constructor.
| pos | Initial position |
| size | Initial size |
| rows | Number of grid rows |
| cols | Number of grid columns |
| cellspace | Additional space between managed shapes |
| manager | Pointer to parent diagram manager |
| wxSFFlexGridShape::wxSFFlexGridShape | ( | const wxSFFlexGridShape & | obj | ) |
Copy constructor.
| obj | Reference to the source object |
| virtual wxSFFlexGridShape::~wxSFFlexGridShape | ( | ) | [virtual] |
Destructor.
| virtual void wxSFFlexGridShape::DoChildrenLayout | ( | ) | [virtual] |
Do layout of assigned child shapes.
Reimplemented from wxSFGridShape.
ShapePtrArray wxSFFlexGridShape::m_arrChildShapes [private] |
wxXS::IntArray wxSFFlexGridShape::m_arrColSizes [private] |
wxXS::IntArray wxSFFlexGridShape::m_arrRowSizes [private] |