|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.awt
Interface LayoutManager

- All Known Subinterfaces:
- LayoutManager2
- All Known Implementing Classes:
- BorderLayout, CardLayout, FlowLayout, GridBagLayout, GridLayout
- public interface LayoutManager
This interface is for laying out containers in a particular sequence.
- Since:
- 1.0
| Method Summary | |
void |
addLayoutComponent(java.lang.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 |
addLayoutComponent
public void addLayoutComponent(java.lang.String name, Component component)
- Adds the specified component to the layout group.
removeLayoutComponent
public void removeLayoutComponent(Component component)
- Removes the specified component from the layout group.
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Calculates the preferred size for this container, taking into account
the components it contains.
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Calculates the minimum size for this container, taking into account
the components it contains.
layoutContainer
public void layoutContainer(Container parent)
- Lays out the components in the given container.
|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC