|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.balloontip.utils.ToolTipUtils
public final class ToolTipUtils
This class allows you to use a balloon tip as a tooltip That is, the balloon tip will only show up for a certain amount of time while you hover over the attached component.
Method Summary | |
---|---|
static void |
balloonToToolTip(BalloonTip bT,
int initialDelay,
int showDelay)
Turns a balloon tip into a tooltip This is done by adding a mouse listener to the attached component. |
static void |
toolTipToBalloon(BalloonTip bT)
Turns a balloon tooltip back into a regular 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 balloonToToolTip(BalloonTip bT, int initialDelay, int showDelay)
bT
- the balloon tipinitialDelay
- in milliseconds, how long should you hover over the attached component before showing the tooltipshowDelay
- in milliseconds, how long should the tooltip stay visiblepublic static void toolTipToBalloon(BalloonTip bT)
bT
- the balloon tip
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |