All Packages Class Hierarchy This Package Previous Next Index
Interface java.awt.LayoutManager
- public interface LayoutManager
Defines the interface for classes that know how to layout Containers.
- See Also:
- Container
-
addLayoutComponent(String, Component)
- Adds the specified component with the specified name to
the layout.
-
layoutContainer(Container)
-
Lays out the container in the specified panel.
-
minimumLayoutSize(Container)
-
Calculates the minimum size dimensions for the specified
panel given the components in the specified parent container.
-
preferredLayoutSize(Container)
- Calculates the preferred size dimensions for the specified
panel given the components in the specified parent container.
-
removeLayoutComponent(Component)
- Removes the specified component from the layout.
addLayoutComponent
method addLayoutComponent(name=String, -
comp=Component) public abstract
- Adds the specified component with the specified name to
the layout.
- Parameters:
- name - the component name
- comp - the component to be added
removeLayoutComponent
method removeLayoutComponent(comp=Component) public abstract
- Removes the specified component from the layout.
- Parameters:
- comp - the component ot be removed
preferredLayoutSize
method preferredLayoutSize(parent=Container) returns Dimension public abstract
- 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:
- minimumLayoutSize
minimumLayoutSize
method minimumLayoutSize(parent=Container) returns Dimension public abstract
- Calculates the minimum size dimensions for the specified
panel given the components in the specified parent container.
- Parameters:
- parent - the component to be laid out
- See Also:
- preferredLayoutSize
layoutContainer
method layoutContainer(parent=Container) public abstract
- Lays out the container in the specified panel.
- Parameters:
- parent - the component which needs to be laid out
All Packages Class Hierarchy This Package Previous Next Index