public class BasicInternalFrameUI.InternalFrameLayout extends Object implements LayoutManager
| Constructor and Description |
|---|
BasicInternalFrameUI.InternalFrameLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String name,
Component c)
This method is called when the given Component is added to the
JInternalFrame.
|
void |
layoutContainer(Container c)
This method is used to set the bounds of the children of the
JInternalFrame.
|
Dimension |
minimumLayoutSize(Container c)
This method returns the minimum layout size.
|
Dimension |
preferredLayoutSize(Container c)
Th8is method returns the preferred layout size.
|
void |
removeLayoutComponent(Component c)
This method is called when a Component is removed from the
JInternalFrame.
|
public BasicInternalFrameUI.InternalFrameLayout()
public void addLayoutComponent(String name, Component c)
addLayoutComponent in interface LayoutManagername - The name of the Component.c - The Component added.public void layoutContainer(Container c)
layoutContainer in interface LayoutManagerc - The Container to lay out.public Dimension minimumLayoutSize(Container c)
minimumLayoutSize in interface LayoutManagerc - The Container to find a minimum layout size for.LayoutManager.preferredLayoutSize(Container)public Dimension preferredLayoutSize(Container c)
preferredLayoutSize in interface LayoutManagerc - The Container to find a preferred layout size for.LayoutManager.minimumLayoutSize(Container)public void removeLayoutComponent(Component c)
removeLayoutComponent in interface LayoutManagerc - The Component that was removed.