javax.swing
Class JComponent.AccessibleJComponent.AccessibleContainerHandler

java.lang.Object
  extended by javax.swing.JComponent.AccessibleJComponent.AccessibleContainerHandler
All Implemented Interfaces:
ContainerListener, EventListener
Enclosing class:
JComponent.AccessibleJComponent

protected class JComponent.AccessibleJComponent.AccessibleContainerHandler
extends Object
implements ContainerListener

Receives notification if there are child components are added or removed from the JComponent and fires appropriate PropertyChangeEvents to interested listeners on the AccessibleJComponent.


Constructor Summary
protected JComponent.AccessibleJComponent.AccessibleContainerHandler()
          Creates a new AccessibleContainerHandler.
 
Method Summary
 void componentAdded(ContainerEvent event)
          Receives notification when a child component is added to the JComponent and fires a PropertyChangeEvent on listeners registered with the AccessibleJComponent with a property name of AccessibleContext.ACCESSIBLE_CHILD_PROPERTY.
 void componentRemoved(ContainerEvent event)
          Receives notification when a child component is removed from the JComponent and fires a PropertyChangeEvent on listeners registered with the AccessibleJComponent with a property name of AccessibleContext.ACCESSIBLE_CHILD_PROPERTY.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JComponent.AccessibleJComponent.AccessibleContainerHandler

protected JComponent.AccessibleJComponent.AccessibleContainerHandler()
Creates a new AccessibleContainerHandler.

Method Detail

componentAdded

public void componentAdded(ContainerEvent event)
Receives notification when a child component is added to the JComponent and fires a PropertyChangeEvent on listeners registered with the AccessibleJComponent with a property name of AccessibleContext.ACCESSIBLE_CHILD_PROPERTY.

Specified by:
componentAdded in interface ContainerListener
Parameters:
event - the container event

componentRemoved

public void componentRemoved(ContainerEvent event)
Receives notification when a child component is removed from the JComponent and fires a PropertyChangeEvent on listeners registered with the AccessibleJComponent with a property name of AccessibleContext.ACCESSIBLE_CHILD_PROPERTY.

Specified by:
componentRemoved in interface ContainerListener
Parameters:
event - the container event