protected class Container.AccessibleAWTContainer.AccessibleContainerHandler extends Object implements ContainerListener
PropertyChange
听众,如果一个人注册,当孩子被添加或删除。
Modifier | Constructor and Description |
---|---|
protected |
AccessibleContainerHandler() |
Modifier and Type | Method and Description |
---|---|
void |
componentAdded(ContainerEvent e)
当组件已添加到容器时调用。
|
void |
componentRemoved(ContainerEvent e)
当组件从容器中删除时调用。
|
public void componentAdded(ContainerEvent e)
ContainerListener
复制
componentAdded
在界面
ContainerListener
public void componentRemoved(ContainerEvent e)
ContainerListener
复制
componentRemoved
在界面
ContainerListener
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.