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.
-
tip
- The tip to display.
-
ToolTipPopup()
-
-
getTip()
- Returns the tip to display.
-
paint(Graphics)
- Paints the tip in the Panel's font on a yellow background.
-
setTip(String)
- Sets the tip to display.
tip
protected String tip
- The tip to display.
ToolTipPopup
public ToolTipPopup()
getTip
public String getTip()
- Returns the tip to display.
setTip
public void setTip(String tip)
- Sets the tip to display.
- Parameters:
- tip - the tip to display
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