All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class fr.l2f.gui.ToolTipPopup

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----fr.l2f.gui.ToolTipPopup

public class ToolTipPopup
extends Panel
A subclass of Panel which displays a yellow tool tip. Used by the ToolTipFrame and ToolTipPanel classes.


Variable Index

 o tip
The tip to display.

Constructor Index

 o ToolTipPopup()

Method Index

 o getTip()
Returns the tip to display.
 o paint(Graphics)
Paints the tip in the Panel's font on a yellow background.
 o setTip(String)
Sets the tip to display.

Variables

 o tip
 protected String tip
The tip to display.

Constructors

 o ToolTipPopup
 public ToolTipPopup()

Methods

 o getTip
 public String getTip()
Returns the tip to display.

 o setTip
 public void setTip(String tip)
Sets the tip to display.

Parameters:
tip - the tip to display
 o paint
 public void paint(Graphics g)
Paints the tip in the Panel's font on a yellow background.

Parameters:
g - the graphics
Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index