Public Member Functions | |
GridLayout (int rows, int cols) | |
GridLayout (int rows, int cols, int vGap, int hGap) | |
GridLayout (const GridLayout &rhs) | |
GridLayout & | operator= (const GridLayout &rhs) |
void | swap (GridLayout &rhs) throw () |
const util::Dimension | preferredLayoutSize (const Container *parent) const |
void | layoutContainer (Container *parent) |
void | setColumns (int cols) |
int | getColumns () const |
void | setRows (int rows) |
int | getRows () const |
|
Create a gridlayout with a defined set of rows and columns.
|
|
Create a gridlayout with a defined set of rows and columns, and given horizontal and vertical space.
|
|
Copy Constructor.
|
|
Returns the preferred Dimension the Container likes to have. This is used to calculate the preferredSize. It is not guarenteed to be used, but it could happen (one happy customer).
Reimplemented from ui::layout::LayoutManager. |
|
Lay out the given Container.
Reimplemented from ui::layout::LayoutManager. |
|
Set the number of columns for the grid.
|
|
Returns the current number of columns. |
|
Sets the number of rows for the grid.
|
|
Returns the number of rows. |