API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. ToolTipManager View Source
Author(s)
Dave Moore
Rich Schiavi
Since
Version
1.74 05/12/06
Serial
Hierarchy
 Object
      MouseAdapter
          ToolTipManager
Implements
 MouseMotionListener
Subclasses
Description
public class ToolTipManager
  Manages all the ToolTips in the system.
Constructors
pack-private ToolTipManager ()
Methods
Hide/Show inherited methods
pack-privatestatic Frame frameForComponent (Component component)
public int getDismissDelay ()
  Returns the dismissal delay value.
public int getInitialDelay ()
  Returns the initial delay value.
public int getReshowDelay ()
  Returns the reshow delay property.
pack-private void hideTipWindow ()
public boolean isEnabled ()
  Returns true if this object is enabled.
public boolean isLightWeightPopupEnabled ()
  Returns true if lightweight (all-Java) Tooltips are in use, or false if heavyweight (native peer) Tooltips are being used.
public void mouseClicked (MouseEvent e) [Inherited From MouseAdapter]
Invoked when the mouse button has been clicked (pressed and released) on a component.
public void mouseDragged (MouseEvent event) [Overrides MouseAdapter] [Specified in MouseMotionListener]
  Called when the mouse is pressed and dragged.
public void mouseEntered (MouseEvent event) [Overrides MouseAdapter]
  Called when the mouse enters the region of a component.
public void mouseExited (MouseEvent event) [Overrides MouseAdapter]
  Called when the mouse exits the region of a component.
public void mouseMoved (MouseEvent event) [Overrides MouseAdapter] [Specified in MouseMotionListener]
  Called when the mouse is moved.
public void mousePressed (MouseEvent event) [Overrides MouseAdapter]
  Called when the mouse is pressed.
public void mouseReleased (MouseEvent e) [Inherited From MouseAdapter]
Invoked when a mouse button has been released on a component.
public void mouseWheelMoved (MouseWheelEvent e) [Inherited From MouseAdapter]
  Invoked when the mouse wheel is rotated.
public void registerComponent (JComponent component)
  Registers a component for tooltip management.
public void setDismissDelay (int milliseconds)
  Specifies the dismissal delay value.
public void setEnabled (boolean flag)
  Enables or disables the tooltip.
public void setInitialDelay (int milliseconds)
  Specifies the initial delay value.
public void setLightWeightPopupEnabled (boolean aFlag)
  When displaying the JToolTip, the ToolTipManager chooses to use a lightweight JPanel if it fits.
public void setReshowDelay (int milliseconds)
  Used to specify the amount of time before the user has to wait initialDelay milliseconds before a tooltip will be shown.
publicstatic ToolTipManager sharedInstance ()
  Returns a shared ToolTipManager instance.
pack-private void showTipWindow ()
public void unregisterComponent (JComponent component)
  Removes a component from tooltip control.
Fields
Hide/Show inherited fields
pack-private boolean enabled
pack-private Timer enterTimer
pack-private Timer exitTimer
protected boolean heavyWeightPopupEnabled
pack-private JComponent insideComponent
pack-private Timer insideTimer
protected boolean lightWeightPopupEnabled
pack-private MouseEvent mouseEvent
pack-private Point preferredLocation
pack-privatefinalstatic ToolTipManager sharedInstance
pack-private boolean showImmediately
pack-private JToolTip tip
pack-privatetransient Popup tipWindow
pack-private String toolTipText
Nested Classes
  ToolTipManager.insideTimerAction
  ToolTipManager.outsideTimerAction
  ToolTipManager.stillInsideTimerAction
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar