Class SubstanceTableUI.RowRepaintCallback

  • All Implemented Interfaces:
    org.pushingpixels.trident.callback.TimelineCallback
    Enclosing class:
    SubstanceTableUI

    protected class SubstanceTableUI.RowRepaintCallback
    extends org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
    Repaints a single row during the fade animation cycle.
    • 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:
        onTimelinePulse in interface org.pushingpixels.trident.callback.TimelineCallback
        Overrides:
        onTimelinePulse in class org.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:
        onTimelineStateChanged in interface org.pushingpixels.trident.callback.TimelineCallback
        Overrides:
        onTimelineStateChanged in class org.pushingpixels.trident.callback.TimelineCallbackAdapter