Class SubstanceTabbedPaneUI.TabbedContainerListener
- java.lang.Object
-
- java.awt.event.ContainerAdapter
-
- org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.TabbedContainerListener
-
- All Implemented Interfaces:
ContainerListener,EventListener
- Enclosing class:
- SubstanceTabbedPaneUI
protected final class SubstanceTabbedPaneUI.TabbedContainerListener extends ContainerAdapter
Tracks changes to the tabbed pane contents. Each tab component is tracked for changes on theSubstanceLookAndFeel.WINDOW_MODIFIEDproperty.
-
-
Constructor Summary
Constructors Constructor Description TabbedContainerListener()Creates a new container listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomponentAdded(ContainerEvent e)voidcomponentRemoved(ContainerEvent e)protected voidstopTrackExistingTabs()Stops tracking all tab components.protected voidstopTrackTab(Component tabComponent)Stops tracking changes to a single tab component.protected voidtrackExistingTabs()Tracks all existing tab component.protected voidtrackTab(Component tabComponent)Tracks changes in a single tab component.
-
-
-
Method Detail
-
trackExistingTabs
protected void trackExistingTabs()
Tracks all existing tab component.
-
trackTab
protected void trackTab(Component tabComponent)
Tracks changes in a single tab component.- Parameters:
tabComponent- Tab component.
-
stopTrackTab
protected void stopTrackTab(Component tabComponent)
Stops tracking changes to a single tab component.- Parameters:
tabComponent- Tab component.
-
stopTrackExistingTabs
protected void stopTrackExistingTabs()
Stops tracking all tab components.
-
componentAdded
public void componentAdded(ContainerEvent e)
- Specified by:
componentAddedin interfaceContainerListener- Overrides:
componentAddedin classContainerAdapter
-
componentRemoved
public void componentRemoved(ContainerEvent e)
- Specified by:
componentRemovedin interfaceContainerListener- Overrides:
componentRemovedin classContainerAdapter
-
-