java.lang.Object
javax.swing.plaf.basic.BasicInternalFrameUI.InternalFrameLayout
- 所有已实现的接口:
-
LayoutManager
- 封闭类:
-
BasicInternalFrameUI
内部框架布局。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(String name, Component c) 如果布局管理器使用每个组件的字符串,则将组件comp添加到布局中,并将其与由name指定的字符串关联起来。void对指定的容器进行布局。计算指定容器的最小尺寸维度,考虑其中包含的组件。计算指定容器的首选尺寸维度,考虑其中包含的组件。void从布局中移除指定的组件。
-
Constructor Details
-
InternalFrameLayout
public InternalFrameLayout()构造一个InternalFrameLayout。
-
-
Method Details
-
addLayoutComponent
如果布局管理器使用每个组件的字符串,则将组件comp添加到布局中,并将其与由name指定的字符串关联起来。- 指定者:
-
addLayoutComponent在接口LayoutManager - 参数:
-
name- 与组件关联的字符串 -
c- 要添加的组件
-
removeLayoutComponent
从布局中移除指定的组件。- 指定者:
-
removeLayoutComponent在接口LayoutManager - 参数:
-
c- 要移除的组件
-
preferredLayoutSize
计算指定容器的首选尺寸维度,考虑其中包含的组件。- 指定者:
-
preferredLayoutSize在接口LayoutManager - 参数:
-
c- 要布局的容器 - 返回:
- 容器的首选尺寸
- 参见:
-
minimumLayoutSize
计算指定容器的最小尺寸维度,考虑其中包含的组件。- 指定者:
-
minimumLayoutSize在接口LayoutManager - 参数:
-
c- 要布局的组件 - 返回:
- 容器的最小尺寸
- 参见:
-
layoutContainer
对指定的容器进行布局。- 指定者:
-
layoutContainer在接口LayoutManager - 参数:
-
c- 要布局的容器
-