protected class SubstanceTreeUI.PathRepaintCallback
extends org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JTree |
tree
Associated tree.
|
protected javax.swing.tree.TreePath |
treePath
Associated (animated) path.
|
Constructor and Description |
---|
PathRepaintCallback(javax.swing.JTree tree,
javax.swing.tree.TreePath treePath)
Creates a new animation repaint callback.
|
Modifier and Type | Method and 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 interface org.pushingpixels.trident.callback.TimelineCallback
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 interface org.pushingpixels.trident.callback.TimelineCallback
onTimelineStateChanged
in class org.pushingpixels.trident.callback.TimelineCallbackAdapter