| java.awt.LayoutManager
All known Subclasses: java.awt.GridLayout, java.awt.FlowLayout,
LayoutManager | public interface LayoutManager (Code) | | Defines the interface for classes that know how to layout Containers.
See Also: Container version: 1.19, 08/19/02 author: Sami Shaio author: Arthur van Hoff |
addLayoutComponent | void addLayoutComponent(String name, Component comp)(Code) | | Adds the specified component with the specified name to
the layout.
Parameters: name - the component name Parameters: comp - the component to be added |
layoutContainer | void layoutContainer(Container parent)(Code) | | Lays out the container in the specified panel.
Parameters: parent - the component which needs to be laid out |
preferredLayoutSize | Dimension preferredLayoutSize(Container parent)(Code) | | Calculates the preferred size dimensions for the specified
panel given the components in the specified parent container.
Parameters: parent - the component to be laid out See Also: LayoutManager.minimumLayoutSize |
removeLayoutComponent | void removeLayoutComponent(Component comp)(Code) | | Removes the specified component from the layout.
Parameters: comp - the component ot be removed |
|
|