protected class BasicSplitPaneDivider.DividerLayout extends Object implements LayoutManager
BasicSplitPaneDivider 。
分配器的布局包括适当地移动左/右按钮。
| Modifier | Constructor and Description |
|---|---|
protected |
DividerLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String string, Component c)
如果布局管理器使用每个组件字符串,则将组件
comp添加到布局,将其与name指定的字符串相关
name 。
|
void |
layoutContainer(Container c)
放出指定的容器。
|
Dimension |
minimumLayoutSize(Container c)
计算指定容器的最小尺寸尺寸,给定其包含的组件。
|
Dimension |
preferredLayoutSize(Container c)
计算指定容器的首选大小尺寸,给定其包含的组件。
|
void |
removeLayoutComponent(Component c)
从布局中删除指定的组件。
|
public void layoutContainer(Container c)
LayoutManager复制
layoutContainer在界面
LayoutManager
c - 要布置的容器
public Dimension minimumLayoutSize(Container c)
LayoutManager
minimumLayoutSize在接口
LayoutManager
c - 要布局的组件
LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension preferredLayoutSize(Container c)
LayoutManager
preferredLayoutSize在界面
LayoutManager
c - 要布置的容器
LayoutManager.minimumLayoutSize(java.awt.Container)
public void removeLayoutComponent(Component c)
LayoutManager复制
removeLayoutComponent在界面
LayoutManager
c - 要删除的组件
public void addLayoutComponent(String string, Component c)
LayoutManager复制
comp添加到布局,将其与name指定的字符串相关
name 。
addLayoutComponent在界面
LayoutManager
string - 要与组件关联的字符串
c - the component to be added
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.