java.awt
Interface LayoutManager
java.lang.Object
|
+--java.awt.LayoutManager
public interface LayoutManager
This interface is for laying out containers in a particular sequence.
Since:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
addLayoutComponent
public void addLayoutComponent(java.lang.String name, java.awt.Component component)
Adds the specified component to the layout group.
Parameters:
layoutContainer
public void layoutContainer(java.awt.Container parent)
Lays out the components in the given container.
Parameters:
minimumLayoutSize
public Dimension minimumLayoutSize(java.awt.Container parent)
Calculates the minimum size for this container, taking into account
the components it contains.
Parameters:
Returns:
- the minimum dimensions of this container
See Also:
preferredLayoutSize
public Dimension preferredLayoutSize(java.awt.Container parent)
Calculates the preferred size for this container, taking into account
the components it contains.
Parameters:
Returns:
- the preferred dimensions of this container
See Also:
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component component)
Removes the specified component from the layout group.
Parameters: