Class SubstanceListUI.CellRepaintCallback

java.lang.Object
org.pushingpixels.trident.callback.TimelineCallbackAdapter
org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
org.pushingpixels.substance.internal.ui.SubstanceListUI.CellRepaintCallback
All Implemented Interfaces:
org.pushingpixels.trident.callback.TimelineCallback
Enclosing class:
SubstanceListUI

protected class SubstanceListUI.CellRepaintCallback extends org.pushingpixels.trident.callback.UIThreadTimelineCallbackAdapter
Repaints a single cell during the fade animation cycle.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    Associated (animated) cell index.
    protected JList
    Associated list.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CellRepaintCallback(JList list, int cellIndex)
    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

    • list

      protected JList list
      Associated list.
    • cellIndex

      protected int cellIndex
      Associated (animated) cell index.
  • Constructor Details

    • CellRepaintCallback

      public CellRepaintCallback(JList list, int cellIndex)
      Creates a new animation repaint callback.
      Parameters:
      list - Associated list.
      cellIndex - Associated (animated) cell index.
  • Method Details

    • 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
    • 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