软件包 | 描述 |
---|---|
java.applet |
提供创建一个小程序所需的类和一个小程序用来与它的小程序上下文进行通信的类。
|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
java.beans.beancontext |
提供有关豆上下文的类和接口。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.colorchooser |
包含由
JColorChooser 组件使用的类和接口。
|
javax.swing.event |
提供由摆动组件触发的事件。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.plaf.synth |
它是一个可更换皮肤的外观和感觉的绘画是授。
|
javax.swing.table |
处理
javax.swing.JTable 提供类和接口。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.tree |
处理
javax.swing.JTree 提供类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
Applet
一个小程序,是一个不打算自己运行的小程序,而是被嵌入到另一个应用程序中。
|
Modifier and Type | Class and Description |
---|---|
class |
Dialog
对话框是一个带有标题和边框的顶层窗口,通常用于从用户输入某种形式的输入。
|
class |
FileDialog
的
FileDialog 类显示一个对话框,用户可以选择一个文件。
|
class |
Frame
一个
Frame 是一个带有标题和边框的顶层窗口。
|
class |
Panel
Panel 是最简单的容器类。
|
class |
ScrollPane
一个容器类,它实现了一个单独的子组件的自动水平和/或垂直滚动。
|
class |
Window
一个
Window 对象是一个没有国界,没有菜单栏的顶层窗口。
|
Modifier and Type | Method and Description |
---|---|
Container |
KeyboardFocusManager.getCurrentFocusCycleRoot()
返回当前的焦点循环根,如果当前的焦点循环根在与调用线程相同的上下文中。
|
Container |
Window.getFocusCycleRootAncestor()
总是返回
null 因为Windows没有祖先;他们代表的组件层次结构的顶部。
|
Container |
Component.getFocusCycleRootAncestor()
返回这个组件的焦点遍历周期的焦点周期根的容器。
|
protected Container |
KeyboardFocusManager.getGlobalCurrentFocusCycleRoot()
返回当前的焦点循环根,即使调用线程在不同的上下文中比当前的焦点循环根。
|
protected static Container |
Toolkit.getNativeContainer(Component c)
给本地节点查询本地组件的本地容器的能力(例如,直接父可能是轻量级的)。
|
Container |
Component.getParent()
获取此组件的父。
|
Modifier and Type | Method and Description |
---|---|
protected void |
GridBagLayout.arrangeGrid(Container parent)
勾画出网格。
|
protected void |
GridBagLayout.ArrangeGrid(Container parent)
这种方法已经过时了,仅用于向后兼容提供新的代码应该叫
arrangeGrid 代替。
|
void |
DefaultKeyboardFocusManager.downFocusCycle(Container aContainer)
移动焦点下移一个焦点遍历周期。
|
abstract void |
KeyboardFocusManager.downFocusCycle(Container aContainer)
移动焦点下移一个焦点遍历周期。
|
void |
CardLayout.first(Container parent)
翻转容器的第一卡。
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
返回后,应确定接收焦点的组件。
|
abstract Component |
FocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
返回后,应确定接收焦点的组件。
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
返回前一接收焦点的组件。
|
abstract Component |
FocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
返回前一接收焦点的组件。
|
Component |
ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container aContainer)
返回焦点的默认组件。
|
abstract Component |
FocusTraversalPolicy.getDefaultComponent(Container aContainer)
返回焦点的默认组件。
|
Component |
ContainerOrderFocusTraversalPolicy.getFirstComponent(Container aContainer)
返回遍历循环中的第一个组件。
|
abstract Component |
FocusTraversalPolicy.getFirstComponent(Container aContainer)
返回遍历循环中的第一个组件。
|
Component |
ContainerOrderFocusTraversalPolicy.getLastComponent(Container aContainer)
返回遍历周期中的最后一个组件。
|
abstract Component |
FocusTraversalPolicy.getLastComponent(Container aContainer)
返回遍历周期中的最后一个组件。
|
float |
GridBagLayout.getLayoutAlignmentX(Container parent)
返回沿X轴的对齐方式。
|
float |
LayoutManager2.getLayoutAlignmentX(Container target)
返回沿X轴的对齐方式。
|
float |
BorderLayout.getLayoutAlignmentX(Container parent)
返回沿X轴的对齐方式。
|
float |
CardLayout.getLayoutAlignmentX(Container parent)
返回沿X轴的对齐方式。
|
float |
GridBagLayout.getLayoutAlignmentY(Container parent)
返回沿Y轴的对齐方式。
|
float |
LayoutManager2.getLayoutAlignmentY(Container target)
返回沿Y轴的对齐方式。
|
float |
BorderLayout.getLayoutAlignmentY(Container parent)
返回沿Y轴的对齐方式。
|
float |
CardLayout.getLayoutAlignmentY(Container parent)
返回沿Y轴的对齐方式。
|
Component |
BorderLayout.getLayoutComponent(Container target, Object constraints)
返回对应于给定的约束位置基于目标
Container 的元件定位组件。
|
protected GridBagLayoutInfo |
GridBagLayout.getLayoutInfo(Container parent, int sizeflag)
填写
GridBagLayoutInfo 实例管理孩子的当前设置。
|
protected GridBagLayoutInfo |
GridBagLayout.GetLayoutInfo(Container parent, int sizeflag)
这种方法已经过时了,仅用于向后兼容提供新的代码应该叫
getLayoutInfo 代替。
|
protected Dimension |
GridBagLayout.getMinSize(Container parent, GridBagLayoutInfo info)
指出了基于
getLayoutInfo 信息掌握的最小尺寸。
|
protected Dimension |
GridBagLayout.GetMinSize(Container parent, GridBagLayoutInfo info)
这种方法已经过时了,仅用于向后兼容提供新的代码应该叫
getMinSize 代替。
|
void |
GridBagLayout.invalidateLayout(Container target)
无效的布局,表明如果布局管理器已缓存的信息应该被丢弃。
|
void |
LayoutManager2.invalidateLayout(Container target)
无效的布局,表明如果布局管理器已缓存的信息应该被丢弃。
|
void |
BorderLayout.invalidateLayout(Container target)
无效的布局,表明如果布局管理器已缓存的信息应该被丢弃。
|
void |
CardLayout.invalidateLayout(Container target)
无效的布局,表明如果布局管理器已缓存的信息应该被丢弃。
|
boolean |
Container.isFocusCycleRoot(Container container)
返回指定的容器是否是这个容器的焦点遍历周期的焦点循环根。
|
boolean |
Component.isFocusCycleRoot(Container container)
返回指定容器是否是此组件的焦点遍历周期的焦点循环根。
|
void |
CardLayout.last(Container parent)
翻转到容器的最后一张牌。
|
void |
GridBagLayout.layoutContainer(Container parent)
使用此网格包布局布局指定指定的容器。
|
void |
BorderLayout.layoutContainer(Container target)
使用此边界布局布局的容器参数。
|
void |
FlowLayout.layoutContainer(Container target)
放置容器。
|
void |
GridLayout.layoutContainer(Container parent)
使用此布局布局指定的容器。
|
void |
CardLayout.layoutContainer(Container parent)
使用此卡布局布局指定的容器。
|
void |
LayoutManager.layoutContainer(Container parent)
指定指定的容器。
|
Dimension |
GridBagLayout.maximumLayoutSize(Container target)
返回给定目标容器中的组件的这个布局的最大尺寸。
|
Dimension |
LayoutManager2.maximumLayoutSize(Container target)
计算指定容器的最大大小尺寸,给出它所包含的组件。
|
Dimension |
BorderLayout.maximumLayoutSize(Container target)
返回给定目标容器中的组件的这个布局的最大尺寸。
|
Dimension |
CardLayout.maximumLayoutSize(Container target)
返回给定目标容器中的组件的这个布局的最大尺寸。
|
Dimension |
GridBagLayout.minimumLayoutSize(Container parent)
决定使用此网格袋布局
parent 容器的最小尺寸。
|
Dimension |
BorderLayout.minimumLayoutSize(Container target)
决定使用这个布局管理器的
target 容器的最小尺寸。
|
Dimension |
FlowLayout.minimumLayoutSize(Container target)
返回需要布局空看得见的组件包含在指定目标容器的最小尺寸。
|
Dimension |
GridLayout.minimumLayoutSize(Container parent)
使用此网格布局确定容器参数的最小大小。
|
Dimension |
CardLayout.minimumLayoutSize(Container parent)
计算指定面板的最小尺寸。
|
Dimension |
LayoutManager.minimumLayoutSize(Container parent)
计算指定容器的最小尺寸尺寸,给出它所包含的组件。
|
void |
CardLayout.next(Container parent)
翻转到指定的容器下卡。
|
Dimension |
GridBagLayout.preferredLayoutSize(Container parent)
决定使用此网格袋布局
parent 容器首选大小。
|
Dimension |
BorderLayout.preferredLayoutSize(Container target)
决定使用这个布局管理器的
target 容器首选大小,基于容器中的组件。
|
Dimension |
FlowLayout.preferredLayoutSize(Container target)
返回的首选尺寸为这种布局在指定的目标容器给空看得见的组件。
|
Dimension |
GridLayout.preferredLayoutSize(Container parent)
使用此网格布局确定容器参数的首选大小。
|
Dimension |
CardLayout.preferredLayoutSize(Container parent)
使用此卡布局确定容器参数的首选大小。
|
Dimension |
LayoutManager.preferredLayoutSize(Container parent)
计算指定容器的首选大小尺寸,给出它所包含的组件。
|
void |
CardLayout.previous(Container parent)
翻转到指定的容器上卡。
|
void |
KeyboardFocusManager.setGlobalCurrentFocusCycleRoot(Container newFocusCycleRoot)
设置当前的焦点循环根。
|
void |
CardLayout.show(Container parent, String name)
翻转组件被添加到这个布局与指定的
name ,使用
addLayoutComponent 。
|
Modifier and Type | Method and Description |
---|---|
Container |
HierarchyEvent.getChangedParent()
返回父组件的
getChanged() 返回的。
|
Container |
ContainerEvent.getContainer()
返回事件的发起人。
|
Constructor and Description |
---|
HierarchyEvent(Component source, int id, Component changed, Container changedParent)
构建了一个
HierarchyEvent 对象确定在
Component 层次变化。
|
HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags)
构建了一个
HierarchyEvent 对象确定在
Component 层次变化。
|
Modifier and Type | Method and Description |
---|---|
Container |
BeanContextContainerProxy.getContainer()
获取与此相关的
java.awt.Container
BeanContext 。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractButton
定义按钮和菜单项的常见行为。
|
class |
Box
一个轻量级容器使用BoxLayout对象作为它的布局管理器。
|
static class |
Box.Filler
一个参与布局的轻量级组件的实现,但没有视图。
|
class |
CellRendererPane
这类插入单元格渲染和使用它们的组件之间。
|
class |
DefaultListCellRenderer
在列表中呈现一个项目。
|
static class |
DefaultListCellRenderer.UIResource
defaultlistcellrenderer uiresource子类实现的。
|
class |
JApplet
一个扩展版本,增加了对
java.applet.Applet JFC/Swing组件体系结构支持。
|
class |
JButton
一个“推”按钮的实现。
|
class |
JCheckBox
一个复选框的实现,可以选择或取消选择一项,并显示其状态的用户。
|
class |
JCheckBoxMenuItem
一个菜单项,可以选择或取消选择。
|
class |
JColorChooser
JColorChooser 提供一块设计为允许用户操作和选择颜色的控件。
|
class |
JComboBox<E>
的一个组成部分,结合一个按钮或可编辑的字段和一个下拉列表。
|
class |
JComponent
除顶层容器外的所有摆动组件的基类。
|
class |
JDesktopPane
用于创建多个文档接口或虚拟桌面的容器。
|
class |
JDialog
创建对话框窗口的主要类。
|
class |
JEditorPane
一个编辑各种内容的文本组件。
|
class |
JFileChooser
JFileChooser 提供用户选择一个文件的一个简单的机制。
|
class |
JFormattedTextField
JFormattedTextField 延伸
JTextField 添加格式任意值的支持,以及检索一个特定的对象,一旦用户编辑文本。
|
class |
JFrame
一个扩展版本,增加了对
java.awt.Frame JFC/Swing组件体系结构支持。
|
class |
JInternalFrame
一个轻量级的对象,提供了许多土生土长的框架,特点包括拖动,关闭,成为一个图标,大小,标题显示,并支持菜单栏。
|
static class |
JInternalFrame.JDesktopIcon
这部分是图标化版本的
JInternalFrame 。
|
class |
JLabel
一个短文本字符串或图像的显示区域,或两者都有。
|
class |
JLayer<V extends Component>
JLayer 是Swing组件使您能够实现各种先进的涂装效果以及接收境内产生的所有
AWTEvent s通知通用装饰。
|
class |
JLayeredPane
JLayeredPane 增加深度到JFC/Swing容器,允许部分重叠,彼此需要的时候。
|
class |
JList<E>
显示对象列表的组件,并允许用户选择一个或多个项目。
|
class |
JMenu
一个菜单的实现,包含
JMenuItem s时显示用户选择的
JMenuBar 项弹出窗口。
|
class |
JMenuBar
菜单栏的实现。
|
class |
JMenuItem
菜单中的一个项目的实现。
|
class |
JOptionPane
JOptionPane 容易弹出一个标准的对话框提示用户输入一个值或告诉他们的东西。
|
class |
JPanel
JPanel 是一个通用的轻量级容器。
|
class |
JPasswordField
JPasswordField 是轻量级的,允许一个单一的文本视图表明什么是型线的编辑,但不显示原始字符。
|
class |
JPopupMenu
一个弹出式菜单的实现--一个小窗口,弹出并显示一系列的选择。
|
static class |
JPopupMenu.Separator
一个弹出式菜单具体分离器。
|
class |
JProgressBar
视觉上显示某个任务进度的组件。
|
class |
JRadioButton
一个单选按钮的实现,可以选择或取消选择一项,并显示其状态的用户。
|
class |
JRadioButtonMenuItem
一个广播按钮菜单项的实现。
|
class |
JRootPane
一个轻量级的容器使用后
JFrame ,
JDialog ,
JWindow ,
JApplet 幕后,和
JInternalFrame 。
|
class |
JScrollBar
一个滚动条的实现。
|
class |
JScrollPane
提供了一个轻量级的可滚动视图。
|
protected class |
JScrollPane.ScrollBar
默认情况下
JScrollPane 创建滚动条,这个类的实例。
|
class |
JSeparator
JSeparator 实施分隔线-最常用的菜单项被分解成逻辑分组之间的分压器提供了一个通用的组件。
|
class |
JSlider
一个组件,允许用户通过滑动一个有界区间内的旋钮来选择一个值。
|
class |
JSpinner
一个单行输入字段,可以让用户从一个有序的序列中选择一个数字或一个对象值。
|
static class |
JSpinner.DateEditor
一
JSpinner 的模型是一个
SpinnerDateModel 编辑。
|
static class |
JSpinner.DefaultEditor
一个简单的基类为更专门的编辑显示模式的电流值与
JFormattedTextField 只读视图。
|
static class |
JSpinner.ListEditor
一
JSpinner 的模型是一个
SpinnerListModel 编辑。
|
static class |
JSpinner.NumberEditor
一
JSpinner 的模型是一个
SpinnerNumberModel 编辑。
|
class |
JSplitPane
JSplitPane 是用来划分两(只有两个)
Component s。
|
class |
JTabbedPane
通过在一个给定的标题和/或图标上点击一个标签,让用户在一组组件之间切换的组件。
|
class |
JTable
的
JTable 用于显示和编辑细胞常规二维表。
|
class |
JTextArea
一个
JTextArea 是多线区域显示文本。
|
class |
JTextField
JTextField 是轻量级的,允许编辑单行文本。
|
class |
JTextPane
一个可以标记的文本组件,可以用图形表示的属性标记。
|
class |
JToggleButton
一个两个国家的按钮的实现。
|
class |
JToolBar
JToolBar 提供一个组件,用于显示常用的
Action s或控制是有用的。
|
static class |
JToolBar.Separator
工具栏特定分隔符。
|
class |
JToolTip
用于显示一个组件的“提示”。
|
class |
JTree
|
class |
JViewport
“视口”或“分流”,通过它你看到背后的信息。
|
class |
JWindow
一个
JWindow 是一个容器,可以显示用户的桌面上的任何地方。
|
Modifier and Type | Field and Description |
---|---|
protected Container |
JRootPane.contentPane
内容窗格。
|
Modifier and Type | Method and Description |
---|---|
protected Container |
JRootPane.createContentPane()
通过构造函数的方法来创建默认
contentPane 。
|
static Container |
SwingUtilities.getAncestorNamed(String name, Component comp)
方便的搜索方法在构件层次
comp 和返回的第一个目标
name 发现。
|
static Container |
SwingUtilities.getAncestorOfClass(类<?> c, Component comp)
方便的搜索方法在构件层次
comp 和返回第一个对象的类
c 发现。
|
Container |
JDialog.getContentPane()
返回该对话框的
contentPane 对象。
|
Container |
JApplet.getContentPane()
返回该对象的内容块的小程序。
|
Container |
JFrame.getContentPane()
返回此框架的
contentPane 对象。
|
Container |
JRootPane.getContentPane()
返回内容窗格,将组件的根玻璃容器的父。
|
Container |
JWindow.getContentPane()
返回
Container 是这个窗口的
contentPane 。
|
Container |
RootPaneContainer.getContentPane()
返回的内容块。
|
Container |
JInternalFrame.getContentPane()
返回此内部框架的内容窗格。
|
Container |
JInternalFrame.getFocusCycleRootAncestor()
总是返回
null 因为
JInternalFrame s必须始终是一个焦点遍历循环的根。
|
Container |
OverlayLayout.getTarget()
返回使用此布局管理器的容器。
|
Container |
BoxLayout.getTarget()
返回使用此布局管理器的容器。
|
Container |
JComponent.getTopLevelAncestor()
返回该组件的顶层的祖先(或含
Window 或
Applet ),或
null 如果该组件没有被添加到任何容器。
|
static Container |
SwingUtilities.getUnwrappedParent(Component component)
返回的
component 不是
JLayer 实例的始祖。
|
Modifier and Type | Method and Description |
---|---|
Component |
LayoutFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
返回后,应确定接收焦点的组件。
|
Component |
SortingFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
返回后,应确定接收焦点的组件。
|
Component |
DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent) |
Component |
LayoutFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
返回前一接收焦点的组件。
|
Component |
SortingFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
返回前一接收焦点的组件。
|
Component |
DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent) |
abstract int |
LayoutStyle.getContainerGap(JComponent component, int position, Container parent)
返回在其父的组件和指定的边缘之间的空间的数量。
|
Component |
SortingFocusTraversalPolicy.getDefaultComponent(Container aContainer)
返回焦点的默认组件。
|
Component |
LayoutFocusTraversalPolicy.getFirstComponent(Container aContainer)
返回遍历循环中的第一个组件。
|
Component |
SortingFocusTraversalPolicy.getFirstComponent(Container aContainer)
返回遍历循环中的第一个组件。
|
Component |
DefaultFocusManager.getFirstComponent(Container aContainer) |
Component |
LayoutFocusTraversalPolicy.getLastComponent(Container aContainer)
返回遍历周期中的最后一个组件。
|
Component |
SortingFocusTraversalPolicy.getLastComponent(Container aContainer)
返回遍历周期中的最后一个组件。
|
Component |
DefaultFocusManager.getLastComponent(Container aContainer) |
float |
OverlayLayout.getLayoutAlignmentX(Container target)
返回容器的X轴上的对齐方式。
|
float |
BoxLayout.getLayoutAlignmentX(Container target)
返回容器的X轴上的对齐方式。
|
float |
JRootPane.RootLayout.getLayoutAlignmentX(Container target) |
float |
GroupLayout.getLayoutAlignmentX(Container parent)
返回沿X轴的对齐方式。
|
float |
SpringLayout.getLayoutAlignmentX(Container p)
返回通道(中心)。
|
float |
OverlayLayout.getLayoutAlignmentY(Container target)
返回容器的Y轴上的对齐方式。
|
float |
BoxLayout.getLayoutAlignmentY(Container target)
返回容器的Y轴上的对齐方式。
|
float |
JRootPane.RootLayout.getLayoutAlignmentY(Container target) |
float |
GroupLayout.getLayoutAlignmentY(Container parent)
返回沿Y轴的对齐方式。
|
float |
SpringLayout.getLayoutAlignmentY(Container p)
返回通道(中心)。
|
abstract int |
LayoutStyle.getPreferredGap(JComponent component1, JComponent component2, LayoutStyle.ComponentPlacement type, int position, Container parent)
返回两个组件之间的空间的使用量。
|
void |
OverlayLayout.invalidateLayout(Container target)
表示一个孩子改变了它的布局相关的信息,这会导致任何缓存的计算被刷新。
|
void |
BoxLayout.invalidateLayout(Container target)
表示,一个孩子已经改变了它的布局相关的信息,因此,任何缓存的计算应该被刷新。
|
void |
JRootPane.RootLayout.invalidateLayout(Container target) |
void |
GroupLayout.invalidateLayout(Container parent)
无效的布局,表明如果布局管理器已缓存的信息应该被丢弃。
|
void |
SpringLayout.invalidateLayout(Container p) |
void |
ScrollPaneLayout.layoutContainer(Container parent)
制定滚动窗格。
|
void |
JSpinner.DefaultEditor.layoutContainer(Container parent)
调整一个(也是唯一的)孩子完全填充区域内的父母吧。
|
void |
OverlayLayout.layoutContainer(Container target)
由AWT在指定的容器需要铺设。
|
void |
BoxLayout.layoutContainer(Container target)
由AWT在指定的容器需要铺设。
|
void |
JRootPane.RootLayout.layoutContainer(Container parent)
指示布局管理器执行指定的容器的布局。
|
void |
GroupLayout.layoutContainer(Container parent)
指定指定的容器。
|
void |
ViewportLayout.layoutContainer(Container parent)
由AWT在指定的容器需要铺设。
|
void |
SpringLayout.layoutContainer(Container parent) |
Dimension |
OverlayLayout.maximumLayoutSize(Container target)
返回指定目标容器中包含的组件所需的最大尺寸。
|
Dimension |
BoxLayout.maximumLayoutSize(Container target)
返回目标容器可以用来放置它所包含的组件的最大尺寸。
|
Dimension |
JRootPane.RootLayout.maximumLayoutSize(Container target)
返回布局可以使用的最大数量的空间。
|
Dimension |
GroupLayout.maximumLayoutSize(Container parent)
返回指定容器的最大大小。
|
Dimension |
SpringLayout.maximumLayoutSize(Container parent) |
Dimension |
ScrollPaneLayout.minimumLayoutSize(Container parent)
一个
ScrollPane 最小尺寸的插图加视窗的最小尺寸的大小,再加上滚动窗格的viewportborder插图,加上可见头的最小尺寸,加上最小尺寸的滚动条的displaypolicy不是永远。
|
Dimension |
JSpinner.DefaultEditor.minimumLayoutSize(Container parent)
返回第一个最小尺寸的(唯一的)孩子,加上父母间隔尺寸。
|
Dimension |
OverlayLayout.minimumLayoutSize(Container target)
返回指定目标容器中包含的组件所需的最小尺寸。
|
Dimension |
BoxLayout.minimumLayoutSize(Container target)
返回指定目标容器中包含的组件所需的最小尺寸。
|
Dimension |
JRootPane.RootLayout.minimumLayoutSize(Container parent)
返回布局所需的最小空间。
|
Dimension |
GroupLayout.minimumLayoutSize(Container parent)
返回指定容器的最小大小。
|
Dimension |
ViewportLayout.minimumLayoutSize(Container parent)
返回布局所包含在指定目标容器中的组件所需的最小尺寸。
|
Dimension |
SpringLayout.minimumLayoutSize(Container parent) |
void |
CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
电话本。听(G,C,P,X,Y,W,H,假)。
|
static void |
SwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
描绘了一个组件来指定
Graphics 。
|
void |
CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate)
画一个细胞渲染组件C对图形对象的G.
|
void |
CellRendererPane.paintComponent(Graphics g, Component c, Container p, Rectangle r)
电话本。paintcomponent()与矩形的X,Y,宽度,高度场。
|
static void |
SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
描绘了一个组件来指定
Graphics 。
|
Dimension |
ScrollPaneLayout.preferredLayoutSize(Container parent)
一个
ScrollPane 首选大小是间隔尺寸,加上视口的首选大小,加上可见头首选大小,加上首选大小的滚动条,会出现在当前视图和当前的滚动条displaypolicies。
|
Dimension |
JSpinner.DefaultEditor.preferredLayoutSize(Container parent)
返回第一首选大小(也是唯一的)孩子的父母加上间隔尺寸。
|
Dimension |
OverlayLayout.preferredLayoutSize(Container target)
返回给定目标容器中的组件的此布局的首选尺寸。
|
Dimension |
BoxLayout.preferredLayoutSize(Container target)
返回此布局的首选尺寸,给定指定目标容器中的组件。
|
Dimension |
JRootPane.RootLayout.preferredLayoutSize(Container parent)
返回布局所要的空间的数量。
|
Dimension |
GroupLayout.preferredLayoutSize(Container parent)
返回指定容器的首选大小。
|
Dimension |
ViewportLayout.preferredLayoutSize(Container parent)
返回给定目标容器中的组件的此布局的首选尺寸。
|
Dimension |
SpringLayout.preferredLayoutSize(Container parent) |
void |
JDialog.setContentPane(Container contentPane)
集
contentPane 财产。
|
void |
JApplet.setContentPane(Container contentPane)
设置contentPane属性。
|
void |
JFrame.setContentPane(Container contentPane)
集
contentPane 财产。
|
void |
JRootPane.setContentPane(Container content)
集内容窗格,将组件的根玻璃容器的父。
|
void |
JWindow.setContentPane(Container contentPane)
设置此窗口的
contentPane 财产。
|
void |
RootPaneContainer.setContentPane(Container contentPane)
“内容块”是特定于应用程序的组件的主要容器。
|
void |
JInternalFrame.setContentPane(Container c)
这一集
JInternalFrame 的
contentPane 财产。
|
Constructor and Description |
---|
BoxLayout(Container target, int axis)
创建一个布局管理器,该管理器将沿给定的轴布局组件。
|
GroupLayout(Container host)
创建一个指定的
Container
GroupLayout 。
|
OverlayLayout(Container target)
构建一个执行覆盖安排的儿童的布局管理器。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractColorChooserPanel
这是色彩选择的抽象类。
|
Modifier and Type | Method and Description |
---|---|
Container |
AncestorEvent.getAncestor()
返回事件实际发生的祖先。
|
Container |
AncestorEvent.getAncestorParent()
返回发生在实际发生的事件的父的父。
|
Constructor and Description |
---|
AncestorEvent(JComponent source, int id, Container ancestor, Container ancestorParent)
构建以确定一个祖先组件的显示状态改变ancestorevent对象。
|
Modifier and Type | Class and Description |
---|---|
class |
BasicArrowButton
JButton对象,得出规模的一个基本方向的箭头。
|
class |
BasicComboBoxRenderer
组合框渲染
|
static class |
BasicComboBoxRenderer.UIResource
basiccomboboxrenderer uiresource子类实现的。
|
class |
BasicComboPopup
这是一个基本的
ComboPopup 接口实现。
|
class |
BasicInternalFrameTitlePane
管理基本标题栏的类
|
class |
BasicInternalFrameTitlePane.SystemMenuBar
这个类应该被视为一个“受保护的”内部类。
|
class |
BasicSplitPaneDivider
用basicsplitpaneui分频器。
|
protected class |
BasicToolBarUI.DragWindow |
Modifier and Type | Method and Description |
---|---|
protected Container |
BasicOptionPaneUI.createButtonArea()
创建并返回包含按钮的容器。
|
protected Container |
BasicOptionPaneUI.createMessageArea()
消息从installcomponents创建包含消息体中的容器。
|
protected Container |
BasicOptionPaneUI.createSeparator() |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicOptionPaneUI.addButtonComponents(Container container, Object[] buttons, int initialIndex)
创建代表每个对象在
buttons 合适的对象并将其添加到
container 。
|
protected void |
BasicOptionPaneUI.addIcon(Container top)
创建和添加JLabel代表图标返回到
top
getIcon 。
|
protected void |
BasicOptionPaneUI.addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated)
创建代表
msg 放进
container 合适的对象。
|
protected void |
BasicOptionPaneUI.burstStringInto(Container c, String d, int maxll)
递归创建新JLabel实例表示
d 。
|
float |
BasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentX(Container target)
返回沿X轴的对齐方式。
|
float |
BasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentY(Container target)
返回沿Y轴的对齐方式。
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.invalidateLayout(Container c)
什么也不做。
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.layoutContainer(Container container)
实际布局。
|
void |
BasicOptionPaneUI.ButtonAreaLayout.layoutContainer(Container container) |
void |
BasicInternalFrameTitlePane.TitlePaneLayout.layoutContainer(Container c) |
void |
BasicInternalFrameUI.InternalFrameLayout.layoutContainer(Container c) |
void |
BasicScrollBarUI.layoutContainer(Container scrollbarContainer) |
void |
BasicComboBoxUI.ComboBoxLayoutManager.layoutContainer(Container parent) |
void |
BasicTabbedPaneUI.TabbedPaneLayout.layoutContainer(Container parent) |
void |
BasicSplitPaneDivider.DividerLayout.layoutContainer(Container c) |
Dimension |
BasicSplitPaneUI.BasicHorizontalLayoutManager.maximumLayoutSize(Container target)
返回最大布局大小,这是双向的integer.max_value。
|
Dimension |
BasicSplitPaneUI.BasicHorizontalLayoutManager.minimumLayoutSize(Container container)
返回包含儿童所需的最小尺寸。
|
Dimension |
BasicOptionPaneUI.ButtonAreaLayout.minimumLayoutSize(Container c) |
Dimension |
BasicInternalFrameTitlePane.TitlePaneLayout.minimumLayoutSize(Container c) |
Dimension |
BasicInternalFrameUI.InternalFrameLayout.minimumLayoutSize(Container c) |
Dimension |
BasicScrollBarUI.minimumLayoutSize(Container scrollbarContainer) |
Dimension |
BasicComboBoxUI.ComboBoxLayoutManager.minimumLayoutSize(Container parent) |
Dimension |
BasicTabbedPaneUI.TabbedPaneLayout.minimumLayoutSize(Container parent) |
Dimension |
BasicSplitPaneDivider.DividerLayout.minimumLayoutSize(Container c) |
Dimension |
BasicSplitPaneUI.BasicHorizontalLayoutManager.preferredLayoutSize(Container container)
返回包含儿童所需的首选大小。
|
Dimension |
BasicOptionPaneUI.ButtonAreaLayout.preferredLayoutSize(Container c) |
Dimension |
BasicInternalFrameTitlePane.TitlePaneLayout.preferredLayoutSize(Container c) |
Dimension |
BasicInternalFrameUI.InternalFrameLayout.preferredLayoutSize(Container c) |
Dimension |
BasicScrollBarUI.preferredLayoutSize(Container scrollbarContainer) |
Dimension |
BasicComboBoxUI.ComboBoxLayoutManager.preferredLayoutSize(Container parent) |
Dimension |
DefaultMenuLayout.preferredLayoutSize(Container target) |
Dimension |
BasicTabbedPaneUI.TabbedPaneLayout.preferredLayoutSize(Container parent) |
Dimension |
BasicSplitPaneDivider.DividerLayout.preferredLayoutSize(Container c) |
Constructor and Description |
---|
DefaultMenuLayout(Container target, int axis) |
Modifier and Type | Class and Description |
---|---|
class |
MetalComboBoxButton
JButton类来帮助metalcomboboxui
|
class |
MetalComboBoxUI.MetalComboPopup
过时的。
作为java 2平台V1.4。
|
protected class |
MetalFileChooserUI.FileRenderer |
class |
MetalFileChooserUI.FilterComboBoxRenderer
渲染不同类型的大小和样式。
|
class |
MetalInternalFrameTitlePane
班级管理该标题栏
|
class |
MetalScrollButton
金属滚动条箭头JButton对象。
|
Modifier and Type | Method and Description |
---|---|
void |
MetalComboBoxUI.layoutComboBox(Container parent, MetalComboBoxUI.MetalComboBoxLayoutManager manager) |
void |
MetalComboBoxUI.MetalComboBoxLayoutManager.layoutContainer(Container parent) |
void |
MetalComboBoxUI.MetalComboBoxLayoutManager.superLayout(Container parent) |
Modifier and Type | Method and Description |
---|---|
protected Container |
SynthOptionPaneUI.createMessageArea()
所谓的
SynthOptionPaneUI.installComponents() 创造
Container 包含消息的正文。
|
protected Container |
SynthOptionPaneUI.createSeparator() |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTableCellRenderer
绘制标准类(显示)在
JTable 单个细胞。
|
static class |
DefaultTableCellRenderer.UIResource
DefaultTableCellRenderer
UIResource 子类实现的。
|
class |
JTableHeader
这是管理的
JTable 头对象。
|
Modifier and Type | Class and Description |
---|---|
class |
JTextComponent
JTextComponent 是Swing文本组件的基类。
|
Modifier and Type | Method and Description |
---|---|
Container |
View.getContainer()
获取主机视图的容器。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeCellEditor.DefaultTextField
TextField 时没有采用编辑提供。
|
class |
DefaultTreeCellEditor.EditorContainer
把
editingComponent 负责集装箱。
|
class |
DefaultTreeCellRenderer
显示一个在树中的条目。
|
Modifier and Type | Field and Description |
---|---|
protected Container |
DefaultTreeCellEditor.editingContainer
编辑容器,将包含
editorComponent 。
|
Modifier and Type | Method and Description |
---|---|
protected Container |
DefaultTreeCellEditor.createContainer()
创建容器管理安置
editingComponent 。
|
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.