javax.swing.plaf.basic

Class BasicToolBarUI.ToolBarContListener

protected class BasicToolBarUI.ToolBarContListener extends Object implements ContainerListener

This helper class listens for components added to and removed from the JToolBar.
Method Summary
voidcomponentAdded(ContainerEvent e)
This method is responsible for setting rollover or non rollover for new buttons added to the JToolBar.
voidcomponentRemoved(ContainerEvent e)
This method is responsible for giving the child components their original borders when they are removed.

Method Detail

componentAdded

public void componentAdded(ContainerEvent e)
This method is responsible for setting rollover or non rollover for new buttons added to the JToolBar.

Parameters: e The ContainerEvent.

componentRemoved

public void componentRemoved(ContainerEvent e)
This method is responsible for giving the child components their original borders when they are removed.

Parameters: e The ContainerEvent.