All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.JToolTip

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JToolTip

public class JToolTip
extends JComponent
implements Accessible
Used to display a "Tip" for a Component. Typically components provide api to automate the process of using ToolTips.

See Also:
setToolTipText, createToolTip

Constructor Index

 o JToolTip()

Method Index

 o getAccessibleDescription()
Get the accessible description of this object.
 o getAccessibleRole()
Get the role of this object.
 o getTipText()
 o getUI()
 o getUIClassID()
 o setTipText(String)
 o updateUI()
Called to replace the UI with the latest version from the default UIFactory.

Constructors

 o JToolTip
 public JToolTip()

Methods

 o getUI
 public ToolTipUI getUI()
 o updateUI
 public void updateUI()
Called to replace the UI with the latest version from the default UIFactory.

Overrides:
updateUI in class JComponent
 o getUIClassID
 public String getUIClassID()
Returns:
"ToolTipUI"
Overrides:
getUIClassID in class JComponent
See Also:
getUIClassID, getUI
 o setTipText
 public void setTipText(String tipText)
 o getTipText
 public String getTipText()
 o getAccessibleDescription
 public String getAccessibleDescription()
Get the accessible description of this object.

Returns:
a localized String describing this object.
Overrides:
getAccessibleDescription in class JComponent
 o getAccessibleRole
 public AccessibleRole getAccessibleRole()
Get the role of this object.

Returns:
an instance of AccessibleRole describing the role of the object
Overrides:
getAccessibleRole in class JComponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index