net.java.balloontip.utils
Class TimingUtils

java.lang.Object
  extended by net.java.balloontip.utils.TimingUtils

public final class TimingUtils
extends java.lang.Object

This class provides balloon tips that can time out

Author:
Tim

Method Summary
static void showTimedBalloon(BalloonTip balloon, int time)
          Displays a balloon tip for a certain time, then close it.
static void showTimedBalloon(BalloonTip balloon, int time, java.awt.event.ActionListener onTimeout)
          Displays a balloon tip for a certain time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showTimedBalloon

public static void showTimedBalloon(BalloonTip balloon,
                                    int time)
Displays a balloon tip for a certain time, then close it.

Parameters:
balloon - the BalloonTip
time - show the balloon for this amount of milliseconds

showTimedBalloon

public static void showTimedBalloon(BalloonTip balloon,
                                    int time,
                                    java.awt.event.ActionListener onTimeout)
Displays a balloon tip for a certain time

Parameters:
balloon - the BalloonTip
time - show the balloon for this amount of milliseconds
onTimeout - this action is taken when time runs out


http://balloontip.java.net/