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_MODIFIED
property.
-
-
Constructor Summary
Constructors Constructor Description TabbedContainerListener()
Creates a new container listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
componentAdded(ContainerEvent e)
void
componentRemoved(ContainerEvent e)
protected void
stopTrackExistingTabs()
Stops tracking all tab components.protected void
stopTrackTab(Component tabComponent)
Stops tracking changes to a single tab component.protected void
trackExistingTabs()
Tracks all existing tab component.protected void
trackTab(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:
componentAdded
in interfaceContainerListener
- Overrides:
componentAdded
in classContainerAdapter
-
componentRemoved
public void componentRemoved(ContainerEvent e)
- Specified by:
componentRemoved
in interfaceContainerListener
- Overrides:
componentRemoved
in classContainerAdapter
-
-