|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--dog.gui.TooltipManager
The tooltip manager.
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Method Summary | |
static long |
getDelay()
Returns the delay between the mouse entering a component and its tooltip being shown, in milliseconds. |
static boolean |
isEnabled()
Indicates whether tooltips are enabled or disabled. |
void |
run()
Waits for delay milliseconds and then shows the tooltip. |
static void |
setComponent(DComponent component,
java.awt.Point point)
Sets the component for which a tooltip should be displayed. |
static void |
setComponent(DContainer component,
java.awt.Point point)
Sets the component for which a tooltip should be displayed. |
static void |
setDelay(long ms)
Sets the delay between the mouse entering a component and its tooltip being shown. |
static void |
setEnabled(boolean flag)
Enables or disables tooltips. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static boolean isEnabled()
setEnabled(boolean)public static void setEnabled(boolean flag)
flag - true if tooltips are to be displayed, false otherwise.isEnabled()public static long getDelay()
setDelay(long)public static void setDelay(long ms)
ms - the delay in millisecondsgetDelay()
public static void setComponent(DComponent component,
java.awt.Point point)
public static void setComponent(DContainer component,
java.awt.Point point)
public void run()
run in class java.lang.Thread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||