java.awt
public interface LayoutManager
Since: 1.0
See Also: Container
UNKNOWN: updated to 1.4
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.
|
Parameters: name the name of the component to add component the component to add
Parameters: parent the container to lay out
Parameters: parent the parent container to lay out
Returns: the minimum dimensions of this container
See Also: preferredLayoutSize
Parameters: parent the parent container to lay out
Returns: the preferred dimensions of this container
See Also: minimumLayoutSize
Parameters: component the component to remove