java.lang.Object
javax.swing.plaf.basic.BasicToolBarUI.ToolBarContListener
- All Implemented Interfaces:
ContainerListener
,EventListener
- Direct Known Subclasses:
MetalToolBarUI.MetalContainerListener
- Enclosing class:
BasicToolBarUI
The class listens for component events.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when a component has been added to the container.void
Invoked when a component has been removed from the container.
-
Constructor Details
-
ToolBarContListener
protected ToolBarContListener()Constructs aToolBarContListener
.
-
-
Method Details
-
componentAdded
Description copied from interface:ContainerListener
Invoked when a component has been added to the container.- Specified by:
componentAdded
in interfaceContainerListener
- Parameters:
e
- the event to be processed
-
componentRemoved
Description copied from interface:ContainerListener
Invoked when a component has been removed from the container.- Specified by:
componentRemoved
in interfaceContainerListener
- Parameters:
e
- the event to be processed
-