Package docking.util
Interface SwingAnimationCallback
-
public interface SwingAnimationCallback
A simple interface that allows implementing clients to get called back from the animation framework. The callbacks can be used to perform swing work.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
done()
Called when the entire animation cycle is done.void
progress(double percentComplete)
Called over the course of an animation cycle.
-
-
-
Method Detail
-
progress
void progress(double percentComplete)
Called over the course of an animation cycle.- Parameters:
percentComplete
- a value (from 0 to 1.0) that indicates the percentage of the animation cycle that has completed.
-
done
void done()
Called when the entire animation cycle is done. This allows clients to perform any finalization work.
-
-