|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LayoutManager
This interface is for laying out containers in a particular sequence.
Container| Method Summary | |
|---|---|
void |
addLayoutComponent(String name,
Component component)
Adds the specified component to the layout group. |
void |
layoutContainer(Container parent)
Lays out the components in the given container. |
Dimension |
minimumLayoutSize(Container parent)
Calculates the minimum size for this container, taking into account the components it contains. |
Dimension |
preferredLayoutSize(Container parent)
Calculates the preferred size for this container, taking into account the components it contains. |
void |
removeLayoutComponent(Component component)
Removes the specified component from the layout group. |
| Method Detail |
|---|
void addLayoutComponent(String name,
Component component)
name - the name of the component to addcomponent - the component to addvoid removeLayoutComponent(Component component)
component - the component to removeDimension preferredLayoutSize(Container parent)
parent - the parent container to lay out
minimumLayoutSize(Container)Dimension minimumLayoutSize(Container parent)
parent - the parent container to lay out
preferredLayoutSize(Container)void layoutContainer(Container parent)
parent - the container to lay out
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||