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 SubstanceTreeUI.PathRepaintCallback

    java.lang.Object
      org.jvnet.lafwidget.animation.FadeTrackerAdapter
          org.jvnet.lafwidget.animation.UIThreadFadeTrackerAdapter
              org.jvnet.substance.SubstanceTreeUI.PathRepaintCallback

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

Enclosing class:
  SubstanceTreeUI

    protected class SubstanceTreeUI.PathRepaintCallback

extends org.jvnet.lafwidget.animation.UIThreadFadeTrackerAdapter

Repaints a single path during the fade animation cycle.

Author:
  Kirill Grouchnikov

Field Summary
`protected javax.swing.JTree` | `tree` Associated tree.
`protected javax.swing.tree.TreePath` | `treePath` Associated (animated) path.

Constructor Summary
`SubstanceTreeUI.PathRepaintCallback(javax.swing.JTree tree, javax.swing.tree.TreePath treePath)` Creates a new animation 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)`

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

Field Detail

### tree

    protected javax.swing.JTree tree

  Associated tree.

### treePath

    protected javax.swing.tree.TreePath treePath

  Associated (animated) path.

Constructor Detail

### SubstanceTreeUI.PathRepaintCallback

    public SubstanceTreeUI.PathRepaintCallback(javax.swing.JTree tree,
                                               javax.swing.tree.TreePath treePath)

  Creates a new animation repaint callback.

  Parameters:
    `tree` - Associated tree.
    `treePath` - Associated (animated) path.

Method Detail

### 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`

### 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`

### 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`

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

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