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.TabRepaintCallback

    java.lang.Object
      org.jvnet.lafwidget.animation.FadeTrackerAdapter
          org.jvnet.lafwidget.animation.UIThreadFadeTrackerAdapter
              org.jvnet.substance.SubstanceTabbedPaneUI.TabRepaintCallback

All Implemented Interfaces:
  org.jvnet.lafwidget.animation.FadeTrackerCallback

Enclosing class:
  SubstanceTabbedPaneUI

    protected class SubstanceTabbedPaneUI.TabRepaintCallback

extends org.jvnet.lafwidget.animation.UIThreadFadeTrackerAdapter

Implementation of the fade tracker callback that repaints a single tab.

Author:
  Kirill Grouchnikov

Field Summary
`protected javax.swing.JTabbedPane` | `tabbedPane` The associated tabbed pane.
`protected int` | `tabIndex` The associated tab index.

Constructor Summary
`SubstanceTabbedPaneUI.TabRepaintCallback(javax.swing.JTabbedPane tabPane, int tabIndex)` Creates new tab repaint callback.

Method Summary
`void` | `fadeEnded(org.jvnet.lafwidget.animation.FadeKind fadeKind)`
`void` | `fadePerformed(org.jvnet.lafwidget.animation.FadeKind fadeKind, float fade)`
`void` | `fadeReversed(org.jvnet.lafwidget.animation.FadeKind fadeKind, boolean isFadingIn, float fadeCycle10)`
`protected void` | `repaintTab()` Repaints the relevant tab.

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

Field Detail

### tabbedPane

    protected javax.swing.JTabbedPane tabbedPane

  The associated tabbed pane.

### tabIndex

    protected int tabIndex

  The associated tab index.

Constructor Detail

### SubstanceTabbedPaneUI.TabRepaintCallback

    public SubstanceTabbedPaneUI.TabRepaintCallback(javax.swing.JTabbedPane tabPane,
                                                    int tabIndex)

  Creates new tab repaint callback.

  Parameters:
    `tabPane` - The associated tabbed pane.
    `tabIndex` - The associated tab index.

Method Detail

### fadePerformed

    public void fadePerformed(org.jvnet.lafwidget.animation.FadeKind fadeKind,
                              float fade)

  Specified by:
    `fadePerformed` in interface `org.jvnet.lafwidget.animation.FadeTrackerCallback`
  Overrides:
    `fadePerformed` in class `org.jvnet.lafwidget.animation.FadeTrackerAdapter`

### fadeEnded

    public void fadeEnded(org.jvnet.lafwidget.animation.FadeKind fadeKind)

  Specified by:
    `fadeEnded` in interface `org.jvnet.lafwidget.animation.FadeTrackerCallback`
  Overrides:
    `fadeEnded` in class `org.jvnet.lafwidget.animation.FadeTrackerAdapter`

### fadeReversed

    public void fadeReversed(org.jvnet.lafwidget.animation.FadeKind fadeKind,
                             boolean isFadingIn,
                             float fadeCycle10)

  Specified by:
    `fadeReversed` in interface `org.jvnet.lafwidget.animation.FadeTrackerCallback`
  Overrides:
    `fadeReversed` in class `org.jvnet.lafwidget.animation.FadeTrackerAdapter`

### repaintTab

    protected void repaintTab()

  Repaints the relevant tab.

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

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