|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.balloontip.utils.FadingUtils
public final class FadingUtils
A utility class for adding simple linear fade-in/out effects to balloon tips
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 stoppedtime - the duration of the fade-in effect (in ms)refreshRate - at how many frames-per-second should the effect run
public static void fadeOutBalloon(BalloonTip balloon,
ActionListener onStop,
int time,
int refreshRate)
balloon - the balloon tiponStop - this action listener is triggered once the effect has stoppedtime - the duration of the fade-out effect (in ms)refreshRate - at how many frames-per-second should the effect run
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||