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
Tracks changes to the tabbed pane contents. Each tab component is tracked
for changes on the
SubstanceLookAndFeel.WINDOW_MODIFIED
property.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected void
Stops tracking all tab components.protected void
stopTrackTab
(Component tabComponent) Stops tracking changes to a single tab component.protected void
Tracks all existing tab component.protected void
Tracks changes in a single tab component.
-
Constructor Details
-
TabbedContainerListener
public TabbedContainerListener()Creates a new container listener.
-
-
Method Details
-
trackExistingTabs
protected void trackExistingTabs()Tracks all existing tab component. -
trackTab
Tracks changes in a single tab component.- Parameters:
tabComponent
- Tab component.
-
stopTrackTab
Stops tracking changes to a single tab component.- Parameters:
tabComponent
- Tab component.
-
stopTrackExistingTabs
protected void stopTrackExistingTabs()Stops tracking all tab components. -
componentAdded
- Specified by:
componentAdded
in interfaceContainerListener
- Overrides:
componentAdded
in classContainerAdapter
-
componentRemoved
- Specified by:
componentRemoved
in interfaceContainerListener
- Overrides:
componentRemoved
in classContainerAdapter
-