public final class FadingUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fadeInBalloon(BalloonTip balloon,
ActionListener onStop,
int time,
int refreshRate)
Execute a fade-in effect on a balloon tip
|
static void |
fadeOutBalloon(BalloonTip balloon,
ActionListener onStop,
int time,
int refreshRate)
Execute a fade-in effect on a balloon tip
|
public static void fadeInBalloon(BalloonTip balloon, ActionListener onStop, int time, int refreshRate)
balloon - the balloon tiponStop - this action listener is triggered once the effect has stopped (may be null)time - the duration of the fade-in effect (in ms)refreshRate - at how many frames-per-second should the effect runpublic static void fadeOutBalloon(BalloonTip balloon, ActionListener onStop, int time, int refreshRate)
balloon - the balloon tiponStop - this action listener is triggered once the effect has stopped (may be null)time - the duration of the fade-out effect (in ms)refreshRate - at how many frames-per-second should the effect run