Public Types | |
enum | LOCATIONS { NORTH, SOUTH, EAST, WEST, CENTER } |
Public Member Functions | |
void | layoutContainer (Container *parent) |
void | addLayoutComponent (Component *comp, int constraint) |
void | removeLayoutComponent (Component *comp) |
const util::Dimension | preferredLayoutSize (const Container *parent) const |
BorderLayout () | |
BorderLayout (const BorderLayout &rhs) | |
BorderLayout & | operator= (const BorderLayout &rhs) |
void | swap (BorderLayout &rhs) throw () |
BorderLayout (int hgap, int vgap) | |
BorderLayout (bool fillCorners, int hgap, int vgap) | |
BorderLayout (bool fillCorners) |
|
Defines placeholder locations. |
|
Default constructor. |
|
Copy constructor. |
|
Create a BorderLayout with given horizontal and vertical spacing.
|
|
Lay out the given Container.
Reimplemented from ui::layout::LayoutManager. |
|
Add's a component to the LayoutManager with given constraint. Note that any Component present at the constraints placeholder will be removed.
Reimplemented from ui::layout::LayoutManager. |
|
Remove the given Component from the LayoutManager.
Reimplemented from ui::layout::LayoutManager. |
|
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. |
|
Assignment operator. |
|
Swap this LayoutManager with another. |