JavaTM 2 Platform
Standard Ed. 6

javax.swing.plaf.basic
类 BasicInternalFrameTitlePane.TitlePaneLayout

java.lang.Object
  继承者 javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout
所有已实现的接口:
LayoutManager
正在封闭类:
BasicInternalFrameTitlePane

public class BasicInternalFrameTitlePane.TitlePaneLayout
extends Object
implements LayoutManager

此类应视为“受保护”内部类。仅在 BasicInternalFrameTitlePane 的子类中实例化此类。


构造方法摘要
BasicInternalFrameTitlePane.TitlePaneLayout()
           
 
方法摘要
 void addLayoutComponent(String name, Component c)
          如果布局管理器使用每组件字符串,则将组件 comp 添加到布局,并将它与 name 指定的字符串关联。
 void layoutContainer(Container c)
          布置指定容器。
 Dimension minimumLayoutSize(Container c)
          给定指定容器所包含的组件,计算该容器的最小大小维数。
 Dimension preferredLayoutSize(Container c)
          给定指定容器所包含的组件,计算该容器的首选大小维数。
 void removeLayoutComponent(Component c)
          从布局移除指定组件。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BasicInternalFrameTitlePane.TitlePaneLayout

public BasicInternalFrameTitlePane.TitlePaneLayout()
方法详细信息

addLayoutComponent

public void addLayoutComponent(String name,
                               Component c)
从接口 LayoutManager 复制的描述
如果布局管理器使用每组件字符串,则将组件 comp 添加到布局,并将它与 name 指定的字符串关联。

指定者:
接口 LayoutManager 中的 addLayoutComponent
参数:
name - 要与组件关联的字符串
c - 要添加的组件

removeLayoutComponent

public void removeLayoutComponent(Component c)
从接口 LayoutManager 复制的描述
从布局移除指定组件。

指定者:
接口 LayoutManager 中的 removeLayoutComponent
参数:
c - 要移除的组件

preferredLayoutSize

public Dimension preferredLayoutSize(Container c)
从接口 LayoutManager 复制的描述
给定指定容器所包含的组件,计算该容器的首选大小维数。

指定者:
接口 LayoutManager 中的 preferredLayoutSize
参数:
c - 要布置的容器
另请参见:
LayoutManager.minimumLayoutSize(java.awt.Container)

minimumLayoutSize

public Dimension minimumLayoutSize(Container c)
从接口 LayoutManager 复制的描述
给定指定容器所包含的组件,计算该容器的最小大小维数。

指定者:
接口 LayoutManager 中的 minimumLayoutSize
参数:
c - 要布置的组件

layoutContainer

public void layoutContainer(Container c)
从接口 LayoutManager 复制的描述
布置指定容器。

指定者:
接口 LayoutManager 中的 layoutContainer
参数:
c - 要布置的容器

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only