Class symantec.itools.awt.InfoTipManager
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.InfoTipManager
Object
|
+----symantec.itools.awt.InfoTipManager
- public class InfoTipManager
- extends Object
This helper class draws InfoTips
An InfoTip is very small window that pops up to display a helpful
message regarding the component the mouse is over. It appears if
the mouse is held over the component for a short while.
- Version:
- 1.0
- Author:
- Symantec
-
symantec.itools.awt.InfoTipManager()
- Do not use, this is an all-static class.
-
draw(int, int, String, FontMetrics, Color, Color)
- Draws the InfoTip in the InfoTip panel.
-
getInfoTipPanel()
- Creates a new panel for the InfoTip as needed, and then returns it.
InfoTipManager
public InfoTipManager()
- Do not use, this is an all-static class.
draw
public static void draw(int x,
int y,
String s,
FontMetrics fm,
Color bc,
Color fc)
- Draws the InfoTip in the InfoTip panel.
- Parameters:
- x - location of the InfoTip, x coordinate
- y - location of the InfoTip, y coordinate
- s - text to display in the InfoTip
- fm - font used for InfoTip text
- bc - background color used for the InfoTip
- fc - foreground color used for the InfoTip
- See Also:
- getInfoTipPanel
getInfoTipPanel
public static java.awt.Panel getInfoTipPanel()
- Creates a new panel for the InfoTip as needed, and then returns it.
The InfoTip is drawn in this panel.
- Returns:
- a panel for the InfoTip
All Packages Class Hierarchy This Package Previous Next Index