|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines the interface for classes that know how to layout Layoutable components inside a LayoutContainer container.
| Method Summary | |
java.awt.Dimension |
calcPreferredSize(LayoutContainer target)
Calculates the preferred size dimension for the layout container. |
void |
componentAdded(java.lang.Object id,
Layoutable lw,
int index)
Invoked when the specified layoutable component is added to the layout container (that uses the layout manager). |
void |
componentRemoved(Layoutable lw,
int index)
Invoked when the specified layoutable component is removed from the layout container, that uses the layout manager. |
void |
layout(LayoutContainer target)
Lays out the child layoutable components inside the layout container. |
| Method Detail |
public void componentAdded(java.lang.Object id,
Layoutable lw,
int index)
id - the layoutable component constraints.lw - the layoutable component that has been added.index - the child index.
public void componentRemoved(Layoutable lw,
int index)
lw - the layoutable component that has been removed.index - the child component index.public java.awt.Dimension calcPreferredSize(LayoutContainer target)
target - the layout container.public void layout(LayoutContainer target)
target - the layout container that needs to be laid out.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||