All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.InfoTipManager

java.lang.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.


Constructor Index

 o InfoTipManager()

Method Index

 o draw(int, int, String, FontMetrics, Color, Color)
Draws the InfoTip in the InfoTip panel.
 o getInfoTipPanel()
Creates a new panel for the InfoTip as needed, and then returns it.

Constructors

 o InfoTipManager
  public InfoTipManager()

Methods

 o getInfoTipPanel
  public static 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
 o 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

All Packages  Class Hierarchy  This Package  Previous  Next  Index