Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance
Class SubstanceTabbedPaneUI.TabbedContainerListener

    java.lang.Object
      java.awt.event.ContainerAdapter
          org.jvnet.substance.SubstanceTabbedPaneUI.TabbedContainerListener

All Implemented Interfaces:
  java.awt.event.ContainerListener, java.util.EventListener

Enclosing class:
  SubstanceTabbedPaneUI

    protected final class SubstanceTabbedPaneUI.TabbedContainerListener

extends java.awt.event.ContainerAdapter

Tracks changes to the tabbed pane contents. Each tab component is tracked for changes on the `SubstanceLookAndFeel.WINDOW_MODIFIED` property.

Author:
  Kirill Grouchnikov

Constructor Summary
`SubstanceTabbedPaneUI.TabbedContainerListener()` Creates a new container listener.

Method Summary
`void` | `componentAdded(java.awt.event.ContainerEvent e)`
`void` | `componentRemoved(java.awt.event.ContainerEvent e)`
`protected void` | `stopTrackExistingTabs()` Stops tracking all tab components.
`protected void` | `stopTrackTab(java.awt.Component tabComponent)` Stops tracking changes to a single tab component.
`protected void` | `trackExistingTabs()` Tracks all existing tab component.
`protected void` | `trackTab(java.awt.Component tabComponent)` Tracks changes in a single tab component.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SubstanceTabbedPaneUI.TabbedContainerListener

    public SubstanceTabbedPaneUI.TabbedContainerListener()

  Creates a new container listener.

Method Detail

### trackExistingTabs

    protected void trackExistingTabs()

  Tracks all existing tab component.

### trackTab

    protected void trackTab(java.awt.Component tabComponent)

  Tracks changes in a single tab component.

  Parameters:
    `tabComponent` - Tab component.

### stopTrackTab

    protected void stopTrackTab(java.awt.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(java.awt.event.ContainerEvent e)

  Specified by:
    `componentAdded` in interface `java.awt.event.ContainerListener`
  Overrides:
    `componentAdded` in class `java.awt.event.ContainerAdapter`

### componentRemoved

    public void componentRemoved(java.awt.event.ContainerEvent e)

  Specified by:
    `componentRemoved` in interface `java.awt.event.ContainerListener`
  Overrides:
    `componentRemoved` in class `java.awt.event.ContainerAdapter`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD