Class BasicToolTipUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ToolTipUI
-
- javax.swing.plaf.basic.BasicToolTipUI
- Direct Known Subclasses:
-
MetalToolTipUI
,SynthToolTipUI
public class BasicToolTipUI extends ToolTipUI
Standard tool tip L&F.
Constructors
Constructor | Description |
---|---|
BasicToolTipUI() | Constructs a new instance of |
Methods
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI | createUI(JComponent c) | Returns the instance of |
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 javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
BasicToolTipUI
public BasicToolTipUI()
Constructs a new instance of BasicToolTipUI
.
Methods
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, 2020, 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/11/docs/api/java.desktop/javax/swing/plaf/basic/BasicToolTipUI.html