©
本文档使用
php.cn手册 发布
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
1 2 |
|
1 |
|
此类应视为“受保护”内部类。仅在 BasicTabbedPaneUI 的子类中实例化此类。
构造方法摘要 | |
---|---|
BasicTabbedPaneUI.TabbedPaneLayout()
|
方法摘要 | |
---|---|
void |
addLayoutComponent(String name,
Component comp)
如果布局管理器使用每组件字符串,则将组件 comp 添加到布局,并将它与 name 指定的字符串关联。 |
void |
calculateLayoutInfo()
|
protected Dimension |
calculateSize(boolean minimum)
|
protected void |
calculateTabRects(int tabPlacement,
int tabCount)
|
void |
layoutContainer(Container parent)
布置指定容器。 |
Dimension |
minimumLayoutSize(Container parent)
给定指定容器所包含的组件,计算该容器的最小大小维数。 |
protected void |
normalizeTabRuns(int tabPlacement,
int tabCount,
int start,
int max)
|
protected void |
padSelectedTab(int tabPlacement,
int selectedIndex)
|
protected void |
padTabRun(int tabPlacement,
int start,
int end,
int max)
|
Dimension |
preferredLayoutSize(Container parent)
给定指定容器所包含的组件,计算该容器的首选大小维数。 |
protected int |
preferredTabAreaHeight(int tabPlacement,
int width)
|
protected int |
preferredTabAreaWidth(int tabPlacement,
int height)
|
void |
removeLayoutComponent(Component comp)
从布局移除指定组件。 |
protected void |
rotateTabRuns(int tabPlacement,
int selectedRun)
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
1 |
|
方法详细信息 |
---|
1 2 |
|
LayoutManager
复制的描述comp
添加到布局,并将它与 name
指定的字符串关联。
LayoutManager
中的 addLayoutComponent
name
- 要与组件关联的字符串comp
- 要添加的组件1 |
|
LayoutManager
复制的描述
LayoutManager
中的 removeLayoutComponent
comp
- 要移除的组件1 |
|
LayoutManager
复制的描述
LayoutManager
中的 preferredLayoutSize
parent
- 要布置的容器LayoutManager.minimumLayoutSize(java.awt.Container)
1 |
|
LayoutManager
复制的描述
LayoutManager
中的 minimumLayoutSize
parent
- 要布置的组件1 |
|
1 2 |
|
1 2 |
|
1 |
|
LayoutManager
复制的描述
LayoutManager
中的 layoutContainer
parent
- 要布置的容器1 |
|
1 2 |
|
1 2 |
|
1 2 3 4 |
|
1 2 3 4 |
|
1 2 |
|
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。