Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.sun.java.swing.ToolTipManager

java.lang.Object
  |
  +--java.awt.event.MouseAdapter
        |
        +--com.sun.java.swing.ToolTipManager

public class ToolTipManager
extends java.awt.event.MouseAdapter
implements java.awt.event.MouseMotionListener
Manages all the ToolTips in the system.

See Also:
createToolTip

Inner Class Summary
ToolTipManager.insideTimerAction
           
ToolTipManager.outsideTimerAction
           
ToolTipManager.stillInsideTimerAction
           
 
Field Summary
boolean lightWeightPopupEnabled
           
 
Method Summary
int getDismissDelay()
           
int getInitialDelay()
           
int getReshowDelay()
           
boolean isEnabled()
           
boolean isLightWeightPopupEnabled()
          Returns true if lightweight (all-Java) Tooltips are in use, or false if heavyweight (native peer) Tooltips are being used.
void mouseDragged(java.awt.event.MouseEvent event)
           
void mouseEntered(java.awt.event.MouseEvent event)
           
void mouseExited(java.awt.event.MouseEvent event)
           
void mouseMoved(java.awt.event.MouseEvent event)
           
void mousePressed(java.awt.event.MouseEvent event)
           
void registerComponent(JComponent component)
           
void setDismissDelay(int microSeconds)
           
void setEnabled(boolean flag)
           
void setInitialDelay(int microSeconds)
           
void setLightWeightPopupEnabled(boolean aFlag)
          When displaying the JToolTip, the ToolTipManager choose to use a light weight JPanel if it fits.
void setReshowDelay(int microSeconds)
           
static ToolTipManager sharedInstance()
           
void unregisterComponent(JComponent component)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

lightWeightPopupEnabled

protected boolean lightWeightPopupEnabled
Method Detail

setEnabled

public void setEnabled(boolean flag)

isEnabled

public boolean isEnabled()

setLightWeightPopupEnabled

public void setLightWeightPopupEnabled(boolean aFlag)
When displaying the JToolTip, the ToolTipManager choose to use a light weight JPanel if it fits. This method allows you to disable this feature. You have to do disable it if your application mixes light weight and heavy weights components.

isLightWeightPopupEnabled

public boolean isLightWeightPopupEnabled()
Returns true if lightweight (all-Java) Tooltips are in use, or false if heavyweight (native peer) Tooltips are being used.
Returns:
true if lightweight ToolTips are in use

setInitialDelay

public void setInitialDelay(int microSeconds)

getInitialDelay

public int getInitialDelay()

setDismissDelay

public void setDismissDelay(int microSeconds)

getDismissDelay

public int getDismissDelay()

setReshowDelay

public void setReshowDelay(int microSeconds)

getReshowDelay

public int getReshowDelay()

sharedInstance

public static ToolTipManager sharedInstance()

registerComponent

public void registerComponent(JComponent component)

unregisterComponent

public void unregisterComponent(JComponent component)

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent event)
Overrides:
mouseEntered in class java.awt.event.MouseAdapter

mouseExited

public void mouseExited(java.awt.event.MouseEvent event)
Overrides:
mouseExited in class java.awt.event.MouseAdapter

mousePressed

public void mousePressed(java.awt.event.MouseEvent event)
Overrides:
mousePressed in class java.awt.event.MouseAdapter

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent event)
Description copied from interface:
 
Specified by:
mouseDragged(java.awt.event.MouseEvent) in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent event)
Description copied from interface:
 
Specified by:
mouseMoved(java.awt.event.MouseEvent) in interface java.awt.event.MouseMotionListener

Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug or feature
Submit comments/suggestions about javadoc
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.