public class BasicToolTipUI extends javax.swing.plaf.ToolTipUI
| Constructor and Description |
|---|
BasicToolTipUI()
Creates a new BasicToolTipUI object.
|
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
This method creates a new BasicToolTip UI for the given
JComponent.
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
This method returns the msximum size of the given JComponent.
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
This method returns the minimum size of the given JComponent.
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
This method returns the preferred size of the given JComponent.
|
protected void |
installDefaults(javax.swing.JComponent c)
This method installs the defaults for the given JComponent.
|
protected void |
installListeners(javax.swing.JComponent c)
This method installs the listeners for the given JComponent.
|
void |
installUI(javax.swing.JComponent c)
This method installs the UI for the given JComponent.
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
This method paints the given JComponent with the given Graphics object.
|
protected void |
uninstallDefaults(javax.swing.JComponent c)
This method uninstalls the defaults for the given JComponent.
|
protected void |
uninstallListeners(javax.swing.JComponent c)
This method uninstalls listeners for the given JComponent.
|
void |
uninstallUI(javax.swing.JComponent c)
This method uninstalls the UI for the given JComponent.
|
public BasicToolTipUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - The JComponent to create a UI for.public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize in class javax.swing.plaf.ComponentUIc - The JComponent to find a maximum size for.public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class javax.swing.plaf.ComponentUIc - The JComponent to find a minimum size for.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class javax.swing.plaf.ComponentUIc - The JComponent to find a preferred size for.protected void installDefaults(javax.swing.JComponent c)
c - The JComponent to install defaults for.protected void installListeners(javax.swing.JComponent c)
c - The JComponent to install listeners for.public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.ComponentUIc - The JComponent to install the UI for.ComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIg - The Graphics object to paint with.c - The JComponent to paint.protected void uninstallDefaults(javax.swing.JComponent c)
c - The JComponent to uninstall defaults for.protected void uninstallListeners(javax.swing.JComponent c)
c - The JComponent to uninstall listeners for.public void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.ComponentUIc - The JComponent to uninstall.ComponentUI.installUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()