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 TypeMethodDescriptionvoidvoidprotected voidStops tracking all tab components.protected voidstopTrackTab(Component tabComponent) Stops tracking changes to a single tab component.protected voidTracks all existing tab component.protected voidTracks 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:
componentAddedin interfaceContainerListener- Overrides:
componentAddedin classContainerAdapter
-
componentRemoved
- Specified by:
componentRemovedin interfaceContainerListener- Overrides:
componentRemovedin classContainerAdapter
-