Class SubstanceTableUI.RowRepaintCallback
- java.lang.Object
-
- org.pushingpixels.trident.callback.TimelineCallbackAdapter
-
- org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
-
- org.pushingpixels.substance.internal.ui.SubstanceTableUI.RowRepaintCallback
-
- All Implemented Interfaces:
org.pushingpixels.trident.callback.TimelineCallback
- Enclosing class:
- SubstanceTableUI
protected class SubstanceTableUI.RowRepaintCallback extends org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapterRepaints a single row during the fade animation cycle.
-
-
Constructor Summary
Constructors Constructor Description RowRepaintCallback(JTable table, int rowIndex)Creates a new animation repaint callback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonTimelinePulse(float durationFraction, float timelinePosition)voidonTimelineStateChanged(org.pushingpixels.trident.Timeline.TimelineState oldState, org.pushingpixels.trident.Timeline.TimelineState newState, float durationFraction, float timelinePosition)
-
-
-
Field Detail
-
table
protected JTable table
Associated table.
-
rowIndex
protected int rowIndex
Associated (animated) row index.
-
-
Constructor Detail
-
RowRepaintCallback
public RowRepaintCallback(JTable table, int rowIndex)
Creates a new animation repaint callback.- Parameters:
table- Associated table.rowIndex- Associated (animated) row index.
-
-
Method Detail
-
onTimelinePulse
public void onTimelinePulse(float durationFraction, float timelinePosition)- Specified by:
onTimelinePulsein interfaceorg.pushingpixels.trident.callback.TimelineCallback- Overrides:
onTimelinePulsein classorg.pushingpixels.trident.callback.TimelineCallbackAdapter
-
onTimelineStateChanged
public void onTimelineStateChanged(org.pushingpixels.trident.Timeline.TimelineState oldState, org.pushingpixels.trident.Timeline.TimelineState newState, float durationFraction, float timelinePosition)- Specified by:
onTimelineStateChangedin interfaceorg.pushingpixels.trident.callback.TimelineCallback- Overrides:
onTimelineStateChangedin classorg.pushingpixels.trident.callback.TimelineCallbackAdapter
-
-