W3cubDocs

/OpenJDK 21

Class BasicToolTipUI

Direct Known Subclasses:
MetalToolTipUI, SynthToolTipUI
public class BasicToolTipUI extends ToolTipUI
Standard tool tip L&F.

Constructor Summary

Constructor Description
BasicToolTipUI()
Constructs a new instance of BasicToolTipUI.

Method Summary

Modifier and Type Method Description
static ComponentUI createUI(JComponent c)
Returns the instance of BasicToolTipUI.
protected void installDefaults(JComponent c)
Installs default properties.
protected void installListeners(JComponent c)
Registers listeners.
protected void uninstallDefaults(JComponent c)
Uninstalls default properties.
protected void uninstallListeners(JComponent c)
Unregisters listeners.

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

BasicToolTipUI

public BasicToolTipUI()
Constructs a new instance of BasicToolTipUI.

Method Details

createUI

public static ComponentUI createUI(JComponent c)
Returns the instance of BasicToolTipUI.
Parameters:
c - a component
Returns:
the instance of BasicToolTipUI

installDefaults

protected void installDefaults(JComponent c)
Installs default properties.
Parameters:
c - a component

uninstallDefaults

protected void uninstallDefaults(JComponent c)
Uninstalls default properties.
Parameters:
c - a component

installListeners

protected void installListeners(JComponent c)
Registers listeners.
Parameters:
c - a component

uninstallListeners

protected void uninstallListeners(JComponent c)
Unregisters listeners.
Parameters:
c - a component

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/basic/BasicToolTipUI.html