All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.JToolTip
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.swing.JComponent
|
+----java.awt.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
JToolTip()
-
getAccessibleDescription()
- Get the accessible description of this object.
getAccessibleRole()
- Get the role of this object.
getComponent()
-
getTipText()
-
getUI()
-
getUIClassID()
-
setComponent(JComponent)
-
setTipText(String)
-
updateUI()
- Called to replace the UI with the latest version from the
default UIFactory.
JToolTip
public JToolTip()
getUI
public ToolTipUI getUI()
updateUI
public void updateUI()
- Called to replace the UI with the latest version from the
default UIFactory.
- Overrides:
- updateUI in class JComponent
getUIClassID
public String getUIClassID()
- Returns:
- "ToolTipUI"
- Overrides:
- getUIClassID in class JComponent
- See Also:
- getUIClassID, getUI
setTipText
public void setTipText(String tipText)
getTipText
public String getTipText()
setComponent
public void setComponent(JComponent c)
- See Also:
- createToolTip
getComponent
public JComponent getComponent()
- Returns:
- the component which the tooltip describes
- See Also:
- createToolTip
getAccessibleDescription
public String getAccessibleDescription()
- Get the accessible description of this object.
- Returns:
- a localized String describing this object.
- Overrides:
- getAccessibleDescription in class JComponent
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
Submit a bug or feature