软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
Modifier and Type | Method and Description |
---|---|
void |
Container.AccessibleAWTContainer.AccessibleContainerHandler.componentAdded(ContainerEvent e) |
void |
AWTEventMulticaster.componentAdded(ContainerEvent e)
处理事件componentadded容器通过调用componentadded方法对listener-a和listener-b.
|
void |
Container.AccessibleAWTContainer.AccessibleContainerHandler.componentRemoved(ContainerEvent e) |
void |
AWTEventMulticaster.componentRemoved(ContainerEvent e)
处理事件componentremoved容器通过调用componentremoved方法对listener-a和listener-b.
|
protected void |
Container.processContainerEvent(ContainerEvent e)
工艺容器的事件发生在该容器的分派他们到任何注册containerlistener对象。
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerListener.componentAdded(ContainerEvent e)
当一个组件被添加到容器中时调用。
|
void |
ContainerAdapter.componentAdded(ContainerEvent e)
当一个组件被添加到容器中时调用。
|
void |
ContainerListener.componentRemoved(ContainerEvent e)
当组件已从容器中删除时调用。
|
void |
ContainerAdapter.componentRemoved(ContainerEvent e)
当组件已从容器中删除时调用。
|
Modifier and Type | Method and Description |
---|---|
void |
JComponent.AccessibleJComponent.AccessibleContainerHandler.componentAdded(ContainerEvent e) |
void |
JComponent.AccessibleJComponent.AccessibleContainerHandler.componentRemoved(ContainerEvent e) |
Modifier and Type | Method and Description |
---|---|
void |
BasicToolBarUI.ToolBarContListener.componentAdded(ContainerEvent e) |
void |
BasicToolBarUI.ToolBarContListener.componentRemoved(ContainerEvent e) |
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.