protected class SubstanceTreeUI.PathRepaintCallback
extends org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
Modifier and Type | Field | Description |
---|---|---|
protected javax.swing.JTree |
tree |
Associated tree.
|
protected javax.swing.tree.TreePath |
treePath |
Associated (animated) path.
|
Constructor | Description |
---|---|
PathRepaintCallback(javax.swing.JTree tree,
javax.swing.tree.TreePath treePath) |
Creates a new animation repaint callback.
|
Modifier and Type | Method | Description |
---|---|---|
void |
onTimelinePulse(float durationFraction,
float timelinePosition) |
|
void |
onTimelineStateChanged(org.pushingpixels.trident.Timeline.TimelineState oldState,
org.pushingpixels.trident.Timeline.TimelineState newState,
float durationFraction,
float timelinePosition) |
protected javax.swing.JTree tree
protected javax.swing.tree.TreePath treePath
public PathRepaintCallback(javax.swing.JTree tree, javax.swing.tree.TreePath treePath)
tree
- Associated tree.treePath
- Associated (animated) path.public void onTimelinePulse(float durationFraction, float timelinePosition)
onTimelinePulse
in class org.pushingpixels.trident.callback.TimelineCallbackAdapter
public void onTimelineStateChanged(org.pushingpixels.trident.Timeline.TimelineState oldState, org.pushingpixels.trident.Timeline.TimelineState newState, float durationFraction, float timelinePosition)
onTimelineStateChanged
in class org.pushingpixels.trident.callback.TimelineCallbackAdapter