Container.AccessibleAWTContainer.AccessibleContainerHandler (Java Platform SE 8 ) (original) (raw)
- java.awt.Container.AccessibleAWTContainer.AccessibleContainerHandler
All Implemented Interfaces:
ContainerListener, EventListener
Enclosing class:
Container.AccessibleAWTContainer
protected class Container.AccessibleAWTContainer.AccessibleContainerHandler
extends Object
implements ContainerListener
Fire PropertyChange
listener, if one is registered, when children are added or removed.
Since:
1.3
Constructor Summary
Constructors
Modifier Constructor Description protected AccessibleContainerHandler() Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type Method Description void componentAdded(ContainerEvent e) Invoked when a component has been added to the container. void componentRemoved(ContainerEvent e) Invoked when a component has been removed from the container. * ### Methods inherited from class java.lang.[Object](../../java/lang/Object.html "class in java.lang") `[clone](../../java/lang/Object.html#clone--), [equals](../../java/lang/Object.html#equals-java.lang.Object-), [finalize](../../java/lang/Object.html#finalize--), [getClass](../../java/lang/Object.html#getClass--), [hashCode](../../java/lang/Object.html#hashCode--), [notify](../../java/lang/Object.html#notify--), [notifyAll](../../java/lang/Object.html#notifyAll--), [toString](../../java/lang/Object.html#toString--), [wait](../../java/lang/Object.html#wait--), [wait](../../java/lang/Object.html#wait-long-), [wait](../../java/lang/Object.html#wait-long-int-)`
Constructor Detail
* #### AccessibleContainerHandler protected AccessibleContainerHandler()
Method Detail
* #### componentAdded public void componentAdded([ContainerEvent](../../java/awt/event/ContainerEvent.html "class in java.awt.event") e) Invoked when a component has been added to the container. Specified by: `[componentAdded](../../java/awt/event/ContainerListener.html#componentAdded-java.awt.event.ContainerEvent-)` in interface `[ContainerListener](../../java/awt/event/ContainerListener.html "interface in java.awt.event")` * #### componentRemoved public void componentRemoved([ContainerEvent](../../java/awt/event/ContainerEvent.html "class in java.awt.event") e) Invoked when a component has been removed from the container. Specified by: `[componentRemoved](../../java/awt/event/ContainerListener.html#componentRemoved-java.awt.event.ContainerEvent-)` in interface `[ContainerListener](../../java/awt/event/ContainerListener.html "interface in java.awt.event")`
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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.