Public Member Functions | |
LayoutManager () | |
LayoutManager (const LayoutManager &rhs) | |
LayoutManager & | operator= (const LayoutManager &rhs) |
void | swap (LayoutManager &rhs) throw () |
virtual | ~LayoutManager () |
int | getVgap () const |
int | getHgap () const |
void | setHgap (int hGap) |
void | setVgap (int vGap) |
virtual void | layoutContainer (Container *parent) |
virtual void | addLayoutComponent (Component *comp, int constraint) |
virtual void | removeLayoutComponent (Component *comp) |
virtual const util::Dimension | preferredLayoutSize (const Container *parent) const |
|
Creates a new LayoutManager. |
|
Copy constructor. |
|
Destructor. |
|
Assignment operator. |
|
Swaps the contents of a LayoutManager. |
|
Returns the vertical spacing between Components. |
|
Returns the horizontal spacing between Components. |
|
Sets the horizontal spacing between Components. |
|
Sets the vertical spacing between Components. |
|
Lays out the Components in the given Container.
Reimplemented in ui::layout::BorderLayout, ui::layout::FlowLayout, ui::layout::GridLayout, and ui::layout::PopupLayout. |
|
Adds a Component to the LayoutManager with a specific constraint.
Reimplemented in ui::layout::BorderLayout, and ui::layout::PopupLayout. |
|
Removes the Component from this LayoutManager.
Reimplemented in ui::layout::BorderLayout, and ui::layout::PopupLayout. |
|
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 in ui::layout::BorderLayout, ui::layout::FlowLayout, ui::layout::GridLayout, and ui::layout::PopupLayout. |