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.UIThreadTimelineCallbackAdapter
Repaints a single row during the fade animation cycle.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    Associated (animated) row index.
    protected JTable
    Associated table.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RowRepaintCallback(JTable table, int rowIndex)
    Creates a new animation repaint callback.
  • Method Summary

    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • table

      protected JTable table
      Associated table.
    • rowIndex

      protected int rowIndex
      Associated (animated) row index.
  • Constructor Details

    • RowRepaintCallback

      public RowRepaintCallback(JTable table, int rowIndex)
      Creates a new animation repaint callback.
      Parameters:
      table - Associated table.
      rowIndex - Associated (animated) row index.
  • Method Details

    • 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