| Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object
|
+--uk.co.ist.mwt.MarginLayoutManager
|
+--uk.co.ist.mwt.PanedWindowLayout
| Method Summary | |
| void | addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Add a component to the layout manager's records. |
| void | constrain(java.awt.Component comp,
PanedWindowConstraints constr)
Add a set of constraints to one of the children in the layout; if the child has not yet been added, throw the constraints away (as the child must have been added to the container before we can safely add it here. |
| void | doLayout(java.awt.Container parent)
Wrapper for the doLayout with more parameters; calculates the missing parameters from the parent. |
| boolean | getSeparatorsOn()
Finds out whether or not this layout puts separators between the components it is laying out. |
| void | layoutContainer(java.awt.Container parent)
Lays out the container. |
| java.awt.Dimension | minimumLayoutSize(java.awt.Container parent)
Finds out the minimum size this layout needs in the given parent |
| java.awt.Dimension | preferredLayoutSize(java.awt.Container parent)
Finds out the preferred size this layout wants in the given parent |
| void | removeLayoutComponent(java.awt.Component comp)
Remove a component from the layout manager's records. |
| void | setSeparatorsOnIf(boolean whether)
Sets whether or not this layout puts separators between the components it is laying out. |
| Sorter | sortedChildren(java.awt.Container parent)
Sorts the children into the order of their position indices |
| Methods inherited from class uk.co.ist.mwt.MarginLayoutManager | |
| addLayoutComponent, getMarginHeight, getMarginWidth, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setMarginHeight, setMarginWidth | |
| Methods inherited from class java.lang.Object | |
| equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Method Detail |
public void constrain(java.awt.Component comp,
PanedWindowConstraints constr)
public Sorter sortedChildren(java.awt.Container parent)
parent
- the container of these childrenpublic void doLayout(java.awt.Container parent)
public void layoutContainer(java.awt.Container parent)
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
public void removeLayoutComponent(java.awt.Component comp)
comp
- would be the component to remove.
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
comp
- would be the component to add.
name
- would be the name with which to add the component.public void setSeparatorsOnIf(boolean whether)
public boolean getSeparatorsOn()
| Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||